Files
OpenJarvis/docs/api/traces.md
T
Jon Saad-FalconandClaude Opus 4.6 f75afefcfb Add MkDocs Material documentation site with 40 pages and auto-generated API reference
Sets up a complete documentation website with 7 navigable sections (Home, Getting
Started, User Guide, Architecture, API Reference, Deployment, Development), light/dark
mode, search, code copy, and Mermaid diagram support. API reference pages use
mkdocstrings to auto-generate docs from source docstrings. GitHub Actions workflow
deploys to GitHub Pages on push to main.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-21 06:09:36 +00:00

54 lines
1.1 KiB
Markdown

# Traces Module
The traces module provides full interaction-level recording for the learning
system. Every agent interaction can produce a `Trace` capturing the sequence
of steps (route, retrieve, generate, tool_call, respond) with timing, inputs,
outputs, and outcomes. The `TraceCollector` wraps any agent to record traces
automatically, while `TraceAnalyzer` provides aggregated statistics.
## TraceStore
::: openjarvis.traces.store.TraceStore
options:
show_source: true
members_order: source
---
## TraceCollector
::: openjarvis.traces.collector.TraceCollector
options:
show_source: true
members_order: source
---
## TraceAnalyzer
::: openjarvis.traces.analyzer.TraceAnalyzer
options:
show_source: true
members_order: source
### RouteStats
::: openjarvis.traces.analyzer.RouteStats
options:
show_source: true
members_order: source
### ToolStats
::: openjarvis.traces.analyzer.ToolStats
options:
show_source: true
members_order: source
### TraceSummary
::: openjarvis.traces.analyzer.TraceSummary
options:
show_source: true
members_order: source