Visualize ToolEnvelope + TraceScope hierarchical tracing across agent orchestration.
Every LLM and tool call in SPINE is wrapped in a ToolEnvelope that captures the call ID, provider, token usage, timing, and cost. Envelopes are linked into hierarchies via TraceScope, which propagates trace context (root_id, parent_id, span_id) across agent boundaries.
This creates a full trace tree: orchestrator calls fan out to subagents, each subagent makes tool calls, and every step is correlated back to the root session. The ToolCallResult captures success/failure status, token counts, duration, and cost estimates.