The author built an AI harness called Rhema in Rust, giving the model only the bash tool
Understand this story
Developer vhaudiquet built an AI harness "Rhema Code" in Rust, whose core loop consists of three parts: the model loop, the provider API client, and tools; he provides the model with only one tool: bash. The author says the harness is installable, fully open source, and the code is available on GitHub. The author explains two default limits for context management: the message view is pass-through under the default 256 KB budget, and the message list matches the log; the <transcript> block composed of summaries is capped at 32 KB.
AI overview based on source reports · Updated 18 hr ago
Coverage timeline
Follow the coverage to explore different perspectives.
- Hacker News AIBuilding my AI harness in 2026
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.
Activity for this story
- Current comparable activity
- 6
- Peak comparable activity
- 10Nov 29 18:00
- Change in the past 24 hours
- –
Trends compare the same fully observed participants, which may cover fewer participants than current activity. Move the pointer or tap the chart to inspect hourly activity; use the left and right arrow keys with a keyboard.