Skip to main content

AccordKit Overview

AccordKit is an open tracing SDK for AI and agentic applications. It ships as a set of TypeScript packages that you can embed directly in your Node.js or browser code to capture prompts, tool calls, spans, and usage metrics.

Why AccordKit

  • Trace everything: Capture prompts, responses, tool invocations, spans, and usage in a normalized JSONL shape.
  • Drop-in adapters: Wrap the official OpenAI SDK without changing your application code.
  • Pluggable sinks: Send events to disk, memory, the browser, or your own ingestion endpoint.
  • Type-first: Strong TypeScript types across tracer, sinks, and adapter APIs.

How these docs are organized

  • Getting Started gets you instrumented in minutes.
  • Libraries explains the tracer, event model, sinks, and OpenAI adapter.
  • Examples points to runnable demos in the repository.
  • Reference lists the exported TypeScript APIs.

Jump straight to the Quickstart if you want to emit your first traces now.