Expand description
ratel-ai-core — the Rust core of Ratel.
See README.md and docs/adr/ for design.
Structs§
- Jsonl
Sink - Memory
Sink - Noop
Sink - Search
Hit - Search
HitTrace - Search
Stage - Skill
- A skill registered for retrieval — the on-demand analog of a
crate::Tool. - Skill
Hit - Skill
HitTrace - Skill
Registry - Retrieval index over
Skills — the on-demand analog ofcrate::ToolRegistry. Same BM25 engine and tuning; a parallel type keeps the tool path untouched and lets skill telemetry stand on its own. - Tool
- Tool
Registry - Trace
Envelope
Enums§
- Churn
Kind - Origin
- Distinguishes a direct API call (pre-fetch helpers, library callers, benchmarks) from one the agent synthesized inside its loop (gateway tool). Used to separate the two paths in trace consumers (rerankers train on agent calls, inspector shows both).
- Trace
Event - Every event produced by any layer of Ratel. New variants are additive; renames or removals are breaking — see ADR-0009.
Traits§
- Trace
Sink - A best-effort sink for trace events. Implementations must be cheap on the hot path — see ADR-0009 for the query-log reliability profile (lossy on backpressure is fine, blocking the agent loop is not).