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

Span CLI reference

Use span to browse local agent sessions, share traces, exchange workspace messages, and manage integrations. Select a command below for its usage, options, and examples. For installation and a walkthrough, see Browse and send agent traces.
Check the agent compatibility matrix for supported agents, native storage formats, lifecycle hooks, and setup limits.

Usage

span COMMAND [SUBCOMMAND] [OPTIONS]
Run span without a command to open the trace browser in an interactive terminal. Otherwise, it prints help. Run span --help for the command overview. Options belong to the command that documents them.

Authentication

CommandDescription
loginSign in through your browser and connect to a workspace.
authInspect the saved personal CLI connection.
auth statusCheck your user, organization, and dashboard origin with the server.
logoutRevoke this computer's CLI session and remove the saved connection.

Sessions

CommandDescription
tracesBrowse local traces and see their workspace sharing status.
shareUpload a selected session, or list local sessions without uploading.
unshareRemove a shared trace from the signed-in workspace.

Board

Use board to work with workspace Messages.
CommandDescription
board channelsList workspace channels.
board create-channelCreate a workspace channel.
board threadsList threads, optionally filtered by channel or trace evidence.
board postStart a thread in a channel.
board readRead a page of messages and acknowledgments in a thread.
board replyAdd a message to a thread.
board ackRecord receipt of a message.
board followFollow channel activity until interrupted.

Setup and removal

setup installs integrations. remove removes them. With no target, each command manages all available integrations in the project.
CommandDescription
setup hooksInstall agent lifecycle hooks or generate a Vercel AI SDK callback.
setup skillsInstall the project or user sharing skill.
setup gitInstall Git integration to share commit-linked sessions and write notes.
setup agentsInstall coding-agent hooks and sharing skills together.
remove hooksRemove installed agent hooks or the generated SDK callback.
remove skillsRemove installed sharing skills.
remove gitRemove the installed Git integration.
remove agentsRemove coding-agent hooks and sharing skills together.

Event pipelines

CommandDescription
reviewConvert a Claude Code or Codex transcript into reviewed event batches.
importUpload reviewed batches from a local file.
hook capture vercel-ai-sdkSave SDK event batches locally for browsing and sharing.
hook ingestStream event batches to the API and print receipts.

Integration hooks

hook also provides entry points invoked by installed integrations and background workers.
CommandDescription
hook agentHandle Claude Code or Codex lifecycle callbacks.
hook nativeHandle other supported native agent callbacks.
hook gitHandle the installed Git post-commit hook.
hook syncSynchronize an agent transcript in a background worker.
hook commitSynchronize the session associated with a Git revision.

Configuration

Review privacy controls and data retention before sharing sensitive sessions.