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 withlangfuse_ 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 isguildai~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.
Usage
Selecting specific tools
Tools are named with thelangfuse_ prefix. Use pick() to include only what your agent needs.
Tools
Tools in the latest published version ofguildai~langfuse:
All 121 tools
All 121 tools
Frequently asked questions
Can I limit an agent to read-only Langfuse operations?
Can I limit an agent to read-only Langfuse operations?
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.
Do I need a different API key for org-level tools like SCIM or blob storage?
Do I need a different API key for org-level tools like SCIM or blob storage?
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.
Does the Langfuse integration support webhook triggers?
Does the Langfuse integration support webhook triggers?
No. The catalog entry for this integration lists no webhook events, so event-driven triggers from Langfuse are not available.
Can I give one agent its own Langfuse credential instead of sharing the organization credential?
Can I give one agent its own Langfuse credential instead of sharing the organization credential?
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.