OpenWorker
Open-source AI coworker that lives on your desktop and delivers finished work — security reviews, documents, Slack replies — with your own model and 25+ integrations.
What is this?
OpenWorker is an open-source AI coworker that lives on your desktop and hands you finished work. Not a chat window that suggests what to do — an agent that reads your codebase, checks your Slack, drafts the reply, and asks before it sends anything. 18k stars, MIT license, built by Andrew Ng's team.
What problem does it solve?
Chatbots answer questions. Work gets done by... you, after the chat ends. You still have to review the code, write the document, send the email, update the ticket. The AI gave you a starting point and bounced.
OpenWorker tries to close that gap. You tell it what you need — "prep me for the customer call at 3pm" — and it reads your inbox, calendar, Slack, and Jira, then hands you a brief. For anything consequential (sending a message, changing a calendar, running a command), it checks in first. You approve, it executes. You redirect, it adjusts.
How does it work
"prepare a customer brief"
│
▼
task broken into steps
│
▼
works across your files, terminal,
and 25+ connected apps
│
▼
something consequential?
┌─────┴──────┐
▼ ▼
you approve you redirect
│ │
└─────┬──────┘
▼
finished deliverable
(document, diff, report, reply)
The architecture is three layers. A native desktop shell (React + Tauri) on top. A local Python agent server in the middle — that's the engine, with tools, connectors, and the agent loop. And your files, your terminal, and your integrations at the bottom. Everything runs on your machine with your keys.
The governance model is the interesting part. Four tiers: hard floors (some things are always human-only), a ladder of earned autonomy (approvals graduate into standing rules, then allowlists), a full audit trail, and a sandbox for anything the agent executes. The agent can't grant itself permissions, and no prompt can talk it past a gate.
Repository Structure
andrewyng/openworker/
├── coworker/ # Python backend — the engine
│ ├── agents/ # agent definitions and loop
│ ├── connectors/ # 25+ integrations (GitHub, Slack, Jira...)
│ ├── providers/ # model providers via aisuite
│ ├── tools/ # tools the agent can call
│ ├── sandbox/ # NVIDIA OpenShell sandbox integration
│ ├── automation/ # scheduled and standing automations
│ ├── memory/ # session memory
│ ├── mcp/ # Model Context Protocol client
│ ├── skills/ # reusable skill packs
│ └── server/ # local HTTP agent server
├── surfaces/gui/ # desktop app — React UI + Tauri shell
├── stt/ # speech-to-text sidecar (Rust)
├── packaging/ # macOS DMG / Windows installers, auto-update
├── docs/ # design specs and decision logs
└── tests/ # backend test suite
Key Features
- Governed by design — four tiers of control: hard floors, earned autonomy, audit trails, and sandboxing. The agent can't escalate its own permissions.
- Security review coworkers — scans your codebase and dependencies for real risk. Findings come from deterministic scanners plus model reasoning, and proposed fixes get re-scanned before you approve them.
- 25+ integrations — GitHub, Slack, Jira, Notion, Linear, HubSpot, Outlook, monday.com, Gmail, Google Calendar, plus your terminal and local files. Any MCP-reachable tool plugs in too.
- Bring your own model — OpenAI, Anthropic, Gemini, DeepSeek, Kimi, Qwen, Mistral, Grok, GLM, and more. Open-weight models via Together/Fireworks, or fully local via Ollama.
- Standing automations — morning briefs, weekly reports, channel watches. Unattended runs never self-approve; their asks park in an inbox until a human answers.
- NVIDIA OpenShell sandbox — the agent's commands and file tools run inside a Linux container that holds only that session's folders. No keys, no other files, allow-listed network only.
- Slack-native — mention
@OpenWorkerin a channel and a session opens on your desktop. The work happens with your tools; the answer comes back as a thread reply.
What You'll Learn
- How to build a production desktop agent app with a Python engine and a React/Tauri shell
- How to structure agent governance — approval gates, audit trails, sandboxing — so it can't be prompt-injected away
- How to unify multiple LLM providers behind one interface using aisuite
- How to connect an agent to real tools via connectors and MCP
- How to run scheduled automations safely with human-in-the-loop escalation
- How to sandbox agent commands so a compromised tool can't reach your secrets
See it in action
Run it from source:
git clone https://github.com/andrewyng/openworker
cd openworker
# one-time bootstrap — creates the Python venv
bash packaging/setup_dev_env.sh
# start the local agent server
.venv/bin/openworker-server --cwd ~/some/project --port 8765
# in a second terminal, start the UI
cd surfaces/gui
npm install
npm run dev # browser UI — or: npm run tauri dev
Or grab the macOS or Windows build, add a model key (or point it at Ollama), and ask for something real. The coworker/ backend and docs/ design specs are worth reading if you want to understand how the governance tiers are actually enforced.
Need a machine that stays on while yours sleeps?
Self-hosted AI only works if the machine never sleeps. A cheap VPS runs your models, agents and APIs 24/7 — setup takes minutes and costs less than lunch per month.
See Hostinger VPS dealsDisclosure: some links on this page are partner links. If you sign up through them, we may earn a commission at no extra cost to you.
Want to learn more about this project?
Have questions or want to understand this technology more deeply? Send me a message.
Related Projects
OpenDots: AI Agent Workspace
OpenDots is a MIT-licensed template for persistent AI agents that each get their own computer, workspace and permissions. 5,579 stars. Covers per-Dot sandboxing, human-in-the-loop approval gates, MCP and Composio tools, voice calls and Slack.
The Ultimate Guide to Ghidra
Ghidra is the NSA's free, Apache-2.0 open-source software reverse engineering framework. 89,844 stars. Learn how to set it up, analyse binaries, decompile code and compare it against IDA Pro and AI agent tooling.
Reverse Engineer Anything (REA)
Reverse Engineer Anything (REA) is a viral open-source MCP server with 195,625 stars that connects Claude Code, Codex and Cursor to Ghidra, Hopper and IDA Pro. Learn how to decompile software with AI, connect Ghidra to Claude Code via MCP, and analyze ELF, PE, Mach-O, APK, Electron and WASM targets.
Discussion
Loading comments...