
ntwine
One tab for all your coding agents, and one queue for the ones that need you
by @ssalbdivad
ntwine is a local web UI for running lots of coding agents at once.
It drives the agent CLIs you already pay for from one browser tab. When an agent comes to rest needing you, it becomes a card in a queue, so you can work through a list instead of checking on ten terminals.
Getting started
Requirements. Node 22.13+, and a Claude Code or Codex subscription you're signed in to. ntwine brings its own pinned copy of each CLI (downloaded once, on first start), so the version on your PATH never changes what a thread runs. Any agent on your PATH that speaks the Agent Client Protocol works too, including OpenCode, Antigravity CLI, GitHub Copilot CLI, Cursor's agent, goose and Qwen Code.
You can run it from anywhere. A project is any folder you add: a repo, a jj checkout, or a folder of scripts. ntwine doesn't care how you do version control, and it doesn't need Git.
$ npx ntwine
NTWINE v0.4.0 ready in 4.0s
➜ Local: http://127.0.0.1:9393/
➜ Project: acme — path/to/acme
press ctrl-c to stop · run with --debug for the full event feed
A browser tab opens on All projects, with acme picked in the prompt box because it is already a project. In a repository ntwine has not seen it asks whether to add it first; running the command never makes a project by itself. The first time, a short tour points out the four things on the page. ntwine listens on port 9393 (19393 if something else holds it), and one server serves every project on the machine, so a second run joins the server already running. Runs on macOS, Linux and Windows.
Principles
The agent decides, and ntwine checks.
- A thread's state is its agent's own last word. The final message says whether the work is done, needs you, or is waiting on something. ntwine only checks that it holds up, and there's no status field to set.
- ntwine never acts on an agent's behalf. It doesn't answer, withdraw, park or queue for one. The few deliberate exceptions are listed below.
- What must outlive a message gets recorded. A question, a finish and a watch are rows, not sentences, and a wait always names what it's waiting on.
- A gate can refuse, and it has no bypass.
- A question moves with the conversation. Type past it and it stays answerable where it was asked, but the agent carries on without it and never asks it again.
- Every card can be answered or archived. Nothing enters the queue just to be dismissed, and a running thread never enters it.
The board shows what's true, densely.
- There are six bands: Pinned, Ready, Working, Waiting, Snoozed and Done. Every thread is in exactly one, no view loses that, and the first four never fold.
- All projects first. The default view is one list of every project's threads by what they need, each wearing its project's square; one project, or a set of them, is one click away.
- Density over decoration, and few settings. The list never scrolls, except Done, which scrolls inside whatever room is left: the rest gives up the least useful lines first, even at heavy load (17 projects, ~70 threads), and a test holds it there.
ntwine is the process that outlives the agent.
- One server serves every project. Agents run detached and talk to ntwine over pipes, so closing the tab, the browser or ntwine itself never stops a turn.
- A wait outlives the session that set it. A watch on a pull request, an issue or another thread lasts as long as the server does, for years if need be. It wakes the thread the moment CI settles, a review or comment lands, or the other thread answers, and the agent responds on its own. No polling, and no relaying on your part.