lbot
A local-first, client-server workspace for persistent AI teammates across machines.
A bot keeps its conversation and runs on the host you assign to it. A Linux bot can hand a build to a Mac bot in the same Space, and you can follow both from one desktop or browser. The control plane stores threads, routes messages, and handles approvals in a local SQLite database.
How it works
- Hard Space isolation. Work and Personal have separate credential homes, workspace roots, memory, host permissions, and message buses. A cross-Space handoff needs approval for the specific payload. The Lean 4 suite checks 291 theorems across Space isolation and other safety rules, with zero
sorry. Runtime conformance tests compare TypeScript decisions with the Lean oracle.
- Native-first harnesses. Bots run your installed
claude, codex, agy, or ACP CLI using the native home configured for their Space. They inherit its login, policies, and tools without a proprietary OAuth vault.
- Multi-machine execution. Run bots locally, in WSL, or on an SSH host. With SSH access and Node.js on the remote machine,
lbot host add user@host bootstraps the host daemon and attaches it to the running workspace.
- Linux computers without Docker. Each Space can boot Alpine or Debian in WebAssembly with
unkernel. Chromium runs inside the guest and streams its live desktop. Take the exclusive Screen Lock to type or click yourself. The guest egress policy blocks local and private network destinations by default. Hosts also support isolated headless Chromium profiles for background work.
- Open CLI peer bus. Configure
lbot mcp as a stdio MCP server in your terminal agent. From a directory bound to one Space, the agent joins as a peer alongside persistent bots and can delegate work to them.
- Desktop, web, and mobile. Electron and the web client share the same workspace. To open the PWA on your phone, run
lbot up --tailnet on a machine connected to Tailscale and follow the printed Tailscale Serve command.
Quick start
Desktop
Check the assets on the release you want for a macOS .dmg, Linux .AppImage or .deb, or Windows .exe. If an installer is unavailable, use the source build below. GitHub Releases
CLI
The CLI requires Node.js 24.13.1 or newer for the built-in node:sqlite used by the control plane. Start a workspace directly with npx:
npx @lucasacoutinho/lbot up
For a global install, run npm i -g @lucasacoutinho/lbot and then lbot up. The launcher attaches the local host and opens the web client.
From source
Use Node.js 24.13.1 or newer and pnpm 11.28.10.
git clone https://github.com/lucasacoutinho/lbot.git
cd lbot
pnpm install --frozen-lockfile
pnpm build:web
pnpm run up
Use the explicit run up form because pnpm reserves pnpm up for updating dependencies. In the web client, create a Space, bind a workspace directory, and create a bot using a harness you have signed in to on that host.
To attach an SSH host from this checkout, run pnpm bundle:host, then pnpm cli host add user@host in a second terminal. To run the full verification gate, install the Lean toolchain manager (elan) and run pnpm check from the repository root.
Documentation
- Vision and scope
- Client, control plane, and host architecture
- Lean proofs, runtime conformance, and trust boundaries
- Feature roadmap and verification status
- Third-party licenses and kernel source offer