# agentcrumbs - [Introduction](/docs): Structured debug tracing that agents drop inline while writing code - [Quickstart](/docs/quickstart): Install agentcrumbs and set up your agent in 2 minutes - [Workflow](/docs/workflow): How crumbs fit into the feature branch lifecycle - **API** - [trail()](/docs/api/trail): Create a trail function for a namespace - [scope() and wrap()](/docs/api/scope): Wrap operations with automatic enter/exit/error tracking - [child()](/docs/api/child): Create child trails with inherited context - [Timing and assertions](/docs/api/timing): time(), timeEnd(), snapshot(), and assert() - [Sessions](/docs/api/sessions): Group crumbs into logical sessions for replay and filtering - **CLI** - [collect](/docs/cli/collect): Start the HTTP collector server - [tail](/docs/cli/tail): Watch crumbs in real time - [query](/docs/cli/query): Search historical crumbs - [strip](/docs/cli/strip): Remove crumb markers from source files - [session](/docs/cli/session): Start and stop debug sessions from the CLI - [Other commands](/docs/cli/other): stats, clear, follow, replay, sessions - **Guides** - [Browser](/docs/guides/browser): Use agentcrumbs in browser apps with the same import path - [Tracing into node_modules](/docs/guides/node-modules): Add crumbs to library internals without importing agentcrumbs - [Multi-service setup](/docs/guides/multi-service): Use the collector to aggregate crumbs from multiple services - [For PR reviewers](/docs/guides/pr-reviewers): How AI and human reviewers should handle crumb markers - [Cross-language support](/docs/guides/cross-language): Use agentcrumbs from any language via HTTP - **Reference** - [Environment variable](/docs/config/env-var): Configure agentcrumbs with the AGENTCRUMBS env var - [Sinks](/docs/config/sinks): Configure where crumbs are sent - [Agent skills](/docs/skills): How agents learn to use agentcrumbs via @tanstack/intent - [Crumb format](/docs/crumb-format): JSONL schema and crumb types