Local Operator
An open-source AI agent hub: organizations of collaborating agents that run on your own machine, around the clock.
Local Operator is the runtime that hosts, supervises and connects your agents. One session plans its work, runs tools, browses and remembers what it did. Give it a team and it becomes a manager that delegates to tool-restricted workers, messages sibling sessions in other repos, schedules its own follow-ups and picks them back up after you close the terminal. It runs on your machine, asks before it writes or executes, draws on the ChatGPT, Claude, Kimi, Grok, Z.AI and Qwen subscriptions you already pay for, and is MIT licensed.
Get it
| Surface | Where |
|---|---|
| Desktop app (macOS, Windows, Linux) | Latest release (always the newest build) · project website · or via npm, below |
| Terminal UI (TUI) (macOS, Linux, Windows) | One-line installer, below |
| Phone | lop mobile web relay, available now · native iOS/Android app in development, not yet in any app store |
| Browser extension | Chrome Web Store: let agents drive the Chromium browser you already use |
Install the desktop app from npm
npx local-operator-ui
Install the terminal UI
No Python needed: the installers use uv, which brings Python 3.12+.
macOS / Linux:
curl -LsSf https://raw.githubusercontent.com/damianvtran/local-operator/main/scripts/install.sh | sh
Windows (PowerShell):
powershell -ExecutionPolicy ByPass -c "irm https://raw.githubusercontent.com/damianvtran/local-operator/main/scripts/install.ps1 | iex"
With a package manager:
uv tool install local-operator # or: pipx install local-operator
Quickstart
lop # opens the setup screen
/login radient # recommended: one browser sign-in, many models, no API key needed
/login also lists every subscription (ChatGPT, Claude, SuperGrok, Kimi, Z.AI),
API key (OpenAI, Anthropic, xAI, Google, DeepSeek, OpenRouter, Mistral, Qwen)
and local server (LM Studio, Ollama, vLLM, llama.cpp). After sign-in Aida,
your chief of staff, says hello and helps you set up your first agents and
teams. esc stops the agent, /help lists commands, lop update upgrades.
Desktop app
Terminal UI (TUI)
More → getting started (plain pip,
local models, first-run details) · why Local Operator
Sections: Desktop app · Agent organizations · Agent mesh · Always on · Phone access · Subscriptions and providers · Terminal UI · Safety
Desktop app
The desktop app, Local Operator UI, drives the same sessions, teams, schedules and configuration as the TUI, and adds what a terminal cannot draw:
- a Chromium browser pane the agent can drive, with approval before it acts on a page;
- a file canvas for markdown, code, HTML, images, PDFs, spreadsheets, audio and video;
- pages for agents, teams, projects, schedules, the Agent Hub, the mesh and settings, behind a command palette.
The app bundles its own backend (or uses an existing lop install). It checks
GitHub Releases for new versions and installs one when you confirm.
More → desktop app guide
Agent organizations
- Subagents fan parallel work out into background workers; a live dock shows each worker's status, spend and progress.
- Roles are capability boundaries: a
reviewerkeeps read and test access but loses the tools to edit what it reviews, and the restriction is inherited at any depth. Starter roles (reviewer,coder,architect,manager,designer,scout,ux-reviewer, …) ship in the package. - Teams are saved rosters (a manager plus members) with a collaboration
brief and a project brief; swap the project brief to staff a different
product. Teams nest;
/team chart <name>draws the org chart. /team <name> <request>hands a request to a team;lop agentsandlop teamsmanage them from a shell.
More → organizations guide · agents · teams
Cross-agent messaging
A manager peeks at, questions, steers, pauses and resumes its workers through
hub. Independent sessions in different repos message each other with send
(lop send from a shell): leave a note, wake an idle peer, or redirect one
mid-turn. Every delivery leaves a receipt on both ends; it is loopback only and
bounded by your OS account.
lop sessions # every session on this machine
lop send "release cutter" --wake "the deploy finished; verify prod"
More → cross-agent communication · peer-messaging guide
Agent mesh
lop network pairs your own machines into a peer-to-peer mesh: their
sessions appear in one sidebar, and you can start, move, warm or stop a session
on another device without leaving yours. Pairing is a single-use token plus a
code two people compare on two screens; logins are brokered, not copied.
lop network init devmesh && lop network invite --role drive # on the owning device
lop network join @/path/to/token # on the other device
More → mesh walkthrough · network guide
Always on
- Wakes schedule future turns and persist; on macOS a wake supervisor fires
them even after the terminal is closed (
lop wake status). - Background jobs (
task,bash background=true) report back on their own;waitblocks until something settles instead of polling. lop exec --backgrounddetaches a whole task; paused subagents resume after a restart.- The mobile daemon keeps every session reachable from your phone.
More → always-on guide
Phone access
lop mobile install runs a supervised daemon that serves a phone web client
for every lop session on the machine: watch transcripts stream, steer a
turn, switch model, run slash commands, drill into subagents and start new
sessions. It binds loopback only; reach it remotely through a
Cloudflare Tunnel
with Access, or Tailscale. Or just ask the agent to
"set up phone access".
The native Local Operator Mobile app for iOS and Android talks to the same relay. It is in development: no build is published in any app store yet.
Web relay (lop mobile), available now |
|
| Native app, in development (not yet in any store) | |
More → phone access · mobile reference
Browser extension
The free Local Operator extension
lets the browser tool drive Chrome, Edge, Arc or Brave with your real logins,
through a loopback bridge pinned to your extension by a pairing code. The agent
asks before reaching a new site.
lop browser install && lop browser pair # then enter the code in the extension popup
More → browser extension · browser tool reference
Subscriptions and providers
Sign in with accounts you already have. Two accounts on one provider form a
rotation pool; when a pool is spent, the request walks your model fallback
chain. /usage shows quota windows and spend, /failovers the cascade.
| Provider | Sign in / key |
|---|---|
| ChatGPT / OpenAI | lop login openai (Plus/Pro; openai-device headless), or OPENAI_API_KEY |
| Claude / Anthropic | lop login anthropic (Pro/Max), or ANTHROPIC_API_KEY |
| Kimi (Moonshot) | lop login kimi / kimi-wechat, or KIMI_API_KEY |
| Grok / xAI | lop login xai-oauth, or XAI_API_KEY |
| Z.AI (GLM) | lop login zai-oauth (GLM Coding Plan), or ZAI_API_KEY |
| Qwen (Alibaba) | lop login alibaba-token-plan-oauth, or API key |
| Meta Muse Code (unofficial) | lop login meta-muse (limitations) |
| Google Gemini · DeepSeek · Mistral | GOOGLE_AI_STUDIO_API_KEY · DEEPSEEK_API_KEY · MISTRAL_API_KEY |
| OpenRouter · Radient | OPENROUTER_API_KEY · lop login radient (automatic per-step model selection) |
| LM Studio, Ollama, vLLM, llama.cpp, OpenAI-compatible | /login, your own server, optional token (guide) |
The prompt is laid out for provider prompt caches: a stable prefix, cache-aware pruning of stale tool output, a longer Anthropic cache window for large contexts, and lazily loaded skills and MCP tools.
More → subscriptions and failover · providers · cache efficiency · Radient
Terminal UI
A full-screen Textual app: every tool call is an expandable card or a one-line receipt, approvals show the exact command, and the status line tracks step, tokens and cost.
| Command / key | What it does |
|---|---|
/model, /effort, /fast |
Switch model · reasoning effort (shift+tab cycles) · fast mode |
/approvals |
Whether tools ask first (ask / auto) |
/resume, /new, /reload, /update |
Past sessions · fresh conversation · relaunch · upgrade |
/goal, /loop |
Set an objective a judge checks each turn · iterate toward it |
/team, /skills, /mcp, /search |
Teams · loaded skills · MCP servers · web-search providers |
/usage, /context, /session, /failovers |
Quota and spend · context contents · session cost · model cascade |
/credential |
Hand over a secret as a masked chip the model never reads |
/network, /move |
Mesh peers and sessions · move a session between devices |
/btw, f8 |
Side question off the record · aside without losing your draft |
$<skill> |
Run a named skill on the rest of the line |
esc · ctrl+b · ctrl+t / ctrl+g |
Stop the agent · sidebar · to-do list / subagent panel |
Type while the agent works and your message lands as steering at its next step.
More → TUI tour, full command and key tables
What the agent can do
bash, a persistent Python eval, read/write/edit/glob/grep/lsp,
load-balanced web_search (free providers first), web_fetch, browser,
todo, ask, secret, and the organization tools (task, hub, jobs,
wait, send, agent, team, wake). Skills (SKILL.md folders) are
indexed semantically and load on demand; MCP servers load tool schemas only
when enabled.
More → tools, web search, skills and MCP · MCP reference
Headless and server
lop exec "summarize the failures in ./test.log" # exit code 0 = success
lop exec "review the change" --team release --background
lop serve # FastAPI on 127.0.0.1:1111
More → headless and server modes · exec reference · SDK
Configuration and credentials
Configuration lives in ~/.local-operator/config.yml (lop config list, or
/settings in the TUI); machine-wide instructions in
~/.local-operator/system_prompt.md, plus ~/.agents/AGENTS.md if present.
Provider keys (lop credential), OAuth logins (lop login), session
credentials (/credential) and the AES-256-GCM encrypted long-term store
(lop secret) are separate, each with its own guarantees and limits.
Optional extras (server, mcp, images, tokenizer, fetch, lsp, all),
Nix and Docker are covered too.
More → installation options, configuration, credentials and shell environment
Safety model
- Approval-gated by default: reads run; writes, commands and scheduled
wakes ask first, showing the exact command.
/approvals autoor--yoloopt out explicitly. - Visible receipts for every tool call; peer messages arrive as distinct cards.
- Roles cannot escalate, and neither can anything they delegate to.
- Loopback only: peer messaging, the mobile daemon and the browser bridge bind to loopback and authenticate.
- Local-first option: a local model with
lop search offandlop fetch set enabled offkeeps every prompt on the machine.
More → safety model · endpoint protection
Contributing
See CONTRIBUTING.md for bug reports, development setup and pull requests; AGENTS.md is the working guide for agents changing this codebase, and docs/REWRITE.md covers the architecture. The documentation map, evaluation catalog and benchmark catalog index current guidance, reusable tooling and historical records.
Credits
Local Operator's implementation was shaped by studying these open-source projects; thank you to their authors and contributors: opencode (Dax Raad and the Anomaly team) · oh-my-pi (Can Bölük), building on Pi (Mario Zechner) · DeepSeek Harness (DeepSeek AI; not reviewed or endorsed by them) · pstack (Lauren Tan) · superpowers (Jesse Vincent) · anthropics/skills (Anthropic) · ux-ui-agent-skills (plugin87) · claude-skills (Jeremy Dawes) · agent-config (event4u-app) · platform-design-skills (ehmo) · microsoft/skills (Microsoft) · mattpocock/skills (Matt Pocock) · awesome-agent-skills (VoltAgent). What each one informed, and a note on reuse and credit: credits in full.
Core contributor: Damian Tran <damian@gominerva.com>.
License
MIT. See LICENSE.
Metadata
Release files for local-operator 0.102.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| local_operator-0.102.1-py3-none-macosx_11_0_universal2.whl | Python 3 | none | macOS 11.0+ universal2 (ARM64, x86-64) | Details for local_operator-0.102.1-py3-none-macosx_11_0_universal2.whl |
| local_operator-0.102.1-py3-none-any.whl | Python 3 | none | any | Details for local_operator-0.102.1-py3-none-any.whl |
Total release size: 37.4 MB
Release files / local_operator-0.102.1-py3-none-macosx_11_0_universal2.whl
| Download URL | local_operator-0.102.1-py3-none-macosx_11_0_universal2.whl |
|---|---|
| Size | 18.8 MB |
| Tags | Python 3 macOS 11.0+ universal2 (ARM64, x86-64) |
|
SHA-256 checksum How to use checksums |
3ed50a0e1fc40b00a81aaf175689fa7ef22b9cbf4bc12649cd193aa156a2489a
|
|
BLAKE2b-256 checksum How to use checksums |
55b39876f081ed6a3fce3d93aff55140bc942e1ad320524d593bcfe84ccacd6e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.
Transparency logRelease files / local_operator-0.102.1-py3-none-any.whl
| Download URL | local_operator-0.102.1-py3-none-any.whl |
|---|---|
| Size | 18.6 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b98fbd000c79e21f393edea207070500e01d301a081fbfde41e9159008670987
|
|
BLAKE2b-256 checksum How to use checksums |
df6c19bcaf6723693f7633e1e5d2bd8e51a0c95095ed17f588fbbfdbedf9b05e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.
Transparency logSecurity for local-operator 0.102.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for local_operator-0.102.1-py3-none-macosx_11_0_universal2.whl
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.