Many agents.
One session, any screen.

A multi-agent coding workbench for your terminal, and for your browser when you are away from it. Several agents at once, each in its own tab; workers in the background that you watch and steer; an editor and a real shell beside the conversation. Bring your own model.

licence MIT runs on Linux · macOS · Windows models local · cloud — Ollama · llama.cpp · OpenAI-compatible · Anthropic · OpenRouter
curl -fsSL https://raw.githubusercontent.com/nickprotop/cxagent/master/install.sh | bash

No .NET required. Anything outside your working folder asks first. Windows, the .NET tool, building from source →

cxagent — ~/source/cxgpu
cxagent in the terminal on a GPU monitoring tool after three workers reported: the lead's summary of the alert engine, the last commit and 230 passing tests, and the session panel splitting the tokens the workers spent from the lead's own The same session at the same moment in a browser: the same report with its commit and test tables, and the session panel with the same turns, tokens and the workers' share

Your first minute

From an install line to a team at work and the same session on your phone — what you type, and what it answers. Every line here is from a real run.

  1. 0:00

    Install

    curl -fsSL …/install.sh | bash✓ cxagent installed!

    One line. No .NET needed.

  2. 0:10

    Start, and trust

    cd ~/source/invoice && cxagentTrust this folder?▸ Trust this folder

    Reads stop asking. Writes still ask, until you say.

  3. 0:20

    Ask

    run the tests and give me the count▸ run_shell · python3 -m unittest5 tests ran, 4 passed, 1 failed.

    Plain language, and every step on screen.

  1. 0:35

    Put a team on it

    map the folders, review the last commit⣿ Worker explore · Explore project folders✓ Worker review · Review last commit diff · 17s

    Workers in the background, kept for the next question.

  2. 0:45

    It remembers you

    remember: tests use xUnit, plain Assert▸ memory · write · test-framework-preferencesMemory 1 system · 0 project

    The next session already knows.

  3. 1:00

    Carry on from your phone

    /webServing this terminal's sessions athttp://localhost:5180/

    The same live session, on any screen.

Front ends

One session. A terminal, a browser, or both at once.

The terminal is the workbench: a tab for every conversation and every worker, a file open beside the chat, a real shell when one is needed. cxagent web serves the same sessions to a browser with no terminal, and /web shares the one you are in — follow a turn from your phone and answer its prompt there; the first answer wins.

The browser has the terminal's tabs too: workers, a command's output, the editor, side questions, images, export, the plugin marketplace — and, once you turn them on in the terminal, a real shell and the configuration page. Leave a session and come back to it from either: it returns whole, every turn, tool call and worker drawn again, and the workers ready for more work.

cxagent — ~/source/invoice
The same session in the terminal after a resume: the fix and its tests, a note that the session was resumed and is being served on the web, the message typed on the phone, the permission it answered there, and the reply
The same session in a phone's browser: the bulk-discount fix and its three new tests, the message sent from the phone, and the answer — five tests ran, four passed, one failure that was already there — above the composer with its model, mode, thinking and sandbox pickers
Workers

A team, not an assistant.

The agent you talk to puts workers on a job — an explorer, a reviewer, a tester, a planner, a builder, or a type you define — each with its own brief and its own context, and its own model and folder when one is chosen for it. They run in the background while the conversation goes on: F7 lists them, and Ctrl+B moves whatever a turn is waiting on there. A long command left running is listed beside them.

They do not disappear when their part is done. Each keeps everything it read, ran and concluded, so you — in its own tab — or the lead, with agent_send, can hand it the next piece, or a correction mid-task, and it carries on from where it is instead of starting over. They read the same notes about you and the project the lead does, and when you resume the session another day the team is still there, its conversations intact.

cxagent — ~/source/cxgpu
The lead's conversation after it put a team on the repository: explore, review and test workers in the transcript with a table of them, and the Tasks column with the explorer and reviewer still running and the test run finished
The finished reviewer's own tab: its five points, a follow-up typed into its composer asking which matters most, and its answer — the hard-coded power scale — with the diff it would make
Colleagues

Keep the worker that learned it.

A worker that spent an afternoon learning a codebase need not start over next time. Keep it as a colleague: after each task it is given, what it did is distilled into its experience — how it works, and what it knows about each codebase — and it brings that into any session you call it into. In the capture, the one that learned SharpConsoleUI in cxgpu plans a brand-new app from what it learned there. Every ask it gets starts fresh from what it has learned, so a wrong turn in one ask is not carried into the next; to think something through with it, talk with it in a tab of its own.

Each thing it keeps says how it is known — observed, learned or concluded, and the round behind it — so it checks what it only inferred before building on it. Talk with it one-to-one to teach or correct it, freeze it when it is good, and see what its learning costs in /stats. Steer a worker twice and cxagent offers to keep it.

cxagent — ~/source/diskdash
The colleague SharpConsoleUI Guide brought into an empty repository: it recalls its experience of cxgpu, then plans diskdash's first screen from the SharpConsoleUI patterns it observed there — Program.cs with ConsoleWindowSystem, DashboardWindow.cs and its layout
The colleagues' library: SharpConsoleUI Guide with its version, what distilling has cost and the codebase it knows, Open, Bring in and Forget, and its experience, each statement ending in its kind and round
Workbench

Everything the job needs, in tabs beside the chat.

/open puts a file in a tab with its language's highlighter and a save that keeps the bytes you did not edit. When the agent writes a file you have unsaved edits in, yours are kept, with Reload and See theirs. /shell opens a real terminal for what a captured stream cannot do — a password prompt, an interactive rebase — and the agent is told afterwards what happened there.

Some questions do not need the model: /diff reads the working tree and /stats the ledger, spending nothing. Each step's thinking is its own block, folded until you open it, and /think sets how hard it thinks.

cxagent — ~/source/cxgpu
A C# file open in a tab with a line typed but not saved, after the agent changed the same file on disk: Save, Reload and See theirs, and
Models and plugins

Local and cloud models, every feature on both — and plugins from a marketplace.

Ollama, llama.cpp and any OpenAI-compatible server on your own machine; Anthropic, OpenRouter and OpenAI in the cloud. Every one gets every feature: workers, background tasks, thinking you can see and switch, the sandbox, the browser. Pick per tab, switch mid-conversation, and run an agent type's workers on a different one. The session in the captures at the top of this page ran on a local model. There is no cxagent account and no cxagent server: your code goes only to the endpoint you configure.

F2 opens the plugin marketplace — six today: a C# language server, a repository map, git worktrees, a clone finder, scheduled triggers and a calculator — and anyone can publish one. Before any of a plugin runs, cxagent shows a hash of everything it would load and asks, and asks again whenever that hash changes. MCP servers, skills, hooks and markdown commands sit beside them, and your Claude Code commands and skills work as they are.

cxagent — ~/source/cxgpu
The plugin manager over a session on a local model: six plugins available from the catalog, calculator selected, with its version, licence, contract and tool count, and its Install button

The full walkthrough, with every capture →

What else is in it

What keeps it in your hands — the prompts that stop it and the sandbox its commands run in — and the rest of what a session can do.

01

Several agents, one window

/sessions new opens another conversation in its own tab, on any folder you like, with its own history, model, plugins and permissions — a question asked in one never answers for another. F6 moves to the tab strip and ← → change tabs; a tab waiting on a permission prompt says so.

02

It asks before it reaches out

In a folder you trust, reads and commands that only read stop asking, and writes inside it go through without asking in accept-edits mode. Commands that can write, and anything outside the folder, still stop.

03

A second model can answer the prompts

Name a classifier in your config and /mode edits auto reviews each write that would otherwise stop you. It fails closed — a timeout, an error or anything it cannot parse means ask, never allow.

04

Commands in a sandbox

On Linux the model's shell commands run inside bubblewrap: they write only in the project, temp and package caches, see ~/.ssh and your other credentials as empty, and cannot touch git's hooks. A contained command skips the prompt where a write would; leaving the sandbox always asks you, and only you.

05

A question on the side

/btw asks about what the agent knows without adding to what it remembers. It answers in its own block while the main turn carries on, and it can only read, under the session's own permissions.

06

A screenshot in the conversation

Ctrl+V pastes an image as a token, and dropping a file on the terminal does the same; a model that can see is sent the picture. Kitty draws the pixels, any other terminal draws half-blocks, and a model that cannot see is sent a note naming each one.

07

The prompt does not move

Built the same way every turn, from facts sorted into a fixed order — so an MCP server connecting at turn 82, or a skill the filesystem happened to list differently, does not rewrite what the model has already read.

08

One goal, or a script full of them

cxagent -p runs a goal with no window and prints the answer, as text, JSON or a stream of events. -c carries a script's next step on in the same conversation, which then opens in the TUI like any other. Anything that would have asked is refused and listed in the result.

09

Work that starts without you typing

A plugin can declare that it may start work in its own session, and the load prompt says so before you approve it. Unwiring it stops the turn it started — and leaves the one you started alone.

10

It remembers what you told it

Corrections, preferences and facts the code does not say are kept as notes — system ones that follow you to every folder, project ones that stay with the repository — in cxagent's own folder, never in your tree. The prompt carries only their names, fixed for the conversation, so a note written mid-session costs no cache. /memory lists, opens and forgets them.

11

Hooks that guard and automate

Commands that run on the agent's events — before a tool call, after one, when a turn ends. A hook reads the event as JSON and answers by its exit code: block the call, rewrite it, add context, or send the agent back to work while the tests still fail. A hook can also be a question to one of your models, a read-only agent, a web request or an MCP tool, and it fires for sub-agents and headless runs too.

12

A conversation you can hand on

/export or F12 writes the session as markdown: Readable for a person — the answers, each tool call as a line, edits as diffs — or Full for another agent to carry on from, with every tool result and the model's thinking. Each worker's stretches sit where they happened, and nothing is lost to compaction.

Where to go next

Installing, the plugin catalog, the library under the terminal, and the reference rendered from the repository's own markdown.

Read this before you run it

It edits your files. Inside the working folder it writes without asking — that is the point of it, and it is why you should run it in a git repository with your work committed. git diff is the review step; there is no undo inside cxagent.

It runs shell commands. On Linux they are sandboxed: they write only in the project and cannot read your credentials. Inside the project they can still delete things, and with the network on they can still send out what they read.

It spends your money. Every turn is a request to whichever provider you configured, and a sub-agent is a whole second run of turns. If you point cxagent at a paid API, you are paying for what it does, including work that turns out to be wrong.

Nobody is responsible for the results but you. cxagent is provided as-is under the MIT licence, with no warranty of any kind. Review the diff. Keep backups. Do not run it against anything you cannot afford to have changed. The full version of this section →