WIP: Spike: ai-agents crate for declarative YAML agent config #1
Loading…
Reference in a new issue
No description provided.
Delete branch "spike/ai-agents-yaml-config"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Tries the
ai-agentscrate (Rust-native, declarative YAML agent config, v1.0.0 as of 2026-08-02) as a potential replacement for the hand-wiredrig-coreclients inmain.rs/revise.rs.spike/agents/writer.yaml— the gemma/Ollama writer legspike/agents/judge.yaml— the Shieldstral/llama-server judge leg (provider: openai-compatible)spike/pipeline.yaml— both wired into one declarativepipeline:(writer -> judge)src/bin/ai_agents_spike.rs— runs itFindings
Both legs verified working individually against this machine's real local models — genuinely config-driven provider wiring, no mocking. Full writeup and verdict in
spike/NOTES.md.Two real limitations found, not resolved here:
ai-agents.ai-agents'Agent::chat()returns plain text; there's no exposed logprob access, so it can't reproducerevise.rs's actual score() mechanism (which reads token logprobs off Shieldstral's response). Adopting this wholesale would mean a partial rewrite of the scoring logic, not a drop-in swap.Draft — this is exploratory, not meant to merge as-is.
🤖 Generated with Claude Code
Rejected:
Pull request closed