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.

Install with Homebrew
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
autoSELECT count(*) FROM orders LIMIT 1Approved by the lock’s rules; the agent never holds the password.
Write · dev-2 · locksql
askedUPDATE orders SET status = 'shipped' WHERE id = 88123Waits in lox 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.

What an agent in lea asks a Lock, and where you answer it.

See it run

Three agents (here Claude Code) work in the lea container. One pushes to github.com through the proxy; its attempts to read ~/.ssh and to reach 192.168.1.10 are blocked. Another asks for a permission, answered from the deck.
Three agents (here Claude Code) in one lea container. The proxy lets a push to GitHub through and refuses 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 lea command 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 off gives you your own tool in the container, and lea board, lea requests follow the agents.

  • lea deck, its interface

    What lea opens 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 web serves 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.

An agent with every permission granted, on your host and in lea
PropertyOn your hostIn lea
~/.ssh, ~/.aws, ~/.kube out of reachNoYes
Private network and cloud metadata refusedNoYes
The web limited to an allowlist of public domainsNoYes
No Docker socket, no way to root on the hostNoYes
GitHub token usable, never readableNoYes
make test and docker run still workYesYes
Every agent followed from one screenNoYes

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 lea reattaches. 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 allow adds a domain live, from the host only.

  • A real dev box

    make test and docker run work: 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 claude sets 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 in lox run. Once turned on with LEA_LOCKHTTP=1 in 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 update refuse a release whose signature does not check.

Quick start

  1. Install with Homebrew (the box above). Docker must be running.

  2. 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, run lea init once first: it asks for sudo to install lea’s AppArmor profile.

    cd ~/projects
    lea
  3. The first agent is a Control Tower. Log in once (/login for Claude Code), then tell it what you want done. Press n for an agent of your own, N for another Control Tower.

  4. When your agents need a database, a queue, files, logs or the web, add a Lock in the same directory and keep lox run open 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.

Without Homebrew, or step by step: the install guide

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.

Read the security model