Pre-releasePart of the Lock Family · open source · Apache 2.0
Many agents. None of your machine.
lea runs your AI agents side by side in containers: Claude Code by default, Codex or a model of your own too. They see one projects directory and reach the internet through a proxy, never your keys or your private network, and you drive them from lea deck, its terminal interface.
brew trust davidgodefroid/tap
brew install davidgodefroid/tap/lox davidgodefroid/tap/lea
Needs Docker (on macOS, the formula also installs tmux). Then run lea in the directory that holds your projects, and keep lox run open beside it for the Locks. The whole family: brew install davidgodefroid/tap/lockfamily.
Part of the Lock Family: one hub (lox run) approves for every Lock.
locksql · profile devlox run · outside lea
- Read · dev-2 · locksql
- auto
SELECT count(*) FROM orders LIMIT 1Approved by the lock’s rules; the agent never holds the password. - Write · dev-2 · locksql
- asked
UPDATE orders SET status = 'shipped' WHERE id = 88123Waits inlox run, in your own terminal, until you answer.
Approved · y
lea shows no approval
Inside lea the agent reaches the lock’s socket only. The decision is taken outside the container, in lox run.
See it run
192.168.1.10; ~/.ssh is not there to read. The demo keeps the deck’s own terminal colours.lea and lea deck
lea, the tool
The
leacommand and its daemon: the container your agents run in, the egress proxy, the providers (Claude Code, Codex, OpenAI-compatible endpoints), roles and the Control Tower, messages between agents, allowances, and the MCP tools agents use to talk to lea.It runs with or without the deck:
lea config deck offgives you your own tool in the container, andlea board,lea requestsfollow the agents.lea deck, its interface
What
leaopens in your terminal: your agents in a column on the left, the selected agent’s terminal on the right. Rows show each agent’s state and task; keys start, message, allow and stop agents.lea webserves the same deck in your browser. The deck runs on your machine, outside the container: no agent can drive it.
One install gives you both: lea deck is part of the lea binary, not a separate product. This site, leadeck.dev, is lea’s; “the deck” on its pages means lea deck.
Why lea?
Agents do more when you stop approving every command, and a few of them in parallel do more than one. On your workstation both are risky: an agent runs as you, with your keys, your tokens and your network.
lea moves the boundary from the prompt to the container. What an agent can reach is fixed by the container and the proxy, not by its good behaviour.
| Property | On your host | In lea |
|---|---|---|
~/.ssh, ~/.aws, ~/.kube out of reach | No | Yes |
| Private network and cloud metadata refused | No | Yes |
| The web limited to an allowlist of public domains | No | Yes |
| No Docker socket, no way to root on the host | No | Yes |
| GitHub token usable, never readable | No | Yes |
make test and docker run still work | Yes | Yes |
| Every agent followed from one screen | No | Yes |
A permission prompt is a convenience; a container and a proxy are a boundary.
See what you approve
Two kinds of request wait for you, in two places. An agent’s own permission request (run this command, edit that file) shows on its row in the deck: a allows, d denies, space jumps to the next agent that needs you.
A request to a Lock (a database, a queue, files, logs, the web) is not lea’s. It waits in lox run, which you keep open in a terminal of your own, outside lea. lea starts no lox command (lea doctor only runs lox version) and shows no ticket.
To stop being asked for routine steps, an allowance records your decision on the host: merge a pull request, close an issue, push the agent’s own branch. lea allow deliver allows the whole push, pull request and merge cycle; lea allow lists what you allowed and lea allow off takes it back. Allowances.
With a team at work, the Control Tower asks you one question at a time, whatever the number of agents waiting on you: the others queue by priority, and H pauses its inbox while you answer.
Highlights
lea deck
Your agents in a column, the selected one’s terminal next to it. Each row shows its state, context use, branch and its own report on its task.
Close the terminal: they keep working, and the next
leareattaches. T picks one of seven colour themes.Isolated by construction
The container sees your projects directory and a read-only allow-list of your agent configuration, plus the projects directory’s own Claude Code transcripts, writable. No home directory, no SSH keys, no cloud credentials, no Docker socket.
Online, on your terms
Egress goes through lea’s proxy, to an allowlist of public domains. Your LAN and link-local addresses are refused, and no DNS lookup leaves the container;
lea egress allowadds a domain live, from the host only.A real dev box
make testanddocker runwork: agents get their own rootless Podman inside lea, under seccomp and, on Linux, AppArmor.Any agent CLI
Claude Code is the default, with your own status line, and
lea config claudesets its settings in lea. Codex runs too, and through it any OpenAI-compatible endpoint (Ollama, vLLM); the endpoint’s key stays in the proxy.A control tower
The first agent is a Control Tower: you talk to it, it starts devs and reviewers, follows them and briefs you in a line per agent. Agents message each other and lease the files they edit; only you change a role.
Wired to the Locks
With
lox add, agents reach locksql, lockmq, lockfile, locklog and lockssh through their sockets, mounted read-only: writes still wait for your approval inlox run. Once turned on withLEA_LOCKHTTP=1in lea.conf, lockhttp gates the agents’ web requests. The consoles alone hold the credentials.Signed releases
Every release and image is signed with cosign. The installer and
lea updaterefuse a release whose signature does not check.
Quick start
Install with Homebrew (the box above). Docker must be running.
In the directory that holds your projects (not a project inside it), run
lea. The first run asks once whether you want lea deck or your own tool in the container, checks Docker, pulls and verifies the images, then opens lea deck. On Linux where Docker uses AppArmor, runlea initonce first: it asks for sudo to install lea’s AppArmor profile.cd ~/projects leaThe first agent is a Control Tower. Log in once (
/loginfor Claude Code), then tell it what you want done. Press n for an agent of your own, N for another Control Tower.When your agents need a database, a queue, files, logs or the web, add a Lock in the same directory and keep
lox runopen in another terminal, outside lea.lox add locksql lox run
A Lock added while lea runs reaches the agents once lea restarts: lea stop, then lea.
Know the limits
Every lea container shares the host kernel, unless you put the agents on gVisor or Kata: keep the host patched. What lea gives the agents, they can read, such as their own Claude Code or Codex login.
An agent can write files your host tools would run. lea reports changes to git hooks, risky git configuration and agent settings when the last session closes.