Deterministic, resumable multi-agent Codex workflows, drivable from any MCP client.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Harness-agnostic, deterministic, resumable multi-agent workflows β written as plain JavaScript. Like wf, but wiff.
Fan a task out to a fleet of agents with a small script instead of a prayer. You write ordinary JavaScript with agent(), /goal stages, parallel(), and pipeline(); the runtime executes it in the background, journals every step, and β when a run dies halfway through β resumes it without re-paying for a single completed agent. A disposable MCP bridge talks to a persistent local daemon, so active workflows outlive the Codex, Claude Code, Cursor, or cron process that launched them while each child runs on Codex, Claude, Cursor, or Kimi.
When one stage must keep working until a condition is genuinely satisfied, make it a native Codex goal:
Wiff holds the workflow at that statement and continues the same Codex thread while its goal is active. The next stage starts only after the worker marks the goal complete; blocked, paused, or limited goals fail explicitly.
Put durable preferences in ~/.wiff/config.json, with optional project overrides in
<cwd>/.wiff/config.json:
Defaults fill missing agent options; matching rules are explicit user policy and override generated workflow options. Instructions are injected alongside the task, ordered fallback models may cross backends, and applicable preference changes invalidate cached results on resume.
There is no harness-agnostic workflow orchestration system. Every coding harness has some multi-agent story β Claude Code has its Workflow tool, Codex has subagents, Cursor has its own agents β but each one is welded to its harness: its runs live and die with that app, its state is invisible to everything else, and none of them can be driven from anywhere but their own chat window. wiff pulls orchestration out of the harness: a persistent local daemon owns execution and durable on-disk state while each harness gets a disposable stdio MCP bridge. Any MCP client β Codex, Claude Code, Cursor, a cron job β can start, disconnect from, watch, resume, or cancel the same runs, and the orchestration itself is a script rather than a conversation.
Ad-hoc multi-agent orchestration ("spawn some subagents for this") is also great until the run is 40 agents deep and something dies. Workflows-as-code give you:
Determinism β the orchestration is a script, not vibes. No time, randomness, filesystem, or network inside workflow code; agents do the external work.
Outlive the parent β closing or killing the launching MCP bridge does not interrupt a run. The detached daemon keeps executing, and another harness can reconnect with the run id.
Resume, not retry β every agent call is journaled with a stable key and an input hash. A graceful daemon restart automatically resumes durable active runs. After an abrupt daemon or machine crash, explicitly resume the safely interrupted run: unchanged completed agents replay from cache instantly and for free. Agents that were interrupted mid-turn re-run with a digest of their previous attempt's transcript injected ("here's what you already did β continue"), and worktree agents inherit their partial checkout instead of starting over.
That screenshot is the feature: the host was killed mid-synthesis, and on resume the four finished agents came back from the journal in 0ms β only the interrupted one re-ran.
Fail-hard semantics β a rejected agent fails the workflow loudly (parallelSettled() is the explicit opt-out). No silent nulls masquerading as success.
Visible scheduling β agents are journaled as queued before they acquire a runtime slot and running only when backend execution starts. Queue and execution durations stay separate, while owner heartbeats make a live-but-stalled workflow visible.
Isolation where it matters β isolation: "worktree" gives each writing agent a fresh detached git worktree. Clean ones vanish; dirty ones are kept and listed on the run for you to inspect or merge.
Personas β agentType: "reviewer" injects a markdown persona as the child's developer instructions, with frontmatter defaults for model/effort/sandbox.
Codex (plugin: MCP tools + the $workflow authoring skill):
Claude Code (plugin: MCP tools + skill):
Anything else β the server is on npm (@xxxoooxoxo/wiff) and the official MCP Registry (io.github.xxxoooxoxo/wiff), so registry-aware clients can install it by name, and everything else runs it with npx:
Or from a local checkout:
Then start a new Codex session and either invoke the bundled skill with $workflow or just ask: "run this as a resumable workflow."
Installing the plugin auto-approves its five workflow-controller tools so headless and desktop runs don't stop at an MCP approval prompt. Agent filesystem access is still governed per-call by sandbox.
The Codex plugin is just packaging. The engine underneath is a plain stdio MCP server, so any
MCP-speaking harness can orchestrate wiff workflows. The mental model: both the orchestrator
and the workers are pluggable β whoever drives, each agent() child runs on a backend chosen
from its model name: gpt-*/o* models run as native Codex threads via a local
codex app-server; current claude-fable-5, claude-opus-5, claude-sonnet-5, and
claude-haiku-4-5 modelsβor the moving fable/opus/sonnet/haiku aliasesβrun as headless claude
agents, composer-* and grok-* models (including cursor-grok-* slugs) run through the official Cursor SDK (@cursor/sdk) in-process, and
kimi-code/* models run as headless kimi processes. A workflow can mix them freely
(provider: "codex" | "claude" | "cursor" | "kimi" overrides the inference, WIFF_BACKEND
sets the fallback for unrecognized models). On the Claude, Cursor, and Kimi backends,
workspace-write requires isolation: "worktree"; Kimi's read-only mode is advisory because
print mode auto-approves tools and has no OS sandbox.
Requirements on the machine, regardless of harness: Node >= 22, git if you use
isolation: "worktree", and the runtime of whichever backend your agents use β Codex CLI
= 0.144.6 and/or
claudeCLI installed and authenticated,CURSOR_API_KEYfor Cursor agents, or thekimiCLI configured with the requested full model alias (for examplekimi-code/k3).
Claude Code β the plugin install above is the easy path. To wire just the server manually:
Tool calls go through Claude Code's own permission system; to skip per-call prompts, allow the
five tools in .claude/settings.json:
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/wiff)<a href="https://allmcps.com/mcp/wiff"><img src="https://allmcps.com/api/badge/wiff?style=directory" alt="Wiff on AllMCPs" /></a>