firstmate: Talk to one coding agent and have it run several others for you
Added · Updated
Made by Kun Chen
View profile on GitHub (opens in a new tab)A shell tool that puts a single agent — the first mate — in front of a crew of autonomous coding agents.
You describe the work to the one agent; it spawns the others, gives each its own clean Git worktree so they do not tread on each other, watches them through to the end, and comes back with finished pull requests, merges it has approved locally, or written investigation reports.
What it does
The project’s description of the problem is tab-juggling: running one coding agent is easy, but three parallel tasks turns into babysitting sessions, copying context between repositories, and losing track of which terminal held the failing test. firstmate inverts that. You hold one conversation. Behind it, agents are spawned into a visible session backend, each in its own Git worktree — a separate checkout of the same repository, so parallel work does not collide — and supervised until they finish. What comes back is a finished artefact rather than a session to babysit.
You could use it to…
- Hand off three jobs at once to a crew of agents
- Come back to finished pull requests, not open terminals
- Get a written investigation report instead of raw logs
Can I use this?
You'll need A terminal, Git and a coding agent · Setup needed
Worth knowing Several agents working at once multiplies whatever your agent costs per task, and reviewing work you did not watch being done takes its own kind of care. How well the supervision holds depends on the underlying agent. MIT licence.
Why it's here
Not trending this week
Last seen on the GitHub trending list on 25 September 2026. It stays on BuildTube so you can still find it.
- 8,678 people have starred it on GitHub.
Numbers checked on 8 November 2026; not refreshed since.
Behind it
View sourceBuildTube has not run or verified this project. Everything above is written from what the creator published.
Made this?
Quick questions
- What is firstmate?
- The project’s description of the problem is tab-juggling: running one coding agent is easy, but three parallel tasks turns into babysitting sessions, copying context between repositories, and losing track of which terminal held the failing test.
- What can I use firstmate for?
- Hand off three jobs at once to a crew of agents; Come back to finished pull requests, not open terminals; Get a written investigation report instead of raw logs
- Can I run firstmate on my computer?
- It runs from a terminal on your own computer.
- What do I need to use firstmate?
- A terminal, Git, and a coding agent for the crew to be built from. The project’s documentation covers the session backend and how worktrees are handed out.
- What license does firstmate use?
- MIT licence.
More from this week
- agent-desktop Let AI agents read and click desktop apps
For developers building computer-use agents: agent-desktop lets an AI agent read and operate desktop apps on Mac, Windows or Linux from a command line.
- Auto-Ontology Give AI agents checked business meanings for your database
Help AI agents answer questions about company databases using reviewed definitions and SQL, with each answer showing its steps.
- Spec Kit Turn a written spec into plans, tasks and code
Spec Kit gives your AI coding agent a step-by-step process to build a feature, fix a bug or assess an idea.
Explore by topic
Post this
Download share imageFor makers
Made this? Show it’s on BuildTube — add the badge to your README or embed the card on your site.
README badge (Markdown)
[](https://buildtube.app/p/gh-kunchenguid-firstmate/)Embed card (HTML)
<iframe src="https://buildtube.app/embed/gh-kunchenguid-firstmate/" width="560" height="240" style="border:0;max-width:100%" loading="lazy" title="firstmate on BuildTube"></iframe>