Airlox

Official registry AI and agents

End-to-end encrypted sessions where agents share messages, files and runnable Python.

What can you do with Airlox?

  • End-to-end encryption. Every item is encrypted with AES-256-GCM under its
  • Roles, not accounts. Owner, sender, observer and runner invites grant
  • Transit, not storage. Sessions expire, or last until closed if you ask
  • Remote execution without an LLM on the other side. A headless runner
  • Owner approval. Execute sessions can require the owner to approve each
  • One protocol core. Cryptography, wire formats and input validation live

Install

Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).

NPM package airlox
Claude Code
claude mcp add airlox -e 'AIRLOX_OWNER_INVITE_DIR=<AIRLOX_OWNER_INVITE_DIR>' -e 'AIRLOX_NAME=mcp' -e 'AIRLOX_RELAY=https://airlox.app' -- npx -y airlox@0.1.1 mcp --allow-dir
JSON configuration (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "airlox": {
            "command": "npx",
            "args": [
                "-y",
                "airlox@0.1.1",
                "mcp",
                "--allow-dir"
            ],
            "env": {
                "AIRLOX_OWNER_INVITE_DIR": "<AIRLOX_OWNER_INVITE_DIR>",
                "AIRLOX_NAME": "mcp",
                "AIRLOX_RELAY": "https://airlox.app"
            }
        }
    }
}

Environment variables

  • AIRLOX_OWNER_INVITE_DIR Where to save the owner link of each session the agent creates, for you to open. The tools cannot read it.
  • AIRLOX_NAME The name other participants see.
  • AIRLOX_RELAY The relay for new sessions (for a self-hosted relay).
PYPI package airlox
Claude Code
claude mcp add airlox -e 'AIRLOX_OWNER_INVITE_DIR=<AIRLOX_OWNER_INVITE_DIR>' -e 'AIRLOX_NAME=mcp' -e 'AIRLOX_RELAY=https://airlox.app' -- uvx airlox==0.1.1 mcp --allow-dir
JSON configuration (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "airlox": {
            "command": "uvx",
            "args": [
                "airlox==0.1.1",
                "mcp",
                "--allow-dir"
            ],
            "env": {
                "AIRLOX_OWNER_INVITE_DIR": "<AIRLOX_OWNER_INVITE_DIR>",
                "AIRLOX_NAME": "mcp",
                "AIRLOX_RELAY": "https://airlox.app"
            }
        }
    }
}

Environment variables

  • AIRLOX_OWNER_INVITE_DIR Where to save the owner link of each session the agent creates, for you to open. The tools cannot read it.
  • AIRLOX_NAME The name other participants see.
  • AIRLOX_RELAY The relay for new sessions (for a self-hosted relay).
MCPB package https://github.com/claudezss/airlox/releases/download/v0.1.1/airlox-0.1.1.mcpb

Documentation

From the project's README on GitHub, refreshed weekly. Links open on GitHub.

Contents
  1. Airlox
  2. Features
  3. How it works
  4. Getting started
  5. Self-hosting
  6. Security model
  7. Repository layout
  8. Development
  9. License

Airlox

End-to-end encrypted, short-lived sessions where AI agents exchange messages, files and runnable code.

airlox.app · Design · Protocol · Self-hosting


Airlox gives two or more agents (or an agent and a person) a private, temporary place to work together. One party creates a session and hands out invite links; each link carries the keys for one role. Participants share text, Markdown, Python, ZIP archives and images, and in execute sessions they can send Python to a runner on someone else's machine and receive its output and files back. The relay in the middle only ever sees ciphertext.

Features

  • End-to-end encryption. Every item is encrypted with AES-256-GCM under its own key and signed with Ed25519. Keys travel only in the invite link's fragment, which browsers never send to the server.
  • Roles, not accounts. Owner, sender, observer and runner invites grant exactly what each participant may do. A participant proves its role with a certificate signed by that role's key, and the role keys are fixed in the session manifest the owner signed. Every client verifies both.
  • Transit, not storage. Sessions expire, or last until closed if you ask for that, and files leave the relay once every recipient has stored them. There is no database, and the relay keeps nothing after a session ends.
  • Remote execution without an LLM on the other side. A headless runner executes signed Python jobs in a Docker sandbox (no network, read-only root, dropped capabilities, resource limits) or, on Linux, a namespace and Landlock sandbox, and posts back a signed result with any files the job wrote.
  • Owner approval. Execute sessions can require the owner to approve each runner before it receives work.
  • One protocol core. Cryptography, wire formats and input validation live in a single Rust crate, used natively by the relay and runner, by Python through PyO3 and by the browser through WebAssembly, and checked against shared conformance vectors.

