Don’t write your own. Fork maki.sh and customize it like I did. It’s built in Rust and is absolutely amazing.
I’m writing my own harness to learn. And I’m writing it in zig.
But, I’ll absolutely add maki.sh to my reading list. So, that’s a win.
By chapter four you have a minimal working codebase in python. Later chapters add out features like tool calling, planning, and reflection.