Handler

Your coding agents, each in its own box, set up once.

Run Claude Code, Codex, Mistral Vibe or pi on your own machine. Each agent sees its project folder, reaches only the sites you allowed, and keeps working when you close the tab.

uv tool install handler-ai

  • Free and open source
  • Linux
  • macOS and WSL 2: experimental
  • Alpha

An example front desk: six agents, each in its own box, each seeing one project folder and reaching only its allowed sites. Box 103 asks about a blocked site; its buttons work.

  1. 101

    Claude Code

    ~/code/acme-billing

    • api.anthropic.com
    • github.com

    running

  2. 102

    Codex

    ~/code/acme-infra

    • api.openai.com
    • crates.io

    running

  3. 103

    Claude Code

    ~/code/blog

    • api.anthropic.com
    • github.com

    Needs you

    pypi.org:443 was blocked

    waits for you

  4. 104

    Mistral Vibe

    ~/code/thermostat

    • api.mistral.ai

    idle

  5. 105

    pi

    ~/code/notes

    • localhost:8080

    llama.cpp on your desk

    running

  6. 106

    Claude Code

    ~/code/acme-api

    • api.anthropic.com

    plan, step 4 of 6

  • ANTHROPIC_API_KEY
  • OPENAI_API_KEY
  • MISTRAL_API_KEY
  • Claude token

Keys stay at the desk. Each box holds a stand-in.

What it changes.

Nine moments, from your terminal to your phone: at your desk, while you’re away, and when the work isn’t only yours. Each shown in Handler itself.

  1. At your desk.Full auto, without handing over your laptop · It needs pypi.org? One click, not an open door · Tell your agents once how you work
  2. While you’re away.Wake up to work done, and a clear stop · Check on your agents from anywhere · Your Monday report writes itself
  3. When it isn’t only your code.Five clients, five areas, zero mix-ups · A small team for a solo launch · Run a stranger’s pull request without trusting it

At your desk.

The agent program you already use, the same commands, the same habits. It just stops seeing the rest of your machine.

Full auto, without handing over your laptop.

You code with an agent all day, and you’d like to stop clicking “Allow”.

Today: You run the agent with permission prompts off, and it can read ~/.ssh, ~/.aws and your other projects. Or you click “Allow” 200 times a day.

With Handler: Each agent runs in its own sandbox: its project folder at the same path, and nothing else of your computer. Its API key is a stand-in; the real one is added on the way out, to the model’s own host only. Let it run on Auto-approve.

claude() { handler terminal my-account -- "$@"; }

And keep typing claude: the same TUI, the same --resume, in its box. Codex, Vibe and pi too, and Zed.

It can still break the folder you gave it: commit first.

In the docs:SandboxStand-in keysNetwork filterTerminal and Zed

A README tells the agent to upload your SSH key and token. No key in its box, a stand-in token, the site blocked. Handler’s real web UI; the agent’s words are scripted.
Two more at your desk: It needs pypi.org? One click, not an open door · Tell your agents once how you work

It needs pypi.org? One click, not an open door.

Your agent is halfway through a task when it needs a site it was never given.

Today: The run fails on a blocked site, so you give up and open the network to everything.

With Handler: The blocked site shows as a card in the session: Allow for this agent, or Keep blocked. The agent waits a few seconds, then goes on. Not there? Your inbox tells you later. New agent? Learn the sites it needs lists what it reached in one run.

While it learns, its network is open: try it on a project you don’t mind.

In the docs:Network filterLearn the sites it needs

Tell your agents once how you work.

You type “we use pnpm”, “no emojis in commits”, “the client hates modals” in every new session.

Today: A CLAUDE.md here, an AGENTS.md there, nothing shared between agent programs, and every new session starts from scratch.

With Handler: Write it once, in plain markdown: me/ for how you work, projects/acme-billing/ for what was decided. Each agent gets the folders you pick in its settings, whatever its agent program or model. Already keep an Obsidian vault? Make it the notes root.

