Decide what counts
as work.
A board adapter defines assignment. Activity sources turn reviews, comments, and CI changes into signals that wake an agent.
Board + ActivitySource
Custom workflows for agents
Build custom workflows around the agents and tools you already use. Connect your task sources and communication tools through adapters to keep work flowing, for coding and non-coding tasks alike.
Run Patchwake locally on your own machine. Keep your workflow in its own project and upgrade the engine through npm.
Deterministic workflows. Fewer tokens. Lower costs. Patchwake runs coordination in code, saving model tokens for the work that needs your agent.
TypeScript · Node.js 22+ · Linux + macOS
See it in action
From a setup prompt to work moving through Trello and GitHub. One example of a workflow you can make your own.
01 / From prompt to process
Create a project, use your coding agent to build the workflow, then preview and launch your first task. Patchwake runs with your installed agent CLI and keeps task state and logs on your machine.
Start with the example in Customize and adapt it to your workflow. Enable recurring ticks after your first task works.
The npm installer becomes available with the first release; until then, use the source setup guide.
Node.js 22+ · Linux or macOS
Python + a C/C++ toolchain to
build fs-ext, the only runtime dependency.
# Create your editable workflow project
npm create patchwake@latest my-workflow
cd my-workflow
Create a project with a pinned engine dependency. Next, choose Customize to build your workflow with your coding agent.
npm start runs one tick. New reviews, CI activity,
and plan approvals need a later tick to resume work. Use your
workflow README to install a five-minute schedule, check its logs,
and keep the host awake.
02 / The moving parts
Deterministic rules decide when to start, when to resume, and where to send updates. Each scheduler tick checks for work and applies those rules in code, with no model call for scheduling. That saves tokens and money on routine coordination while your agent handles the task itself.
A board adapter defines assignment. Activity sources turn reviews, comments, and CI changes into signals that wake an agent.
Board + ActivitySource
One resumable session per task, in an isolated directory. The core handles concurrency, priority, crash backoff, and stalled turns.
Engine + AgentRuntime
Use the included console and audit channels, or add a channel for Slack, Teams, or your own tool. Notifications run last and cannot change scheduling decisions.
Channel
Choose your board and code host independently. Start with the included Trello + GitHub example using Claude Code or Codex CLI, or mix and match tools like Jira, Linear, GitLab, Bitbucket, and your own tools through custom adapters, all running on the same workflow engine.
Designed for the details
Scheduling, priority, and retry decisions run in code without model calls. Routine coordination uses no model tokens, saving your budget for the work that needs an agent.
A runtime-namespaced session ID, append-only log, and file-backed state let each task return to the same conversation between ticks.
An unreadable board is unknown, never empty. Failed observations preserve existing work instead of treating it as unassigned.
Repository mapping, review gates, and merge rules live in your adapters and task instructions.
Build around how you work