File size: 619 Bytes
6b3874e
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
"""Retrospective agent: Log Agent -> Evidence Analyzer -> RAG Agent ->
Safety Synthesizer, with ReAct-style audited tool use.

Orchestration note: pydantic-ai installed cleanly in this environment, but
the orchestrator deliberately uses the internal typed loop (typed pydantic
stage contracts + the audited ToolRegistry) as the execution engine for BOTH
backends, because the deterministic mock path and the per-call audit
requirements must hold with no model present. The LLM (Ollama, when
reachable) contributes hypotheses, severity proposals, and follow-up
retrieval queries — never metrics or determinations.
"""