checkrd

Framework Integrations

First-class adapters for the agent frameworks developers actually use.

Framework Integrations

Checkrd ships first-class adapters for every major agent framework. Each adapter targets the framework's canonical extension point — callback handlers, tracing processors, hooks, or transport subclasses — so policy enforcement plugs in idiomatically without monkey-patching.

Python

FrameworkExtension pointInstall
LangChain / LangGraphBaseCallbackHandlerpip install 'checkrd[langchain]'
OpenAI Agents SDKTracingProcessor + InputGuardrailpip install 'checkrd[openai-agents]'
Anthropic Claude Agent SDKPreToolUse / PostToolUse hookspip install 'checkrd[claude-agent-sdk]'
Model Context Protocol (MCP)ClientSession subclass + handler wrappip install 'checkrd[mcp]'

The Python SDK also ships transparent vendor instrumentors for OpenAI, Anthropic, Cohere, Mistral, Groq, Together, and Google GenAI. They sit at the HTTP transport layer and work alongside the framework adapters above without double-counting.

JavaScript / TypeScript

FrameworkExtension pointInstall
LangChain.jsBaseCallbackHandlernpm install checkrd @langchain/core
OpenAI Agents (TypeScript)TracingProcessor + InputGuardrail / OutputGuardrailnpm install checkrd @openai/agents
Claude Agent SDK (TypeScript)PreToolUse / PostToolUse hooks via attachToOptionsnpm install checkrd @anthropic-ai/claude-agent-sdk
Vercel AI SDKLanguageModelV2Middlewarenpm install checkrd ai
MastrawrapMastraAgent proxy + Telemetry providernpm install checkrd @mastra/core
Model Context Protocol (MCP)wrapMcpClient / wrapMcpServer proxiesnpm install checkrd @modelcontextprotocol/sdk
Next.jsApp Router and Pages Router middlewarenpm install checkrd
Honoapp.use(...) middlewarenpm install checkrd hono
Cloudflare WorkersEdge-runtime withCheckrd HOCnpm install checkrd

The JS SDK also ships vendor instrumentors for OpenAI, Anthropic, Cohere, Mistral, Groq, Together, and Google GenAI.

Why these specific extension points

Patching SDK internals (the "monkey-patch every vendor's HTTP client" approach) breaks on every minor release of every framework. Each adapter Checkrd ships uses the framework's explicitly documented public extension point — the contract the framework author committed to.

FrameworkEquivalent products that use this surface
LangChain callbacksLangfuse, Logfire, OpenLLMetry
OpenAI Agents tracingLangfuse, Logfire
Claude Agent hooksAnthropic-recommended pattern
MCP handler wrapStandard practice (no native middleware)

If a framework you use is not listed, open an issue — most adapters land in under 200 lines because the contract is small.