Build agentsIntermediateDocs-checked, not yet hands-on tested
See what your agent is doing
Trace, debug and evaluate an agent in production.
Starter prompt
Add Langfuse tracing to every model call and tool call in this agent. Tag traces with user id and version. Then write an eval script that replays 20 saved traces and reports regressions.
Config
env
LANGFUSE_PUBLIC_KEY=
LANGFUSE_SECRET_KEY=
LANGFUSE_HOST=Setup steps
- Add keys.
- Instrument model and tool calls.
- Review failing traces weekly.
Why this works
You can't fix what you can't see; traces turn vague bug reports into concrete steps.
Watch out
Don't log personal data you don't need.
Quick answers
How much does this setup cost per month?
$0–$29/mo. Langfuse Hobby free (50k units/month), Core $29 (100k units). Open source and self-hostable.
Which tools does it use?
Langfuse. Model: Any.
What should I watch out for?
Don't log personal data you don't need.