Hacker News AI· vhaudiquet·· 21 hr agoAI score58
Building my AI harness in 2026
Building my AI harness in 2026
AI summary
The author describes building Rhema, a modular Rust AI harness with a TUI called Rhema Code, covering provider APIs, tool calling, and the choice to expose only bash as a tool. Instead of traditional compaction, Rhema "blurs" older conversation by replacing old tool output with digests while keeping the full log and allowing the model to zoom back into original messages, which the author says preserves prompt caching and avoids needing a /compact command. The post also discusses MCP via a CLI client, code mode, sandbox decoupling, and the author's view that they wrote no code themselves for the project.
Source: Hacker News AI · vhaudiquet.fr