patchwork-os
Patchwork OS is a local-first IDE bridge that connects AI agents to your development environment (VS Code, Cursor, Windsurf) via 177+ tools. Here's what you can do:
File Operations
Create, delete, rename, move, and read files (including unsaved buffer contents)
Edit files with precise line/column insertions, deletions, and replacements
Search by content/regex (ripgrep), find by glob, browse file trees, and watch for changes
Format files and organize imports via LSP or CLI tools
Code Intelligence (LSP)
Get diagnostics (errors/warnings) from TS, ESLint, Pyright, Ruff, Cargo, Biome, etc.
Navigate to definitions, references, implementations, and call hierarchies
Rename symbols across the codebase, get hover info, code actions, and signature help
Search workspace symbols, explain symbols with full type info and docs
Git & Version Control
Check status, view diffs/logs/blame, stage, commit, push, pull, fetch
Manage branches, stashes, and get full commit details with patches
Terminal & Command Execution
Create, list, and dispose integrated terminals; send commands and scripts
Run commands and wait for completion or specific output patterns
Execute allowlisted shell commands directly
Editor & UI
Open files, diff views, and HTML reports; manage editor tabs
Capture screenshots, read/write clipboard, jump to errors or symbols
Testing
Run tests with Vitest, Jest, Pytest, Cargo, or Go runners with filtering
Returns pass/fail results, failure details, and file:line locations
Planning & Task Management
Create, update, list, and delete Markdown plan files (
.claude-plan.md)Mark tasks complete/incomplete, add sections and tasks
Project & Session Context
Get project overview (dependencies, scripts), architectural context (modules, ADRs)
Save/retrieve cross-session handoff notes; collect a full IDE context bundle in one call
Automation & External Services
Trigger AI-powered recipes on events (file saves, git commits, webhooks)
Integrate with Gmail, Slack, Linear, GitHub, Sentry, Notion, and more via connectors
Approval queue for risky actions with an explicit kill-switch
Extensibility & Oversight
Hot-reloadable plugin system for custom tools
Oversight dashboard for approvals and activity logs
Runs fully local — you control models, data, and permissions
Provides tools for interacting with GitHub API, enabling PR management, issue tracking, reviews, and run logs.
Allows connecting to Gmail for email-related automation and workflows.
Allows connecting to Google Calendar for scheduling and event management.
Allows sending push notifications via ntfy.sh for alerts and updates.
Allows connecting to Slack for messaging and notifications.
Patchwork OS
You don't have an automation problem. You have a decision problem.
Every AI-agent horror story ends the same way: an action nobody stopped to question. Patchwork OS is the layer between the agent's impulse and the action — a local-first runtime where your AI can automate real work across your editor, GitHub, Slack, Gmail, and 45+ services, while anything consequential stops and asks you first.
Three ideas, one runtime:
Ask before acting. Every action is classified by blast radius — can it be undone, and how much breaks if it's wrong? Reversible things flow freely. Risky things wait in an approval queue with the evidence attached: what exactly will run, why it fired, and what happens if it's wrong.
Trust is earned, never assumed. Workers — named agents with jobs — start supervised and earn independence from their track record, per action type. Good at filing issues ≠ allowed to push code. One bad high-stakes action outweighs a hundred trivial successes. You set the ceiling; the math never raises it for them.
Every decision leaves a receipt. What was done, why it was allowed, and how it turned out — durable, replayable, explainable via
patchwork judgments, the dashboard's traces page, andpatchwork gate explain. When you approve something, you find out later whether you were right.
All of it runs on your machine: your model (Claude, GPT, Gemini, Grok, or local Ollama), your credentials, your logs. Nothing phones home unless you opt in to anonymous analytics.

90-second start (no editor required)
npx patchwork-os@beta init # scaffolds ~/.patchwork, prints your dashboard login
patchwork start # bridge + dashboardOpen http://localhost:3200. From the browser: run and schedule YAML recipes, connect services (Gmail, Calendar, Slack, GitHub…), review what your agents drafted, and approve — or refuse — anything that wants to leave the machine.
Prereqs: Node 22+. macOS, Linux, and native Windows (no WSL).
The hero workflow — Morning Brief:
patchwork connections connect gmail
patchwork connections connect google-calendar
patchwork recipe run morning-briefEvery morning: a digest of your email, calendar, and overnight agent activity lands in your inbox as Markdown, with any drafted replies waiting for your approval — never auto-sent. No connectors yet? --local runs it against Ollama with your clipboard and recent files.
Related MCP server: MCP HTTP Proxy
How it works
Recipes are plain YAML: a trigger (cron, file save, git commit, test run, or any webhook — iPhone Shortcut, Stream Deck, Home Assistant) plus steps. Share them like dotfiles, install them from the marketplace, or let the dashboard generate one from a sentence.
Workers are recipes with an identity and a track record. A worker that triages failing CI starts by only proposing ("this looks like a real break — file an issue?"). Confirm its filings were real and it earns a longer leash — for that job only. It can be demoted in one bad day. You can cap any worker permanently with one line of YAML.
The queue is where impulse meets judgment. Requests arrive sorted by blast radius with evidence inline. patchwork panic stops all automation instantly.
trigger → recipe/worker → [reversible? → run]
[risky? → approval queue → your yes → receipt]Also in the box: the Claude IDE Bridge
The foundation layer is a standalone MCP bridge that gives Claude Code eyes and hands in your editor — 177 tools: diagnostics, LSP navigation, refactoring with risk analysis, debugger, terminal, git/GitHub, file ops.
npm install -g patchwork-os
claude-ide-bridge install-extension # VS Code / Cursor / Windsurf / Antigravity
claude-ide-bridge --workspace .
claude --ide # in another terminalJetBrains via a companion plugin. Claude Desktop, Gemini CLI, Codex CLI, Grok Build, and claude.ai connect over stdio or HTTP. Use the bridge alone forever if that's all you need; the runtime is an optional layer on top.
claude --ide can't find an IDE? Set CLAUDE_CODE_IDE_SKIP_VALID_CHECK=true (patchwork init does this for you).
What's here
Decision layer — approval queue · blast-radius action classes · worker trust ramp · kill switch · decision receipts
Automation — YAML recipes · cron/file/git/test/webhook triggers · event hooks · multi-model (Claude, GPT, Gemini, Grok, Ollama)
Connectors — 45+, all writes governed by your policy: GitHub, Slack, Gmail, Calendar, Drive, Linear, Jira, Sentry, Notion, Stripe, PagerDuty, Datadog, …
IDE bridge — 177 MCP tools · VS Code-family extension · JetBrains plugin · plugins hot-reload (write tools mid-session)
Oversight — web dashboard · mobile push approvals (PWA) · halts/judgments CLI · trace memory across sessions
Deployment — your laptop · headless VPS with OAuth 2.0 (guide) · native Windows
Why not Zapier / an MCP server / a hosted assistant? Honest tradeoffs: documents/comparison.md.
Docs
Platform reference · Recipes & triggers · Worker autonomy · Plugin authoring · Architecture · Windows · ADRs
Telemetry
Off by default; nothing is sent unless you opt in. If you do: aggregate counts and latencies only — never paths, prompts, file contents, arguments, or anything from ~/.patchwork/. Details & source.
Contributing & support
Issues · Discussions · CONTRIBUTING.md
⭐ If this saved you a config file or a blown deploy, a star is the only signal I get that it's helping.
MIT © Oolab Labs
Maintenance
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Oolab-labs/patchwork-os'
If you have feedback or need assistance with the MCP directory API, please join our Discord server