kindred-tracing, instrument the real turn path, verify traces, and add replay when possible.
Use Langfuse if your team already has Langfuse tracing in production. Use OTel when you want a direct Kindred integration that a coding agent can add quickly.
Overview
You will:- Create a Kindred account.
- Create a
KINDRED_API_KEY. - Give your coding agent the Kindred skills prompt.
- Let the coding agent register and instrument your agent.
- Open Kindred to inspect traces, replay, and other features.
Step 1: Create a Kindred account
Sign in to Kindred or create an account in the Kindred web app.Step 2: Create an API key
In Kindred, open Settings → API Management and create or copy your API key. Make the key available in the shell where your coding agent can use it:npx kindred-cli. You do not need to install the CLI manually.
Step 3: Open your agent repo
Open the codebase that contains your AI agent in Codex, Cursor, Claude Code, or another coding agent. Then paste this prompt:Step 4: Let the coding agent work
The coding agent should do the rest:- Use
npx kindred-clior an installedkindredbinary. - Register your agent with
--trace-source otel. - Install
kindred-tracing. - Add
KINDRED_AGENT_IDandKINDRED_API_KEYto env docs. - Find the real agent turn entrypoint.
- Wrap one user turn in one root OpenTelemetry trace.
- Record LLM calls and tool calls as child spans.
- Run one real prompt.
- Verify the trace appears in Kindred.
- Add
POST /replayif your app has an HTTP server.
Step 5: Open Kindred
When the coding agent finishes, it should give you:- Agent ID
- Session ID
- Trace ID
- Replay result, if replay was configured
- Product links
- Use Replay to rerun a turn and compare behavior.
- Use Expectations to define behavior rules.
- Use Clustering to find recurring patterns once the agent has enough traces.
Quick check
Before you consider setup complete, confirm:- The agent is registered with trace source
otel. - A real prompt created a Kindred session.
- The session has at least one turn.
- The turn includes LLM generation spans, and tool spans if your agent uses tools.
- Replay is configured if your agent has a public
/replayendpoint.