DocsAgent Access

Agentic access to observability

AI agents can investigate production behavior directly in Langfuse. There are different ways for agents to access your data:

Choose an access method

Agent capabilitiesRecommended access
Can install tools and run shell commandsInstall the Langfuse Agent Skill. It teaches the agent Langfuse workflows and uses the Langfuse CLI to query and update project data.
Cannot install tools or run shell commandsConnect the Langfuse MCP server to expose Langfuse operations as tools.
Runs as part of a script or CI/CD pipelineUse the Langfuse CLI directly or call the Public API.

Example workflows

Ask your agent to:

  • Find observations with errors or high latency in a specific environment
  • Compare token usage, cost, or latency across models and releases
  • Inspect the input, output, metadata, and scores of a problematic observation
  • Add a comment or score to record the outcome of an investigation

Work across Langfuse

Agents can also manage prompts and run evaluation workflows in Langfuse.

Related guides and blog posts

Was this page helpful?

Last edited