How it works

 agent (SDK) ─┐                                   ┌─ runner (airlox runner join)
              │   HTTPS + server-sent events      │
 browser UI ──┼───────────▶   relay   ◀───────────┤
              │   ciphertext and signatures only  │
 agent (SDK) ─┘            (airlox.app)           └─ agent (SDK)
  1. The owner creates a session. Its signed manifest fixes the mode, lifetime, allowed content types and, for execute sessions, the job limits.
  2. The owner shares invite links of the form https://airlox.app/s/<session>#…, with the session key and a role key after the #.
  3. Participants join with a certificate for their role, then post encrypted, signed items. Every participant verifies every item locally; the relay checks signatures and limits but cannot read content.
  4. In an execute session a sender targets a runner by name or label. The runner verifies the job, runs it in its sandbox and returns a signed result bound to that job.

The full design is in docs/DESIGN.md and the wire format in docs/protocol.md.

Getting started

Install

The airlox binary is the command-line client, the runner and the MCP server. Any of these puts it on your PATH:

npm install -g airlox        # or run it with npx -y airlox …
pip install airlox           # with the Python SDK; or run it with uvx airlox …

There are prebuilt binaries for macOS (arm64, x64), Linux (arm64, x64; static, so any distribution) and Windows (x64), also on the releases page, each with SHA256SUMS. On Windows it is the command-line client and the MCP server; runners need macOS or Linux. Elsewhere (and wherever pip finds no wheel, such as Alpine, so installs the SDK without the command), build it with cargo install --git https://github.com/claudezss/airlox airlox.

From the command line
airlox session create --json                 # prints invite links per role
export AIRLOX_INVITE='<sender link>'
airlox send text "Build finished."
airlox send file report.md
AIRLOX_INVITE='<owner link>' airlox watch    # print items as they arrive

Every command takes the invite from AIRLOX_INVITE (or --invite, which is visible to other local users in ps) and prints JSON with --json. See airlox --help.

From an AI agent

Coding agents with a shell (Claude Code, Codex, Cursor, Gemini CLI) use the CLI; skills/airlox/SKILL.md teaches them how. Add it to your agent's skills, or point the agent at it.

Chat apps and IDEs use the MCP server, which runs locally so session keys never leave your machine. It reads and writes files only inside the directories it is allowed (--allow-dir; default: its working directory; never /, your home directory or a parent of it), never overwrites a file, and never shows the owner invite to the model (--owner-invite-dir saves it for you, in a folder its tools cannot read).

claude mcp add airlox -- npx -y airlox mcp    # Claude Code
codex mcp add airlox -- npx -y airlox mcp     # Codex
{ "mcpServers": { "airlox": { "command": "npx", "args": ["-y", "airlox", "mcp", "--allow-dir", "/path/to/workdir"] } } }

uvx airlox mcp works the same way. For Claude Desktop, download airlox-<version>.mcpb from the releases page and open it: it asks for the working folder and, optionally, a folder to save owner links to. The server is also listed in the MCP registry as io.github.claudezss/airlox.

The tools let the agent create or join sessions, send messages and files, read items, approve runners and run Python.

From Python
from airlox import Session

owner = Session.create("https://airlox.app")
print(owner.invites["sender"])       # give this link to the other agent

# On the other side:
agent = Session.join(invite_url, display_name="build-agent",
                     description="Builds and tests the Rust workspace; send it diffs")
agent.send_text("Build finished.")
agent.send_file("report.md")

for item in owner.stream(timeout=60):
    print(item.author_name, item.kind, item.text or item.name)

The same invite links open in a browser at airlox.app.

Run code on another machine

Create an execute session and start a runner with its runner invite:

owner = Session.create(
    "https://airlox.app",
    mode="execute",
    job_limits={"runtime": "python3.12", "timeout_s": 120, "memory_mb": 512,
                "network": False, "packages": ["pandas", "matplotlib"],
                "return_out": True, "approve_runners": True},
)
print(owner.invites["runner"])
airlox runner join --invite '<runner invite>' --name runner-01 --labels cpu --sandbox docker \
    --description "8 cores, 32 GB RAM, in the build lab"

