{
  "object": "list",
  "resource": "doc",
  "count": 34,
  "data": [
    {
      "object": "doc",
      "id": "index",
      "title": "Introduction",
      "description": "TokenJam is the cost-optimization layer for AI agents. Built-in analyzers including Downsize, Cache, Script, Reuse, Trim, and Subagent read your existing telemetry and surface where to cut spend, plus a full local-first observability stack underneath. Open-source, no signup, runs entirely on your machine.",
      "section": "getting-started",
      "order": 1,
      "url": "https://tokenjam.dev/docs",
      "markdown_url": "https://tokenjam.dev/docs.md",
      "api_url": "https://tokenjam.dev/api/v1/docs/index.json",
      "updated_at": null
    },
    {
      "object": "doc",
      "id": "quickstart",
      "title": "Quickstart",
      "description": "Peek in 15 seconds with no install, then pick the path that matches your agent, whether that's Claude Code, Codex, a Python SDK/API agent, or any OTel emitter.",
      "section": "getting-started",
      "order": 2,
      "url": "https://tokenjam.dev/docs/quickstart",
      "markdown_url": "https://tokenjam.dev/docs/quickstart.md",
      "api_url": "https://tokenjam.dev/api/v1/docs/quickstart.json",
      "updated_at": null
    },
    {
      "object": "doc",
      "id": "claude-code",
      "title": "Claude Code & Codex",
      "description": "Monitor every Claude Code and Codex session with two commands. No SDK, no code changes.",
      "section": "getting-started",
      "order": 3,
      "url": "https://tokenjam.dev/docs/claude-code",
      "markdown_url": "https://tokenjam.dev/docs/claude-code.md",
      "api_url": "https://tokenjam.dev/api/v1/docs/claude-code.json",
      "updated_at": null
    },
    {
      "object": "doc",
      "id": "install-upgrade",
      "title": "Install & upgrade",
      "description": "The full install matrix — pipx (recommended), pip in a venv, npx, and uvx — plus how to upgrade and verify.",
      "section": "getting-started",
      "order": 4,
      "url": "https://tokenjam.dev/docs/install-upgrade",
      "markdown_url": "https://tokenjam.dev/docs/install-upgrade.md",
      "api_url": "https://tokenjam.dev/api/v1/docs/install-upgrade.json",
      "updated_at": null
    },
    {
      "object": "doc",
      "id": "optimize-overview",
      "title": "Optimize: the analyzers",
      "description": "Analyzers read your real usage history, surface reviewable candidates, and never auto-apply.",
      "section": "optimize",
      "order": 1,
      "url": "https://tokenjam.dev/docs/optimize-overview",
      "markdown_url": "https://tokenjam.dev/docs/optimize-overview.md",
      "api_url": "https://tokenjam.dev/api/v1/docs/optimize-overview.json",
      "updated_at": null
    },
    {
      "object": "doc",
      "id": "optimize-downsize",
      "title": "Downsize",
      "description": "Flags sessions whose shape matches a class where a cheaper model is worth reviewing.",
      "section": "optimize",
      "order": 2,
      "url": "https://tokenjam.dev/docs/optimize-downsize",
      "markdown_url": "https://tokenjam.dev/docs/optimize-downsize.md",
      "api_url": "https://tokenjam.dev/api/v1/docs/optimize-downsize.json",
      "updated_at": null
    },
    {
      "object": "doc",
      "id": "optimize-cache",
      "title": "Cache",
      "description": "Measure how much of your input is served from cache, and where to place Anthropic breakpoints.",
      "section": "optimize",
      "order": 3,
      "url": "https://tokenjam.dev/docs/optimize-cache",
      "markdown_url": "https://tokenjam.dev/docs/optimize-cache.md",
      "api_url": "https://tokenjam.dev/api/v1/docs/optimize-cache.json",
      "updated_at": null
    },
    {
      "object": "doc",
      "id": "optimize-script",
      "title": "Script",
      "description": "Finds tool sequences that repeat identically across many runs and look like a deterministic script.",
      "section": "optimize",
      "order": 4,
      "url": "https://tokenjam.dev/docs/optimize-script",
      "markdown_url": "https://tokenjam.dev/docs/optimize-script.md",
      "api_url": "https://tokenjam.dev/api/v1/docs/optimize-script.json",
      "updated_at": null
    },
    {
      "object": "doc",
      "id": "optimize-reuse",
      "title": "Reuse",
      "description": "Detects sessions that re-plan the same work and exports reviewable skeleton templates.",
      "section": "optimize",
      "order": 5,
      "url": "https://tokenjam.dev/docs/optimize-reuse",
      "markdown_url": "https://tokenjam.dev/docs/optimize-reuse.md",
      "api_url": "https://tokenjam.dev/api/v1/docs/optimize-reuse.json",
      "updated_at": null
    },
    {
      "object": "doc",
      "id": "optimize-trim",
      "title": "Trim",
      "description": "Scores token-by-token significance in captured prompts and flags low-significance regions for review.",
      "section": "optimize",
      "order": 6,
      "url": "https://tokenjam.dev/docs/optimize-trim",
      "markdown_url": "https://tokenjam.dev/docs/optimize-trim.md",
      "api_url": "https://tokenjam.dev/api/v1/docs/optimize-trim.json",
      "updated_at": null
    },
    {
      "object": "doc",
      "id": "optimize-subagent",
      "title": "Subagent",
      "description": "Breaks a window's cost down per subagent and flags right-sizing candidates.",
      "section": "optimize",
      "order": 7,
      "url": "https://tokenjam.dev/docs/optimize-subagent",
      "markdown_url": "https://tokenjam.dev/docs/optimize-subagent.md",
      "api_url": "https://tokenjam.dev/api/v1/docs/optimize-subagent.json",
      "updated_at": null
    },
    {
      "object": "doc",
      "id": "optimize-summarize",
      "title": "Summarize",
      "description": "Structure-aware prompt summarization that keeps every structured block intact.",
      "section": "optimize",
      "order": 8,
      "url": "https://tokenjam.dev/docs/optimize-summarize",
      "markdown_url": "https://tokenjam.dev/docs/optimize-summarize.md",
      "api_url": "https://tokenjam.dev/api/v1/docs/optimize-summarize.json",
      "updated_at": null
    },
    {
      "object": "doc",
      "id": "optimize-cost-visibility",
      "title": "Cost visibility",
      "description": "The spend-facing commands — where your tokens went and what you reclaimed.",
      "section": "optimize",
      "order": 9,
      "url": "https://tokenjam.dev/docs/optimize-cost-visibility",
      "markdown_url": "https://tokenjam.dev/docs/optimize-cost-visibility.md",
      "api_url": "https://tokenjam.dev/api/v1/docs/optimize-cost-visibility.json",
      "updated_at": null
    },
    {
      "object": "doc",
      "id": "python-sdk",
      "title": "Python SDK",
      "description": "Instrument any Python agent with provider patches, framework patches, and the @watch decorator.",
      "section": "sdks",
      "order": 1,
      "url": "https://tokenjam.dev/docs/python-sdk",
      "markdown_url": "https://tokenjam.dev/docs/python-sdk.md",
      "api_url": "https://tokenjam.dev/api/v1/docs/python-sdk.json",
      "updated_at": null
    },
    {
      "object": "doc",
      "id": "typescript-sdk",
      "title": "TypeScript SDK",
      "description": "Send spans from Node.js / TypeScript agents to a local tj serve over HTTP.",
      "section": "sdks",
      "order": 2,
      "url": "https://tokenjam.dev/docs/typescript-sdk",
      "markdown_url": "https://tokenjam.dev/docs/typescript-sdk.md",
      "api_url": "https://tokenjam.dev/api/v1/docs/typescript-sdk.json",
      "updated_at": null
    },
    {
      "object": "doc",
      "id": "mcp-server",
      "title": "MCP Server",
      "description": "23 tools for querying cost, alerts, traces, drift, policy, and prompt summarization from inside an agent's own loop.",
      "section": "sdks",
      "order": 3,
      "url": "https://tokenjam.dev/docs/mcp-server",
      "markdown_url": "https://tokenjam.dev/docs/mcp-server.md",
      "api_url": "https://tokenjam.dev/api/v1/docs/mcp-server.json",
      "updated_at": null
    },
    {
      "object": "doc",
      "id": "cli",
      "title": "CLI reference",
      "description": "Every user-facing tj command — getting started, the cost-optimization analyzers, prompt summarization, observability, backfill adapters, config and ops, and integration entrypoints.",
      "section": "cli-and-ui",
      "order": 1,
      "url": "https://tokenjam.dev/docs/cli",
      "markdown_url": "https://tokenjam.dev/docs/cli.md",
      "api_url": "https://tokenjam.dev/api/v1/docs/cli.json",
      "updated_at": null
    },
    {
      "object": "doc",
      "id": "web-ui",
      "title": "Web UI",
      "description": "TokenJam Lens — a local dashboard at http://127.0.0.1:7391 with the Dashboard triage view, plus Status, Traces, Cost, Analytics, Alerts, Drift, Optimize, and Budget.",
      "section": "cli-and-ui",
      "order": 2,
      "url": "https://tokenjam.dev/docs/web-ui",
      "markdown_url": "https://tokenjam.dev/docs/web-ui.md",
      "api_url": "https://tokenjam.dev/api/v1/docs/web-ui.json",
      "updated_at": null
    },
    {
      "object": "doc",
      "id": "configuration",
      "title": "Configuration",
      "description": "Config file format, agent overrides, capture settings, storage, and merge rules.",
      "section": "cli-and-ui",
      "order": 3,
      "url": "https://tokenjam.dev/docs/configuration",
      "markdown_url": "https://tokenjam.dev/docs/configuration.md",
      "api_url": "https://tokenjam.dev/api/v1/docs/configuration.json",
      "updated_at": null
    },
    {
      "object": "doc",
      "id": "alerts",
      "title": "Alerts",
      "description": "13 alert types, 6 channels (ntfy, Discord, Telegram, webhook, stdout, log), per-agent overrides.",
      "section": "cli-and-ui",
      "order": 4,
      "url": "https://tokenjam.dev/docs/alerts",
      "markdown_url": "https://tokenjam.dev/docs/alerts.md",
      "api_url": "https://tokenjam.dev/api/v1/docs/alerts.json",
      "updated_at": null
    },
    {
      "object": "doc",
      "id": "capability-matrix",
      "title": "Capability matrix",
      "description": "What Claude Code, Codex, the Python/TS SDK, and generic OTLP agents each support in TokenJam.",
      "section": "integrations",
      "order": 1,
      "url": "https://tokenjam.dev/docs/capability-matrix",
      "markdown_url": "https://tokenjam.dev/docs/capability-matrix.md",
      "api_url": "https://tokenjam.dev/api/v1/docs/capability-matrix.json",
      "updated_at": null
    },
    {
      "object": "doc",
      "id": "nemoclaw",
      "title": "NemoClaw integration",
      "description": "Connect to the OpenShell Gateway WebSocket and turn sandbox events into spans and alerts.",
      "section": "integrations",
      "order": 2,
      "url": "https://tokenjam.dev/docs/nemoclaw",
      "markdown_url": "https://tokenjam.dev/docs/nemoclaw.md",
      "api_url": "https://tokenjam.dev/api/v1/docs/nemoclaw.json",
      "updated_at": null
    },
    {
      "object": "doc",
      "id": "export",
      "title": "Export and integrate",
      "description": "Forward spans to OTel backends, OpenEvals, JSON, CSV, and Prometheus.",
      "section": "integrations",
      "order": 3,
      "url": "https://tokenjam.dev/docs/export",
      "markdown_url": "https://tokenjam.dev/docs/export.md",
      "api_url": "https://tokenjam.dev/api/v1/docs/export.json",
      "updated_at": null
    },
    {
      "object": "doc",
      "id": "frameworks",
      "title": "Frameworks overview",
      "description": "The three integration tiers — native OTel, provider patches, and framework patches.",
      "section": "integrations",
      "order": 4,
      "url": "https://tokenjam.dev/docs/frameworks",
      "markdown_url": "https://tokenjam.dev/docs/frameworks.md",
      "api_url": "https://tokenjam.dev/api/v1/docs/frameworks.json",
      "updated_at": null
    },
    {
      "object": "doc",
      "id": "backfill",
      "title": "Backfill & import",
      "description": "Import historical telemetry from Claude Code, Langfuse, Helicone, and raw OTLP dumps.",
      "section": "integrations",
      "order": 5,
      "url": "https://tokenjam.dev/docs/backfill",
      "markdown_url": "https://tokenjam.dev/docs/backfill.md",
      "api_url": "https://tokenjam.dev/api/v1/docs/backfill.json",
      "updated_at": null
    },
    {
      "object": "doc",
      "id": "langchain",
      "title": "LangChain & LangGraph",
      "description": "Instrument LangChain LLMs and tools, and LangGraph compiled graphs, with a one-line patch.",
      "section": "integrations",
      "order": 6,
      "url": "https://tokenjam.dev/docs/langchain",
      "markdown_url": "https://tokenjam.dev/docs/langchain.md",
      "api_url": "https://tokenjam.dev/api/v1/docs/langchain.json",
      "updated_at": null
    },
    {
      "object": "doc",
      "id": "crewai",
      "title": "CrewAI",
      "description": "Instrument CrewAI tasks and agents with a one-line patch.",
      "section": "integrations",
      "order": 7,
      "url": "https://tokenjam.dev/docs/crewai",
      "markdown_url": "https://tokenjam.dev/docs/crewai.md",
      "api_url": "https://tokenjam.dev/api/v1/docs/crewai.json",
      "updated_at": null
    },
    {
      "object": "doc",
      "id": "autogen",
      "title": "AutoGen",
      "description": "Instrument AutoGen conversable agents with a one-line patch.",
      "section": "integrations",
      "order": 8,
      "url": "https://tokenjam.dev/docs/autogen",
      "markdown_url": "https://tokenjam.dev/docs/autogen.md",
      "api_url": "https://tokenjam.dev/api/v1/docs/autogen.json",
      "updated_at": null
    },
    {
      "object": "doc",
      "id": "litellm",
      "title": "LiteLLM",
      "description": "One patch covers every provider LiteLLM routes to, with correct per-provider attribution.",
      "section": "integrations",
      "order": 9,
      "url": "https://tokenjam.dev/docs/litellm",
      "markdown_url": "https://tokenjam.dev/docs/litellm.md",
      "api_url": "https://tokenjam.dev/api/v1/docs/litellm.json",
      "updated_at": null
    },
    {
      "object": "doc",
      "id": "uninstall",
      "title": "Uninstall & clean slate",
      "description": "What tj uninstall removes, what it leaves behind, and the full manual wipe for a true fresh start.",
      "section": "operations",
      "order": 1,
      "url": "https://tokenjam.dev/docs/uninstall",
      "markdown_url": "https://tokenjam.dev/docs/uninstall.md",
      "api_url": "https://tokenjam.dev/api/v1/docs/uninstall.json",
      "updated_at": null
    },
    {
      "object": "doc",
      "id": "troubleshooting",
      "title": "Troubleshooting",
      "description": "Run tj doctor, read its exit codes, and fix the common daemon-lock, schema, capture, and MCP issues.",
      "section": "operations",
      "order": 2,
      "url": "https://tokenjam.dev/docs/troubleshooting",
      "markdown_url": "https://tokenjam.dev/docs/troubleshooting.md",
      "api_url": "https://tokenjam.dev/api/v1/docs/troubleshooting.json",
      "updated_at": null
    },
    {
      "object": "doc",
      "id": "architecture",
      "title": "Architecture",
      "description": "Ingest pipeline, cost engine, alert engine, schema validator, storage, and how it all fits together.",
      "section": "reference",
      "order": 1,
      "url": "https://tokenjam.dev/docs/architecture",
      "markdown_url": "https://tokenjam.dev/docs/architecture.md",
      "api_url": "https://tokenjam.dev/api/v1/docs/architecture.json",
      "updated_at": null
    },
    {
      "object": "doc",
      "id": "incident-library",
      "title": "Agent Incident Library",
      "description": "Reproducible AI agent failures you can run in 30 seconds. No API keys, no config, no setup.",
      "section": "reference",
      "order": 3,
      "url": "https://tokenjam.dev/docs/incident-library",
      "markdown_url": "https://tokenjam.dev/docs/incident-library.md",
      "api_url": "https://tokenjam.dev/api/v1/docs/incident-library.json",
      "updated_at": null
    },
    {
      "object": "doc",
      "id": "roadmap",
      "title": "Roadmap",
      "description": "What's shipped, what's next, and what's open for contribution.",
      "section": "reference",
      "order": 4,
      "url": "https://tokenjam.dev/docs/roadmap",
      "markdown_url": "https://tokenjam.dev/docs/roadmap.md",
      "api_url": "https://tokenjam.dev/api/v1/docs/roadmap.json",
      "updated_at": null
    }
  ]
}
