Skip to main content

Crate ratel_ai_core

Crate ratel_ai_core 

Source
Expand description

ratel-ai-core — the Rust core of Ratel.

See README.md and docs/adr/ for design.

Structs§

JsonlSink
MemorySink
NoopSink
SearchHit
SearchHitTrace
SearchStage
Tool
ToolRegistry
TraceEnvelope

Enums§

ChurnKind
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).
TraceEvent
Every event produced by any layer of Ratel. New variants are additive; renames or removals are breaking — see ADR-0009.

Traits§

TraceSink
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).