> For the complete documentation index, see [llms.txt](https://docs.zenml.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zenml.io/kitaru/adapters.md).

# Adapters

- [Overview](https://docs.zenml.io/kitaru/adapters/adapters.md): One wrapper, no rewrite. Adapters record your existing agent's runs as replayable sessions.
- [Record in production](https://docs.zenml.io/kitaru/adapters/record-in-production.md): Take an adapter-wrapped agent to production: register it, give the service its own credential, and know exactly what recording does to your request path.
- [Pydantic AI](https://docs.zenml.io/kitaru/adapters/pydantic-ai.md): Wrap any PydanticAI agent once with KitaruAgent. Every run records as a session, and the same wrapper executes replays.
- [LangGraph](https://docs.zenml.io/kitaru/adapters/langgraph.md): Record LangGraph, LangChain, and Deep Agents invocations with the kitaru-langgraph adapter package
- [OpenAI Agents SDK](https://docs.zenml.io/kitaru/adapters/openai-agents.md): Record and replay non-streaming OpenAI Agents SDK runs with the separately packaged Kitaru v2 adapter
- [Claude Agent SDK](https://docs.zenml.io/kitaru/adapters/claude-agent-sdk.md): Record one-shot Claude Agent SDK queries and rerun them with prompt, model, and SDK MCP tool overrides
- [Mastra](https://docs.zenml.io/kitaru/adapters/mastra.md): Record Mastra agent runs, import existing trace exports, and replay with recorded conversation context
- [Vercel AI SDK](https://docs.zenml.io/kitaru/adapters/vercel-ai.md): Record and replay AI SDK 7 ToolLoopAgent and generateText calls with the Kitaru Vercel AI SDK adapter.
- [Importer-backed adapters](https://docs.zenml.io/kitaru/adapters/importer-backed.md): Record runs of an agent that already reports to Langfuse, Braintrust, LangSmith, Logfire, or Arize Phoenix by importing each run's provider trace as a session
- [No adapter for your framework](https://docs.zenml.io/kitaru/adapters/custom.md): No adapter for your framework? Import the traces you already have, or generate a project-local adapter with the adapter-builder skill.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.zenml.io/kitaru/adapters.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
