# Your coding agents work all day. See what they actually did.

Claude Code has telemetry built in: point it at RunAgain with a few environment variables and every session becomes one trace, with prompts, tool calls, API requests, token usage and accurate cost. No code changes, no wrapper.

## The problem: Agent-written code, zero visibility

Teams run coding agents across every repo and then answer questions like what did it change, why did it stall, and what does it cost per engineer with a shrug. The most active developer on the team has no timesheet.

## How RunAgain does it

1. **Zero-code setup.** Claude Code emits OpenTelemetry log events natively. Set a handful of environment variables with your RunAgain key and every terminal session starts streaming, unchanged.
2. **Sessions become traces.** Each session groups into a single trace: API requests as generation spans with model and tokens, tool results and decisions as tool spans with failures marked, and prompts when you opt in.
3. **Cost you can bill against.** Cost comes from Claude Code's own cost figure, so per-session and per-engineer spend is accurate regardless of model mix, and it aggregates like any other trace column.
4. **The same loop applies.** Coding-agent traces get the same treatment as production agents: error classification, baselines for abnormal sessions, drift monitors on cost or tokens, and Slack alerts.

## FAQ

**Q: Do I need to modify Claude Code to trace it?**

A: No. Enable Claude Code's built-in telemetry and point the OTLP logs exporter at RunAgain's logs endpoint with your API key. Sessions appear as traces immediately.

**Q: Can I see what tools the agent used in a session?**

A: Yes. Tool results and tool decisions become tool spans inside the session's trace, with failures marked as errors, so a stalled session shows exactly where it stalled.

**Q: Does this work for other coding agents?**

A: Any agent that emits OpenTelemetry spans or gen_ai attributes can send to the same OTLP endpoint, and the sandbox proxy can capture outbound calls for agents with no instrumentation at all.

## Built on these solutions

- [Agent observability](https://runagain.ai/solutions/agent-observability.md)
- [Monitoring & alerting](https://runagain.ai/solutions/agent-monitoring-alerting.md)
- [Trace enrichment](https://runagain.ai/solutions/enrich-agent-traces.md)

Book a demo: https://cal.com/tamas-szuromi/30min · Get in touch: tamas@runagain.ai

---

Markdown mirror of https://runagain.ai/use-cases/tracing-coding-agents for agents and LLMs. Append .md to any runagain.ai page URL for its markdown twin. Overview: https://runagain.ai/llms.txt · For agents: https://runagain.ai/for-agents.md