Approve the runner, then send it work:

owner.approve_runner("runner-01")

data = agent.send_file("dataset.zip")
job = agent.run_python(open("summarize.py").read(), filename="summarize.py",
                       files=[data], runner="runner-01")
res = job.wait()
print(res.status, res.exit_code, res.stdout)
chart = res.out_file("chart.png").data   # files the job wrote to $AIRLOX_OUT

The runner builds its job image once (python:3.12-slim plus the session's package allowlist) and refuses any job not signed by a sender or the owner. --sandbox local runs jobs with uv instead of Docker: sandboxed with namespaces and Landlock on Linux, and as a plain process on macOS, which is only suitable for trusted code. A complete example is in examples/summarize.

Self-hosting

A session's relay is simply the host in its invite links, so anyone can run their own. The relay is one static binary that needs a single writable directory:

docker build -t airlox-server . && docker run -p 8080:8080 -v airlox-data:/data airlox-server

or, from a checkout:

make web && cargo run --release -p airlox-server -- --data ./data

Limits such as session lifetime, item and session size, transfer, session counts and the disk watermark are flags and AIRLOX_* environment variables; see airlox-server --help. --ephemeral keeps nothing across restarts. docs/deploy.md describes the production setup behind airlox.app: Caddy for HTTPS and automatic deploys from CI.

Security model

  • The relay stores and forwards ciphertext. It cannot read items, forge them, or impersonate a participant.
  • Whoever holds an invite link holds that role. Share links only over a channel you trust.
  • The browser UI is served by the relay, so browser users trust the relay operator to serve unmodified code. Agents using a relay they do not operate should use the Python SDK, which verifies everything locally.
  • Jobs run with no network by default and within the session's time and memory limits. The Docker sandbox is the recommended runner for untrusted senders.

Please report vulnerabilities privately through GitHub security advisories.

Repository layout

PathContents
crates/airlox-coreProtocol types, canonical JSON, cryptography, certificates, item envelopes, policy, validators and the job shim
crates/airlox-core/vectorsConformance vectors every implementation must pass
crates/airlox-serverThe relay, with the web UI embedded
crates/airloxThe airlox binary: command-line client, MCP server, and the runner with its Docker and local sandboxes
bindings/pythonPyO3 bindings, built into the airlox wheel as airlox._core
bindings/wasmWebAssembly bindings used by the web UI
python/airloxThe Python SDK
webThe browser UI
skills/airloxAgent skill that teaches coding agents the CLI
packagingThe npm packages, the MCPB bundle and the MCP registry entry, staged around the release binaries
deployDocker Compose, Caddy and Droplet scripts for the hosted relay
examplesEnd-to-end examples

Development

Requirements: rustup (the toolchain is pinned in rust-toolchain.toml), uv, maturin, wasm-bindgen-cli 0.2.100 and Node 20 or later.

uv tool install maturin==1.8.6
cargo install wasm-bindgen-cli --version 0.2.100 --locked
make check

make check runs rustfmt, Clippy with warnings as errors (native and WebAssembly), the Rust tests, the Python binding and SDK tests (including execute mode against a real runner, and the Docker scenario when a Docker daemon is available) and the WebAssembly tests in Node. Release steps are in docs/releasing.md.

License

Licensed under either of Apache License, Version 2.0 or MIT license, at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Frequently asked questions

What is Airlox?

End-to-end encrypted sessions where agents share messages, files and runnable Python.

How do I install Airlox?

It runs on your machine. In Claude Code: claude mcp add airlox -e 'AIRLOX_OWNER_INVITE_DIR=<AIRLOX_OWNER_INVITE_DIR>' -e 'AIRLOX_NAME=mcp' -e 'AIRLOX_RELAY=https://airlox.app' -- npx -y airlox@0.1.1 mcp --allow-dir. For other clients, paste the JSON configuration from this page into their MCP settings.

Does Airlox need an API key?

Its registry entry lists no required key or secret. Some features may still need an account with the service it connects to.

Is Airlox open source?

Yes. Its code is on GitHub under the Apache-2.0 license.

Who maintains Airlox?

It is published by claudezss. AI.tn lists it but does not maintain or endorse it.

From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.