Skip to content

SpanHound v0.6.0 — one-command Python capture

Choose a tag to compare

@abhishekash abhishekash released this 13 Oct 18:46
· 5 commits to main since this release
35f8fa6

SpanHound can now capture supported Python agents in one command, without manually setting OTLP exporter variables or adding tracing code to the agent.

In the agent's Python environment:

python -m pip install 'spanhound[auto]'
spanhound run --trace-dir ./traces -- python agent.py

The runner starts a loopback receiver, configures OpenTelemetry export for the child process, and stops the receiver when the program exits. The optional package includes instrumentation for OpenAI, Anthropic, OpenAI Agents, HTTPX, and Requests. It reports when no spans were produced and preserves the agent's exit code.

Existing spanhound collect, JSONL, OTLP JSON, MCP, and desktop bundle flows remain available. Automatic instrumentation observes supported libraries; arbitrary local functions and approval decisions still require matching instrumentation.