Skip to main content
Integrations · Langfuse
A Guild agent reads and writes Langfuse resources directly: datasets, prompts, evaluators, annotation queues, scores, models, LLM connections, and organization memberships. Guild stores the API key server-side and injects it into every request, so agent code never sees the credential. Credential policies and audit records apply to every call the agent makes.

Book a demo

See how teams govern agents that use Langfuse.

Talk to sales

Get access to Guild, then connect Langfuse to your first agent.

What the Langfuse integration exposes

The tools cover annotation queues, datasets and dataset items, prompts and prompt versions, evaluators and evaluation rules, scores and score configs, experiments, observations, metrics, models, LLM connections, media, blob storage integrations, SCIM user provisioning, and project and organization administration. Several tools, including blob storage, SCIM, and org-level operations, require an organization-scoped API key. Tools are prefixed with langfuse_ and the table on this page updates as new versions publish.

How it works

1

Open credentials in Guild

Go to Access & setup > Credentials in your Guild account or organization. The page lists connected credentials and shows a gallery of available integrations.
2

Connect the Langfuse credential

Click Connect, select langfuse, and paste your API key into the API Key field. Guild sends it as an Authorization: Basic header on every request.
3

Add the tools to your agent

Import LangfuseTools from the integration package and spread it into your agent’s tools object. Use pick() from the SDK tools reference to include only the tools your agent needs.

Why Langfuse access needs governing

Langfuse holds prompt versions, evaluation rules, scores, and organization memberships. An agent with an unconstrained credential can create or delete projects, rotate API keys, and modify org memberships. Guild’s credential proxy enforces credential policies before any request leaves Guild: ALLOW and DENY rules can restrict the agent to specific operations, and a DENY rule always wins over a matching ALLOW. Policies can be scoped to individual agents or workspaces, so one agent gets read-only access to datasets while another manages evaluators, all on the same connected credential. See credential policies for rule syntax. Guild stores the API key server-side and injects it only after the policy check passes. Agent code never sees the key. You can scope a credential to one workspace, one member, or a single agent using the options in credentials, so access does not spread further than intended.

About the Langfuse integration

Agents can create and manage datasets, prompts, evaluators, and annotation queues within a Langfuse project. They can query observations and metrics, configure LLM connections, and administer organization memberships and projects. Blob storage integrations, media uploads, and OpenTelemetry trace ingestion are also supported. The integration is guildai~langfuse.

Authentication

  • Type: API key
  • Header: Guild sends the key as Authorization: Basic <key>

Setup

1

Connect Langfuse

In Guild, go to Access & setup > Credentials, click Connect, select langfuse, and paste the key into API Key.
See Credentials for workspace, member, and agent-scoped credentials.

Usage

Selecting specific tools

Tools are named with the langfuse_ prefix. Use pick() to include only what your agent needs.

Tools

Tools in the latest published version of guildai~langfuse:

Frequently asked questions

Yes. Write DENY rules for mutating operations, or ALLOW only the specific read tools your agent needs. Guild’s credential proxy enforces these rules before any request reaches Langfuse. See credential policies for syntax.
Yes. Tools such as blob storage integrations, SCIM provisioning, and organization membership management state that they require an organization-scoped API key. A project-scoped key works for project-level tools only.
No. The catalog entry for this integration lists no webhook events, so event-driven triggers from Langfuse are not available.
Yes. From the installed agent’s detail page you can connect a credential dedicated to that agent alone. Guild stores it under the account that owns the workspace and never uses it for other agents. See credentials for the full scoping options.

Put a governed agent on Langfuse this week

Book a demo

See how teams govern agents that use Langfuse.

Talk to sales

Get access to Guild, then connect Langfuse to your first agent.
Also runs on Guild: AWS CloudWatch · Braintrust · Datadog · Google Logging Read: Docs: Credential policies · Credentials · Tools in agents
Last modified on November 25, 2026