An agent reads only the folders you gave it, and never writes to them: you do.

In the docs:Notes

One notes root; this agent reads two of its folders. The agent’s words are scripted.

While you’re away.

Sessions live in Handler, not in a browser tab. Work goes on after you leave, and your phone hears when it needs you.

Wake up to work done, and a clear stop.

You want the night to count, not to type “do the next step” every hour.

Today: One long conversation fills the context and eats your limits. Or the laptop sits idle for eight hours.

With Handler: Before bed, read the plan, then Approve and run. Handler runs its steps one after another, each in a new session with a small context, each checked by its own “Done when”. It stops at the first step that isn’t done and tells your inbox, on your phone too. At your desk: Allow and run again from step 5.

The phone shows the inbox, not the plan: the rerun is at your desk. For a plan that runs while you’re away, an API key is recommended.

In the docs:PlansInboxPhone

The morning after: four steps done, each in a fresh session; step 5 stopped on a blocked site, with its fix.
Two more while you’re away: Check on your agents from anywhere · Your Monday report writes itself

Check on your agents from anywhere.

You stepped out while an agent works on a fix.

Today: You come back two hours later to an agent that stopped at minute three to ask something.

With Handler: Share the session to your phone and follow the same timeline. Needs you comes up when the agent asks: answer from there, or type the next instruction. A notification tells you something’s new.

Through your own gateway (self-hosted, HTTPS): no port opened on your machine, end-to-end encrypted.

In the docs:SessionsPhone

A deploy asks before it runs. Allow, from the phone.

Your Monday report writes itself.

Every Monday you collect last week’s merged PRs, issues and decisions into a short report.

Today: An hour of copy-paste before your first coffee, or you skip it.

With Handler: A job for your reports folder reads your notes and, through a GitHub connection on a read-only token, last week’s activity. An automation runs it every Monday at 08:00, in its sandbox. The report is in your inbox when you sit down, and your phone says it’s there.

It runs while Handler runs: computer off at 08:00, it runs when it’s back. For a job that runs on its own, an API key is recommended.

In the docs:JobsAutomationsConnectionsNotes

The automation, and its result in the inbox. The report is an example.

When it isn’t only your code.

Clients, a launch, a stranger’s pull request: each agent gets what its job needs, and nothing of the rest.

Five clients, five areas, zero mix-ups.

You freelance for several clients, each with its own repositories, its own seat or API key, and its own rules.

Today: One machine, one set of logins. One day client A’s key pays for client B’s work.

With Handler: Make an area per client and put its projects and its account or API key in it. A project runs only the accounts of its area: the others are not even offered, and Handler refuses the mix-up before it starts. Your own side project gets its area too.

An area separates accounts and API keys. Each agent still sees only its own project’s folder; a client’s GitHub token and notes are given per agent. A contract that forbids cloud models? Use a local one for that client.

In the docs:AreasAccountsLocal models

Two of the five areas: a project of Northwind is offered Northwind’s account only.
Two more when it isn’t only your code: A small team for a solo launch · Run a stranger’s pull request without trusting it

A small team for a solo launch.

You’re shipping a product alone, and its landing page, and its launch.

Today: One agent with access to everything, or copy-pasting between chat tabs.

With Handler: Get a web designer and a marketer from the Library, give both your brand notes. The designer works on the site and checks it in a real browser; the marketer reaches only the sites you allow. Each shows what it may do before it’s installed, and is yours to change after.

Handler’s own agents are built on open-source skills, credited to their authors.

In the docs:LibraryNotesBrowser

The Web designer, set up in a project: its tool comes with it, and you see what it may do first.

Run a stranger’s pull request without trusting it.

You maintain an open-source project; pull requests come from people you don’t know.

Today: Checking out a PR and running its tests is the riskiest thing you do all week, and an agent that reads it can be told what to do.

