yak.
yak.ad/lodge

Lodge

Host autonomous coding agents — Claude and Antigravity — on your own Linux servers: one set of accounts per agent, a privilege-split executor, a Telegram control chat, and signed upgrades.

builtin active use · public release 4 December 2026

Each agent is a few ordinary Linux users on your server. A Telegram chat starts, stops, logs in and upgrades them; you talk to the model itself in the vendor’s own app.

Lodge · relay1:42 PM
/agents1:42 PM ✓✓
lo
attached agents• alice — attached 3d ago
• bob — attached 3d ago
1:42 PM
alicebob
lo
[alice] ●claude running since 2026-11-21 09:12 UTC, 2 open session(s)
●antigravity running since 2026-11-21 09:12 UTC
▪claude logged in · max
▪antigravity logged in
◆commands run as the executor · last 2m ago1:42 PM
Message Lodge…
Lodge · relay9:05 AM
/auth bob antigravity9:05 AM ✓✓
lo
▪[bob] the login was sent to you privately9:05 AM
▪Antigravity login for bob
Open this, approve, then REPLY to this message with the code.

https://… (the vendor’s login page)9:05 AM
Antigravity login for bob4/0AVG7fiQ…9:06 AM ✓✓
lo
[bob] ✓authenticated · bob@example.com
▸the agent is running9:06 AM
Message Lodge…

Listing agents and reading one’s state; logging an agent in to Antigravity. The chat runs the fleet and nothing else. To work with the model, open the Claude app: Lodge runs Claude Code’s Remote Control server, so each agent appears there as a session named after it. Antigravity runs its own remote control the same way.

The control chat

/agentsLists the agents you can see, with a status button for each. A new chat’s Start button sends it too.
/status <agent>Which backends are running and since when, whether each is logged in, and when the model last ran a command as the executor.
/start · /stop · /restartStart, stop or restart an agent.
/auth <agent> [backend]Log an agent in: the bot sends the vendor’s login URL, and you reply with the code.
/upgrade <agent> · /upgrade relayBuild the signed release in the shared Nix store and move the agent onto it; or upgrade the relay itself.

Without an agent name, the bot offers buttons, one per agent. Owners are set per agent or for the whole fleet, by Telegram user id. Plain text gets no answer.

The design: Linux does the isolating

Every agent is three ordinary Linux users. The agent, <agent>, holds the model credentials and runs Claude Code and Antigravity. The executor, <agent>-exe, runs every shell command the model issues and holds no credentials. The manager, <agent>-mgr, is the agent’s side of the control chat. Two more accounts serve the whole host: lodge-relay holds the Telegram bot and routes owners’ commands, and lodge-store builds releases into a shared Nix store. Root installs.

The agent reaches its executor only through sudo, to run one command. The command text travels in an environment variable, so sudo’s log does not record it. The manager and the agent talk through a directory, not a shell. Nothing here is a novel security mechanism, and nothing is a virtual machine: it is the operating system’s own permission model, applied with care, so the agents can still build and test on hardware you never have to touch from your laptop.

Who holds what

Each agent is three ordinary Linux users. The shell commands its model issues run as the one that holds no credentials.

an owner’s command: chat → relay → manager → agent
chatTelegram
relaylodge-relayTelegram bothost-wide
per agent — three ordinary Linux users
manager<agent>-mgrcontrol chat
agent<agent>model credentialsClaude Code · Antigravity
executor<agent>-exenothingmodel commands run here
a directory, not a shell
sudo, one command
the executor, where the model’s commands run, holds no credentials
Host-wide, lodge-relay holds the Telegram bot and routes owners’ commands, and lodge-store builds releases into a shared Nix store. Root installs.
Credentials kept apart
The model credentials live in the agent account; the executor holds none.
One command through sudo
The agent reaches its executor only through sudo; the command text stays out of sudo’s log.
Ordinary accounts
Linux users and file permissions, set up by root at install.

Who holds what

Each agent is three ordinary Linux users. Its model’s shell commands run as the one with no credentials.

chatTelegram
relay lodge-relayTelegram bothost-wide
manager <agent>-mgrcontrol chat
agent <agent>model credentialsClaude Code · Antigravity
executor <agent>-exenothingmodel commands run here
a directory
sudo, one command
per agent — three ordinary Linux users
the executor, where the model’s commands run, holds no credentials
Host-wide, lodge-relay holds the Telegram bot and routes owners’ commands; lodge-store builds releases into a shared Nix store. Root installs.
Credentials stay with the agent.The executor, where the model’s commands run, holds none.

Claude Code and Antigravity, unmodified

Lodge does not replace a vendor’s agent with its own. Every agent carries Claude Code and Antigravity (Google’s agy CLI), unmodified, and runs each one that is logged in.

Antigravity is also wired into Claude. A Claude session can start sessions with Antigravity and use them the way a person uses Antigravity’s own interface: long-running conversations of many turns. Claude sends messages, reads the replies, and chooses the model each conversation runs on. That lets Claude run a task from the top and delegate parts of it to Antigravity, deciding how much context each session gets, how large a part of the task it takes on, and which Antigravity model suits it.

How it is built

One Go binary, lodge, is every daemon, every installer step and the shell shim. It is built with Nix and uses a small set of well-known libraries: cobra, go-telegram/bot, the MCP Go SDK and golang.org/x. MIT licence.

Releases build from git tags whose commits are signed. Root and the store both pin the one signing key the host was first installed with (Nix verifyCommit), so an upgrade runs only code signed by that key. /upgrade from the chat builds the release in the shared Nix store and moves the agent onto it. Each executor has its own Nix store, since the shared one is read-only to the model’s commands.

Installing on Ubuntu is one command as root: install.sh with a release tag and the agent’s name. It sets up a Nix of root’s own, pinned by sha256, then runs lodge install.

Where this stands

Per-agent accounts with a credential-free executor, the Telegram control chat, signed upgrades from the chatin active use
Claude Code and Antigravity on every agent; Antigravity as an MCP server inside Claudein active use
A declarative NixOS modulein progress
Each executor’s commands in a network namespace of their own: no access to services on the host’s loopback, and ports reachable from outside only when the owner exposes them from the chatin progress
Egress blocklists, as a follow-upin progress
Public release4 December 2026
Lodge is released on 4 December. Before then, it is available on request.Ask for access