Skip to main content
Local Operator logo

Local Operator

An open-source AI agent hub: organizations of collaborating agents that run on your own machine, around the clock.

PyPI version License: MIT Desktop app latest release

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.

The Local Operator desktop app: a navigation rail with chats, agents and teams, a session transcript with tool receipts, and a run pane with subagents and a to-do list

Desktop app

The Local Operator terminal UI welcome screen with tips and the composer ready for a first prompt

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.

A desktop app conversation with images inline: a pasted chart, a tool receipt for the plotting script, and the bar chart the agent rendered above its write-up

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 reviewer keeps 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 agents and lop teams manage them from a shell.

The desktop app's run pane during a fan-out: concurrent subagents, each with its role, elapsed time, context use and spend, above a shared to-do list

The desktop app's Agents and teams page with a team open: its manager, members with counts, collaboration instructions and project brief

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

The Local Operator sidebar with another device's running sessions grouped under that device's heading beside this device's own sessions

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; wait blocks until something settles instead of polling.
  • lop exec --background detaches a whole task; paused subagents resume after a restart.
  • The mobile daemon keeps every session reachable from your phone.

The desktop app's Schedules page listing recurring wakes by conversation with their cadence and next run

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.

The lop mobile web relay on a phone: the Conversations list with All, Needs you · 2 and Unread · 2 filters, Pinned and Active sections whose rows carry tags, working spinners, new, not answering and 2 asks markers, and a New button The lop mobile web relay on a phone: the Relay redesign review session, Working · 1m41s, with a transcript of code and measurement tables, a pinned working line with Stop, chips for 1 question, Agents 1/3 · 1 failed and Tasks 2/6, and the Steer the agent composer showing the model, context use and spend
Web relay (lop mobile), available now
The native Local Operator Mobile app: the conversations drawer with running and older sessions across several computers (Studio mini, Laptop, Build mini), the computer switcher, Team Bridge, and an Inbox, Past, Projects, Schedules and Library bar The native Local Operator Mobile app: the Refactor the relay client session, Working · 2m 09s, with tool rows, a cross-session message from the release owner, parent and subagent hand-offs, a pinned working line with stop, Tasks 3/5 and Agents 1/6 strips, 2 queued messages, and the composer with a mic button
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.

The terminal UI with a manager session and concurrent workers in the subagent dock, each showing elapsed time, context use and cost, above a shared to-do list

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 auto or --yolo opt 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 off and lop fetch set enabled off keeps every prompt on the machine.

More → safety model · endpoint protection

Examples

Example notebooks saved from live sessions:

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; benchmarks/ holds the exploratory benchmark kit and docs/ the verification evidence.

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.101.44

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for local-operator 0.101.44
File Interpreter ABI Platform Actions
local_operator-0.101.44-py3-none-macosx_11_0_universal2.whl Python 3 none macOS 11.0+ universal2 (ARM64, x86-64) Details for local_operator-0.101.44-py3-none-macosx_11_0_universal2.whl
local_operator-0.101.44-py3-none-any.whl Python 3 none any Details for local_operator-0.101.44-py3-none-any.whl

Total release size: 36.9 MB

Release files / local_operator-0.101.44-py3-none-macosx_11_0_universal2.whl

Download URL local_operator-0.101.44-py3-none-macosx_11_0_universal2.whl
Size 18.6 MB
Tags Python 3 macOS 11.0+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
781817299c54a665ce3fa6280fbb7b002feaae31b20d9a88b12a7e96bf1fc30f
BLAKE2b-256 checksum
How to use checksums
06a291fe2a0d2d0e8bb5b3651c6b1791e3d1a3dab2f77847d0d53007585c1b25
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 11, 2026.

Transparency log

Release files / local_operator-0.101.44-py3-none-any.whl

Download URL local_operator-0.101.44-py3-none-any.whl
Size 18.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
d7c095d1b0dd0134f021102803d249d127ac33a9bb50cbb2310a375acc606140
BLAKE2b-256 checksum
How to use checksums
ba205139e9c7bfd753a27214f4c7ada5d3b610ae00420d78ccb7921c4299a025
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 11, 2026.

Transparency log

Security for local-operator 0.101.44

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.

Select from 2 files

Attestation for local_operator-0.101.44-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 11, 2026.

Transparency log

A 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.

Release history Release notifications | RSS feed

This release

0.101.44 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page