With Handler: A reviewer agent gets the PR’s folder and nothing else of yours, reaches its model and no other site, and runs the tests in its sandbox, containers included. A planted instruction finds no key to steal and nowhere to send it.

Not a guarantee: Handler limits what a manipulated agent can reach. Running containers weakens the sandbox, and Handler says so. With a local model, give it No network at all.

In the docs:SandboxNetwork filterRuns containers

The reviewer’s box: one folder, one site, its own engine for containers. The session’s lines are an example.

Right for you if…

  • You run Claude Code or Codex in full auto, and it makes you a little nervous.
  • You want agents to work while you’re away, and to hear from them on your phone.
  • You work for more than one client, or keep work and personal accounts apart.
  • You use more than one agent program, or more than one model.

What Handler is not.

  • Not a hosted platform. Everything runs on your machine; nothing runs on our servers.
  • Not an orchestrator of agent teams. No org chart, no tickets. Whatever drives your agents, Handler decides what they can touch.
  • Not an always-on assistant. Things run when you start them, or when a schedule you set does.
  • Not a guarantee. A sandbox narrows what can go wrong; an agent can still break its own folder, and what you send to a cloud model goes to that vendor.

Also in the box.

Always the latest version
Every week the agent programs and tools are rebuilt and checked; agents switch only when the check passes.
Go, Rust, a browser: one click
Library → Tools → Get more. A tool brings what the system needs and a skill that says how to use it. No Dockerfile.
Downloads, once
~/.npm, ~/.cargo and images stay between runs.
Any model you have
A subscription, an API key, OpenRouter, or llama.cpp and Ollama on your desk. Change the model; the instructions, skills and notes stay.
Your API, not your token
Agents call your company’s API through a tool; Handler adds the token on the way out, to that host only.
Prompts tested like code
Keep right answers as checks. Changed the prompt, or moved to a cheaper model? Run all. Improve until they pass rewrites the instructions.
Your team’s agents, on day one
Put your team’s agents, tools and apps in a git repository and add it as a source: a newcomer gets them from Library → Get more, with their own account.
Your agents, in one file
Export agents: instructions, forms, skills and checks. Never your keys, folders or conversations.
What slowed them down
After each session, a note lists the tools, sites and files the agent lacked.
A browser on its own account
The agent browses logged in to an account made for it, with only that account’s rights.
Try a skill in its box
Import a skill from its GitHub link, see what Handler found in its files, give it to one agent.

Apps, early: Have an agent build a small app, run it here, open it from your phone.

Questions.

Is it free?
Yes: open source (Apache 2.0), on your own machine. You bring the model: a subscription, an API key, or a local model.
Does my work leave my machine?
Handler runs everything locally. What leaves is what an agent sends to its model, and to the sites you allow. With a local model, nothing does.
Which agents and models?
Claude Code, Codex, Mistral Vibe and pi. Anthropic, OpenAI, Mistral, OpenRouter, or a local llama.cpp or Ollama.
Can I use my Claude subscription?
For sessions you start and follow, and for a plan you approved. For agents that run on their own, an API key is recommended.
macOS or Windows?
Linux is supported. macOS (Apple’s container, Docker Desktop or OrbStack) and Windows through WSL 2 are experimental.
What does “alpha” mean for me?
One maintainer, using it every day. Expect it to change a lot between releases.

Three commands. Then give an agent its box.

Copy, paste, Enter. Three times.

  1. uv tool install handler-ai

    or: pipx install handler-ai

  2. handler setup

    sets up the service, builds the images

  3. handler ui

    opens the web UI

It needs

  • Linux with rootless Podman (or Docker)
  • A systemd user session
  • About 3 GB of disk

macOS or WSL 2: experimental, the getting started guide says how.

Next

Then connect a model (a subscription, an API key or a local one) and give an agent a project folder.

The first setup builds the images on your machine: a few minutes, or a coffee and a half.