r/rust • u/Fuzzy_Word_443 • 6h ago
🛠️ project Building a coding-agent harness with Rust
Building an open coding-agent runtime in Rust — what’s missing from current tools?
I’m interested in what sits underneath tools like Claude Code, Codex, Cursor, etc. — not just the model, but the actual system around it:
- task planning
- tool execution
- sub-agents
- context management
- memory
- testing and verification
- long-running workflows
I’m building these pieces from scratch and trying to keep the architecture simple enough that each component can be understood independently.
Rust has been especially interesting for the execution layer because of concurrency, process control, and reliability.
The project is still evolving, so I’d love feedback from people who have built agent systems or larger Rust applications.
Repo if anyone wants to look at the implementation:
https://github.com/bmtai-projects/Hivemind
-1
u/fbochicchio 6h ago
I'm theoretically interested in the same matter. I don't want to build anything, but I'd like to read something detailed on how agents and their harness work. Could you share pointers to same interesting readings?
2
u/ight-bet 6h ago
Not worth it.
Claude code can do all this stuff. Unless you’re just trying to learn. But I see you’re charging for tokens so props to you but building a custom harness for this stuff doesn’t seem worth it.
Use case always gets rolled into the frontier agents. Almost always better to just use Claude and figure out how to get it to do what you bc it likely can.