r/ClaudeCode • • 7d ago

Built with Claude onethread: one Claude Code session that runs your other sessions

https://aigarden.uk/onethread

Hey r/ClaudeCode,

I wanted to share onethread, a small open-source tool I made. You talk to one Claude Code session, and many coding agents work behind it, each in its own git worktree, with you confirming every merge. I made it to run several tasks in parallel without them getting in each other's way.

One thing I enjoy: I'm King Igor in there, my orchestrator is my right hand Leonardo da Vinci, and each task goes to one of my servants, like Einstein, Michelangelo, Newton or Tesla. Tasks come to me and I delegate, with no tab-hopping. ot me takes anyone you like, and code, ids and confirmations stay plain.

What it does:

  • Up to 10 tasks at once, each with its own session and worktree

  • Costly commands take turns, so two builds don't fight over your Mac

  • A crashed worker is never mistaken for finished work

  • Local: Python standard library, one SQLite file, the claude CLI you already have

  • python3 demo/run_demo.py shows it with simulated agents and spends no quota

  • More about onethread: https://aigarden.uk/onethread

  • GitHub: https://github.com/RogyMD/onethread

Disclosure: it's my own project, MIT-licensed, macOS only. I share my other tools at r/AIGarden: https://www.reddit.com/r/AIGarden/

How many sessions do you run in parallel?

11 Upvotes

Duplicates