Agent-readable docs index: /llms.txt. Full docs in one file: /llms-full.txt. Download /docs.zip to grep all markdown files locally.

Supported agents

Span reads each supported agent's local session storage and normalizes it for review and sharing. Read/share support is separate from automatic lifecycle hooks: a skill-only adapter can still list, review, and share sessions through the CLI.

Compatibility matrix

Read/share means the CLI has a reader for the formats listed, subject to the limits below. Project + global means setup can install a callback in the project or home directory. Global only requires --global. Skill only means there is no lifecycle callback registered in Span; invoke the sharing skill or CLI explicitly.
AgentIdentifierRead/shareNative storageLifecycle setup
Claude Codeclaude-codeYesProject JSONLProject + global: .claude/settings.local.json
CodexcodexYesRollout JSONL and indexesProject + global: .codex/hooks.json
TacttactYesSQLite sessions/v2.sqlite3Skill only
NanoCodexnanocodexYesSQLite sessions/v2.sqlite3Skill only
CursorcursorYesSQLite state.vscdb, composer/bubble recordsProject + global: .cursor/hooks.json
OpenCodeopencodeYesJSON storage and SQLiteProject + global: span.ts plugin (v1 API)
OpenCode2opencode2YesSQLite session/message/part tables; JSON storage; optional service APISkill only; shared OpenCode skill
PipiYesSession JSONL, active ancestor chainProject + global: span-agent-hooks.ts extension
Oh My PiompYesv3 JSONL, active ancestor chainProject + global: span-agent-hooks.ts extension
AmpampYes, local filesThread JSONProject + global: .amp/plugins/span.mjs
GitHub CopilotcopilotYesCLI event JSONL; supported VS Code Chat JSON/JSONL archivesProject + global: span.json hook
ClineclineYesTask api_conversation_history.jsonProject + global: .clinerules/hooks/TaskComplete and TaskCancel
OpenClawopenclawYesAgent session JSONLGlobal only: .openclaw/extensions/span/ plugin
HermeshermesYesSQLite state.dbGlobal only: .hermes/plugins/span/ plugin
DroiddroidYes, supported envelopesFactory session message JSONLSkill only
GrokgrokYeschat_history.jsonl, metadata JSONProject + global: .grok/hooks/span.json
Kimi CodekimiYescontext.jsonl, work-directory metadataGlobal only: .kimi-code/config.toml
AntigravityantigravityYes, supported envelopesLocal transcript JSONL and step envelopesProject + global: .agents/hooks.json
Prime Agentprime-agentYesSession JSONL, active ancestor chainSkill only
fxfxYesLegacy event JSONL; v2 CRC32C log and content-addressed blobsSkill only
DeepSeek HarnessdeepseekYesSession JSONL, including zstd capturesSkill only
Vercel AI SDKvercel-ai-sdkYes, SDK capturesLocal Span SDK capturesProject callback module; register it in application code
claude is also accepted as an alias for claude-code. All coding-agent adapters support the halfspan-share skill. Vercel AI SDK uses a server callback rather than a coding-agent skill; see SDK callback setup.

Choose a session and set up sharing

Use an explicit identifier to select a reader. List sessions before sharing when there are multiple candidates:
span traces --agent tact --json span share --list --agent tact --json span share --agent tact --session SESSION_UUID
Use the UUID printed by Span, which can differ from the native agent's session ID. Older schemas without project metadata may need an explicit UUID instead of project-based selection. Default sharing excludes message content; add --prompts and --agent-responses to include it.
Install the integration that matches the matrix:
span setup agents --agent codex span setup hooks --agent cursor span setup hooks --agent kimi --global span setup skills --agent tact span setup skills --agent nanocodex
agents installs available hooks and the sharing skill. With no agent selection, setup defaults to Claude Code and Codex. Global setup changes user configuration and applies across projects. See setup commands and removal for --cwd, --global, and reasoning-summary options.

Dependencies and limits

  • SQLite stores require sqlite3 on PATH: Tact, NanoCodex, Cursor, Hermes, and the SQLite forms of OpenCode/OpenCode2. JSON-only readers do not require it. Compressed DeepSeek sessions require zstd on PATH.
  • Cursor requires composer bubble rows. Cursor CLI binary stores and older inline conversation blobs are unsupported.
  • OpenCode installs .opencode/plugins/span.ts in a project or ~/.config/opencode/plugins/span.ts globally, using the v1 plugin API. Global hook setup with XDG_CONFIG_HOME requires manual callback placement in that configuration directory. OpenCode2 prefers local storage; set HALFSPAN_OPENCODE_URL (or OPENCODE_URL) to opt into the current /api/session service fallback when no local database sessions can be read. HTTPS and loopback HTTP are accepted; authenticated servers can use OPENCODE_SERVER_USERNAME and OPENCODE_SERVER_PASSWORD.
  • Pi and Oh My Pi install extensions under .pi/extensions/ and .omp/extensions/ in a project, or under the respective agent/extensions/ directory globally. Their readers, and Prime Agent's reader, follow the active ancestor chain rather than sharing abandoned branches.
  • Copilot installs .github/hooks/span.json in a project or ~/.copilot/hooks/span.json globally. Global hook setup with COPILOT_HOME requires manual callback placement there. VS Code archive reading does not imply a VS Code lifecycle hook.
  • Cline requires hooks enabled in its settings. Hermes and OpenClaw require their native CLI on PATH during setup, which invokes it to register the generated plugin. Restart the native gateway when required. OpenClaw setup also enables conversation access for its plugin.
  • Amp reads legacy local thread files; cloud-only threads need a local export. Droid supports the observed session_start and nested message format. Antigravity supports readable local transcript captures and supported step envelopes; unsupported private storage envelopes cannot be recovered.
  • fx v2 validates log CRC32C and blob SHA-256 before normalization. Session discovery and transcript sizes are bounded; oversized stores return an error rather than uploading unbounded data.
Readers preserve supported visible messages and tool blocks. They do not infer token counts, prices, or reasoning from text. Message timestamps fall back to the native session modification time when a record timestamp is unavailable.
The deterministic fixtures cover discovery, normalization, sharing, and generated callback contracts. They do not certify every agent release. In particular, Droid and Antigravity compatibility envelopes are not all captured product output, and native lifecycle fixtures do not launch the agents themselves.

Storage path overrides

The CLI must be able to read the native store on the machine where Span runs. For a container or remote workspace, mount or copy the store and set the relevant override. For example:
export TACT_HOME=/mounted/tact span traces --agent tact --json export HALFSPAN_CURSOR_GLOBAL_DB=/mounted/cursor/state.vscdb span share --list --agent cursor --json
Tact and NanoCodex read sessions/v2.sqlite3 beneath TACT_HOME and NANOCODEX_HOME. Other overrides include CODEX_HOME, CLAUDE_CONFIG_DIR, HALFSPAN_OMP_DIR, FX_HOME, DSH_HOME, and KIMI_CODE_HOME. See environment variables for defaults and service configuration. Storage overrides affect discovery; they do not relocate every generated hook or skill. Check setup scope before installing integrations for a custom agent configuration directory.