OpenWorker: 21k Stars on an Approval Ladder
Andrew Ng's OpenWorker reached 21,085 stars in four months, but the durable work is architectural: hard permission floors, approvals that graduate into allowlists, and a Rust harness that runs each agent in its own container.

Permission tiers, audit provenance and a container per agent are the product.
Executive Takeaway: Andrew Ng's repo reached 21,085 stars four months after its July 2026 launch, but the durable contribution is not the coworker UI. It is that permissions were treated as architecture: hard floors no mode can lower, approvals that graduate into standing rules, and an audit record that stores who approved each tool call and why.
The repository carries two agent engines. A Python server built on aisuite powers the desktop app; a separate Rust harness ships as @openworkerai/harness-sdk. That split explains why an SDK exists at all, and it is also where the feature-parity risk lives.

andrewyng/openworker (MIT, 21,085 stars)
1 · What Actually Changed
The bottleneck was never model quality. It was letting the agent act.
Agents that touch local files and connected apps stall on one question: what is this thing allowed to do? OpenWorker answers in code paths rather than in a system prompt, which is a different engineering claim.
Two engines, one repository
A Python desktop server and a separate Rust harness
The desktop app runs coworker/server on top of aisuite, supervised by a Tauri shell. The SDK runs a Rust engine, managed as a child process by the TypeScript package or embedded in-process by Rust hosts. Same repo: 8.3 MB of Python against 6.9 MB of Rust.
- Why it matters: the risky part of a desktop agent is the process that holds your keys and your filesystem, not the chat panel.
- Cost: two runtimes, two test suites, two release trains to keep in step.
The ladder: three rungs of autonomy
One-off approval, then standing rule, then allowlist
Actions are approval-gated by default. One-off approvals can graduate into standing rules, then into config allowlists, and each step stays visible and revocable. In auto-approve mode a reviewer model passes routine calls and escalates anything uncertain.
Repeated denials trip a circuit breaker that pauses the reviewer and returns control to the human. Unattended runs never self-approve: their requests park in an inbox.
Audit records carry provenance
Auto-approved, user-approved or denied, with reasoning
Every tool call is persisted with the conversation and tagged with how it was approved plus the reviewer's rationale. "Who did this, and why" becomes a lookup instead of a log archaeology exercise.
| Layer | Decides | Enforced by |
|---|---|---|
| Hard floors | Never delegated | Human escalation |
| Approval ladder | May the agent act | Gates + audit log |
| OpenShell box | Can the agent reach | Linux container |
OpenShell: one container per agent
Landlock and seccomp per process, allowlisted hosts
Sandboxing is layered on top of permissioning rather than replacing it. Each agent gets a Linux container holding the session folders and nothing else: no keys, no other files, only allowlisted network hosts. The loop, credentials and connectors stay outside the wall.
On macOS the same boundary uses the built-in sandbox; on Windows, a hidden local account that cannot read your profile.

2 · Numbers & Landscape
Attention arrived in July. Distribution is still catching up.
Attention is far ahead of installs
21,085 stars against 937 weekly npm installs
The repository is genuinely busy: 1,279 commits, 231 of them in the last 30 days, and 77 contributors. The published SDK is one month old and still in beta, which is the number to watch before committing a product to it.
| Metric | Value |
|---|---|
| GitHub stars | 21,085 |
| Forks | 3,057 |
| Commits | 1,279 |
| Commits, last 30 days | 231 |
| Pull requests | 697 |
| Contributors | 77 |
| Open issues | 464 |
| npm installs per week | 937 |
Source weight by language
Rust is not a sidecar here
GitHub's language byte counts put Python and Rust within 17 percent of each other. This is not a Python project with a Rust helper; it is a dual-engine codebase where the SDK engine is roughly the same mass as the app engine.
The gravity well around it
aisuite 16.4k stars, OpenShell 22.3k
The engine descends from aisuite (16,447 stars), and the sandbox comes from ai-openshell/openshell (22,274 stars, created February 2026). OpenWorker now out-stars the library it was extracted from, which is unusual for a spin-out.
3 · Limits, Costs & Counterarguments
Read the beta tags before you read the star count.
Stars are not installs
937 installs a week is a pilot, not a platform
The SDK was first published on 6 November 2026 and sits at 0.1.0-beta.6 across seven versions. The README tells SDK integrators to hold off on pull requests while the API evolves, which is an honest signal about churn risk.
Two engines, one feature list
Every new capability is now a parity debt
The desktop app's Python engine and the SDK's Rust engine are separate implementations. Machines, approvals and sandboxing landed app-first; assuming the SDK surface matches the app surface at any given commit is the fastest way to a bad estimate.
Sandboxing assumes Docker, and Windows i
Container isolation requires a local daemon
OpenShell needs Docker or Docker Desktop on macOS, Windows and Linux; without it the app falls back to OS-specific primitives. Windows builds are not yet code-signed, so SmartScreen warns on install.
The reviewer model is a judgment call
Their own docs call verdicts non-guarantees
An LLM reviewer that auto-approves routine actions is a probabilistic gate. The design admits this and leans on hard floors plus the audit trail as backstops, which is the correct posture but not a proof.
Community reaction was quiet
9,682 likes on X, a handful of points on HN
Ng's launch post drew 9,682 likes and 1.18M views, while the same week's Hacker News submissions of the site collected single-digit points. Social reach and practitioner scrutiny are landing on very different schedules.
4 · Operator Playbook
Where to spend the first hour, and what to skip.
Adopt now, or wait one release
Buyers versus builders
Adopt now: teams that need a local-first agent over files plus 25+ connectors, and want the approval ladder as reference architecture. Wait: anyone shipping the SDK into a customer-facing product before 0.1.0 leaves beta, or needing a signed Windows installer today.
One-hour evaluation path
Run the server, hit the token header
Clone, bootstrap, start the Python server, then call it with the per-launch token the server writes. This exercises the engine without touching the SDK's moving API.
git clone https://github.com/andrewyng/openworker && cd openworker
bash packaging/setup_dev_env.sh
.venv/bin/python -m coworker.server.run --cwd ~/project --port 8765
TOKEN=$(cat ~/.local/state/openworker/sidecar-8765.token)
curl -H "X-OpenWorker-Token: $TOKEN" localhost:8765/healthEmbedding it in your own app
The SDK path, in fifteen lines
const harness = await Harness.start({ stateDir: '.ow-state', sandbox: 'off' });
await harness.setModelProvider({ name: 'OpenAI', api: 'responses',
credentials: { apiKeyEnv: 'OPENAI_API_KEY', storage: 'memory' } });
const agent = harness.createAgent({
name: 'eval-v1', instructions: 'Be concise.',
defaultModel: { provider: 'OpenAI', name: model },
tools: [], planning: false, memory: false, scheduling: false });
const session = await agent.newSession();
console.log((await session.run('List three risks.')).finalOutput);SQLite locally, Postgres as a service
Pick the deployment shape before the model
Local apps can persist to SQLite in-process. API/worker separation, shared PostgreSQL and separately managed execution environments require the optional agent service. Deciding this later means a state migration, so decide it in week one.

5 · Verified Sources
Primary material, all reachable today.
Harness SDK README (architecture, approvals)
Release notes v0.3.0 (OpenShell, Machines, CLI)
中文导读:OpenWorker:把授权写进架构,而不是写进提示词
四个月 21,085 星,OpenWorker 真正的贡献在架构:不可下调的权限底线、可升级为白名单的授权阶梯,以及让每个 agent 跑在独立容器里的 Rust harness。