CLI
The Respan CLI lets you authenticate, integrate coding agents, query traces and logs, manage prompts and datasets, run evaluators, and more.
Install
Authentication
Profiles allow you to manage multiple environments (e.g. staging vs production):
Any command accepts --profile to target a specific environment.
Integrate
Set up tracing for CLI coding agents with a single command. Each writes a hook to ~/.respan/hooks/ and registers it with the agent. See the CLI agents cookbook for details.
Logs
Query and inspect individual LLM request spans.
Traces
Query and inspect traces (hierarchical groups of spans).
Users
Manage customer and user records.
Prompts
Manage prompt templates and versions.
Datasets
Manage evaluation datasets and their spans.
Evaluators
Manage and run evaluators on datasets.
Experiments
Manage experiments for comparing prompt and model configurations.
Global options
These options work with any command.
Filter syntax
All list commands support --filter field:operator:value: