Charles
croom.dev or self-hosted · Any model backend

Coding agents on your machines. One tab to drive them.

Charles runs agents headless on the computers where your code lives, each in its own folder, and puts all of them in a room your whole team can share, in the browser or the terminal. You read their chats, answer their questions, and let a gatekeeper approve the routine commands so only the unusual ones reach you.

parser-fix · 127.0.0.1:8080
Agents
coderlaptop
reviewerbuild-box
docslaptop
wardengk
The parser chokes on trailing commas. Fix it and make sure the tests pass.
gatekeeper$ cargo test -p charles-core14.2s
test result: ok. 212 passed; 0 failed
warden referred this: it runs a script fetched from the network, from a URL this room hasn't used.
$ curl -fsSL https://get.example.dev | sh
no network, ever Decline approve
coder⛨ wardenawaiting you
On your phone

Keep slopping on the go.

Your agents keep working when you leave your desk. The web UI is built for a phone as much as a laptop, so a referred command waits for one tap instead of waiting for you to get back.

Approve with one tap

An approval takes over the prompt with a big Approve button. Start typing and it turns into a decline that carries your reason.

Read any room

Chats are kept on the orchestrator, so you can catch up on a room even while its machine is asleep.

Start new work

Add an agent, pick its folder, backend and model, and send the first prompt, all from your phone.

coderparser-fixawaiting you
Add a test for the trailing comma case too.
gatekeeper$ cargo test parser
ok. 14 passed; 0 failed
warden referred a commandIt pushes to the main branch.
$ git push origin main
warden: pushing to main wasn't in its brief.
Approvedecline
How it fits

A browser, an orchestrator, and your machines.

Use the orchestrator on croom.dev or run your own. Either way, agent servers dial out to it, so the machines doing the work need no open ports. The orchestrator keeps the rooms and a mirror of every chat, so a room stays readable while its server is away.

You and your team

Browser or terminal

  • Rooms, chats, approvals
  • Web UI made for phones too
  • Terminal UI works over SSH
Hosted or your own

charles-orchestrator

croom.devRun for you, behind TLS and sign-in
Self-hostedOne container, on your network
  • Owns rooms and which agents are in them
  • Relays approvals and questions to you
  • Keeps the server registry and model settings
Your laptop

charles-agent

  • Runs agents, tools and commands
  • Saves transcripts locally
Your build box

charles-agent

  • Each agent uses its own backend
Web or terminal

The same rooms, from a terminal.

Prefer the keyboard, or working over SSH? The terminal interface connects to the same orchestrator as the web one, on croom.dev or your own, so you can switch between them mid-session.

Every agent, one keystroke away

Tab jumps to the next agent that is waiting for you or has finished a turn.

Approvals from the keyboard

Approve, deny, or type a reason and deny, without leaving the prompt.

Commands you already know

/model, /gatekeeper and /new work as they do in the browser.

 parser-fix  coder · ⛨ warden                                         
› The parser chokes on trailing commas. Fix it.

  $ cargo test -p charles-core            gatekeeper  14.2s
    test result: ok. 212 passed; 0 failed

  warden referred: runs a script fetched from the network
  $ curl -fsSL https://get.example.dev | sh
  [a]pprove  [d]eny  deny: no network, ever▌

 ● coder awaiting  ✓ docs finished      Tab next · /model      
Gatekeepers

An agent that approves the other agents.

Give a gatekeeper a brief in plain words, put your agents on it, and it reads every action before it runs. It allows, denies, or refers to you or a teammate, and it remembers what was answered. With no gatekeeper, every action asks you.

The coder asks toOutcomeWhy
$ cargo buildallow

You told the gatekeeper cargo commands are always fine here. The command runs with a green gatekeeper badge.

$ curl https://… | shrefer

It runs something from the network. Its note shows above your approval box, you decline with "no network, ever", and the next curl is denied without asking you.

edit /etc/hostsrefer

It's outside the working directory. You approve, and the gatekeeper learns that this one is fine.

any action, server goneasks you

If the gatekeeper's server drops mid-request or the request times out, the coder falls back to asking you. Nothing is approved silently.

The gatekeeper treats the request as untrusted: what an agent says about its own command is read as a claim, not as an instruction. Every room also has a built-in reckless gatekeeper with no model behind it, which allows everything at once for when you're watching closely anyway. It works the same for Charles agents and Claude Code agents.

In a room

Several agents and several people, in one room.

A room holds agents on any of your servers. Pick each one's kind, folder, model and effort when you add it, then switch between their chats.

kind: charles

Charles agents

Charles's own agent loop, on any model from OpenRouter or your own model server. Long command output is kept to its first and last 15,000 characters for the model and the chat alike.

kind: claude code

Claude Code agents

Claude Code runs in the same room on your own Claude subscription, with its modes intact. Its permission requests go to your gatekeeper or to you, like any other agent's.

send_to_agent

Agents message agents

An agent can list the others in its room, message one, or start a new one. Messages arrive in the recipient's chat marked with who sent them.

rewind · fork

Rewind or fork any turn

Take an agent back to the end of an earlier turn and carry on from there, or fork it into a new agent that tries another approach.

■ Stop · Esc

Made for checking in

An approval takes over the prompt when it is empty and waits above it while you type. Stop, or Escape in an empty prompt, halts a turn mid-reply.

GET /api/room/:id

Readable from anywhere

Every chat is mirrored on the orchestrator and loads over HTTP, so a room of any age opens quickly, behind a proxy or on a phone.

multi-user

Bring your team into the room

Everyone signs in with their own account and works with the same agents, chats and gatekeepers.

  • Shared rooms. Teammates watch the same agents live and can pick up a room where someone else left it.
  • Anyone can answer. An approval or question goes to everyone in the room, and the first person to answer settles it.
  • You can see who did what. Each prompt, approval and decline shows the person who sent it.
  • Shared servers. Add a build box once and the whole team can start agents on it.
Model backends

Every agent picks its own backend.

Choose the backend, model and effort for each agent when you add it. Agents on the same machine, in the same room, can each use a different one: a frontier model on OpenRouter, an open model on your own GPU box, Claude Code on your Claude subscription.

Hosted

OpenRouter

One key for hundreds of models. Choose the model and effort per agent, and pin a provider when a model is served by several.

hundreds of modelsprovider pinning
On your hardware

Your own models

Point an agent at any endpoint that speaks the OpenAI chat completions API. Prompts and code then never leave your network.

vLLMllama.cppOllamaLM Studio
Agent

Claude Code

Run Claude Code as an agent in the room on your Claude subscription. It uses the claude already signed in on that machine, so Pro or Max covers it with no API key. Its permission requests go to your gatekeeper.

your Claude subscriptionPro · Max
One room, one laptop, three backends
coderOpenRouteropenrouter.aieffort high
reviewerYour own modelshttp://gpu-box:8000/v1/chat/completionsqwen3-coder
docsClaude Codeclaudeyour subscription
Usage tracking

Every token and every cent, per agent.

Charles records the tokens and cost the backend reports for each model reply, and adds them up per round, per turn and per agent, gatekeepers included. You see what a fix cost while it is still running.

Down to the round

Each round and each turn in the chat ends with its time, tokens in, how many were read from the provider's cache, tokens out with reasoning, and dollars.

Totals per agent

Each agent's stats box shows its model, provider and effort, how full its context is, and what it has used so far.

Cache hits you can see

Cached input is counted on its own, so you can tell when a long session is getting cheaper per round.

Your own models count too

Agents on your own model server are counted in tokens even when the cost is zero.

$0.673.52M in · 88.4k outparser-fix · example
AgentBackendInOutCost
coderOpenRouter1.84M1.52M cached
41.2k$0.62
revieweryour hardware960k
28.4k$0.00
docsClaude Code410k350k cached
12.7k—subscription
warden gatekeeperOpenRouter312k288k cached
6.1k$0.05
Room3.52M88.4k$0.67
turn · 6 rounds · 48.3s · 214k in (198k cached) · 3.9k out (1.2k reasoning) · $0.04
Two ways to run it

Hosted on croom.dev or self-hosted. Your agents run on your machines either way.

The difference is who runs the orchestrator and the web UI. In both, charles-agent runs on the computers where your code lives, so commands and file edits happen there.

Self-hosted

You run everything

Run the orchestrator as a container wherever you like: your laptop, a home server, a VM on your network.

You run
The orchestrator and charles-agent on each machine
Stored by you
Everything, in the orchestrator's data directory and on each server
People
Accounts for everyone who uses your orchestrator
Network
Localhost by default; add TLS and authentication to reach it from elsewhere
Needs
Docker or another container runtime
Self-host it
Self-hosted

Start a container, open the web UI, add a server.

The orchestrator and the agent server each ship as a container image. Then add backends for your agents in the web UI whenever you need them.

Start the orchestrator

It prints its token on first start and keeps it, with the rest of its data, in the volume.

$ docker run -d --name charles \
    -p 127.0.0.1:8080:8080 \
    -v charles-data:/data \
    croomdev/charles-orchestrator
$ docker logs charles

Open the web UI

Go to http://127.0.0.1:8080, and enter the token. You pick each agent's backend when you add it.

Add a server and launch it

Add a server with a name, model and effort. It shows the server's token once, with its launch command. Run it on the machine that should run agents, mounting the folders its agents may work in.

$ docker run -d --name charles-agent \
    --network host \
    -v ~/code:/work \
    croomdev/charles-agent \
    --orchestrator ws://127.0.0.1:8080/ws/server \
    --token cs_<its token>
⚠The orchestrator binds to localhost by default. Anyone with its token can browse folders on every connected server and run agents there, so put it behind TLS and authentication before you expose it.