Dynamic workflows for the agent tool you already use.
Describe a process in plain language. The Model Context Protocol (MCP) host you already work in authors the workflow, validates it without spending tokens, and runs it. You choose the Agent Client Protocol (ACP) agent and model for every call.
“Implement the change, review it, revise it.”from your MCP host · agent CLI or editor
agentprism-workflows validatestatic parse · dry run · config probe · 0 tokens
AgentPrism
codex · gpt-5.6-solimplementation
parallel()
claude · opus[1m]correctness review
pi · moonshotai/kimi-k3product-truth review
structured resultrun kx7f-2mqarun · inspect · await · stop
gate()changes requested → implementation attempt 2
- “Implement the change, review it, revise it.”from your MCP host · agent CLI or editor
agentprism-workflows validatestatic parse · dry run · config probe · 0 tokenscodex · gpt-5.6-solimplementationparallel()claude · opus[1m]correctness reviewpi · moonshotai/kimi-k3product-truth review- structured result
run kx7f-2mqarun · inspect · await · stop gate()changes requested → implementation attempt 2
- Authored for you: the host agent writes the workflow script from your request. You do not have to learn the workflow language first.
- Validated for free: static parse, mock dry run, and a live config probe run before the workflow spends a single agent token.
- Routed per call: implementation on one provider, independent reviews on others. You set cost and quality per step.
Add one MCP server. Keep your tool.
Register AgentPrism in an agent CLI, editor, or other MCP host. The host receives the workflow tool, plus theauthor-workflow prompt when it supports MCP prompts.
npx -y @automatalabs/workflows mcpMCP host configuration
{
"command": "npx",
"args": ["-y", "@automatalabs/workflows", "mcp"]
}What you need
- Node.js 22 or newer
- an MCP host
- an authenticated backend agent CLI
AgentPrism bundles the Claude, Codex, and pi backends. OpenCode requires a separate opencode installation. Authenticate only the backends you route calls to.
Equivalent standalone server: npx -y @automatalabs/mcp-server
Open source under Apache-2.0. Verify the releases
Cost and quality, decided per call.
Routing is part of the workflow script. Pick a lower-cost route for bounded work, a stronger route for critical review, or a different provider for independent verification. AgentPrism never substitutes a similar model when a named route is unavailable.
gpt-5.6-solwrite-capable routeopus[1m]independent providermoonshotai/kimi-k3independent providerProbe the exact models, modes, and options before a run spends agent tokens: agentprism-workflows config. We recorded the model strings above from the live configuration catalog on 2026-07-22. Verify routing in the workflows guide
Keep control when a run outlives the turn.
Run in the foreground or background. Inspect current state, await for a bounded interval, stop the whole run or one in-flight call, and resume a new run from the completed work in the durable journal.
inspect- read status, result, and bounded run log
await- wait for a bounded interval
stop- stop a run or one in-flight call
resumeFromRunId- start a new run from journaled work
checkpoint()- record a human decision inside the run
| run ID | workflow | status | calls | updated |
|---|---|---|---|---|
kx7f-2mqa | implementation-review | paused · quota | 3 / 5 | 14:32 |
m2rc-8pvn | implementation-review | resumedreplay · 0 current provider tokens | 4 / 5 | 14:36 |
q1tm-4hks | implementation-review | complete | 5 / 5 | 14:41 |
Durability has limits. Background work does not survive MCP server process exit, host disconnect, crash, or machine loss: in-flight work stops and only the journaled prefix stays resumable. Replay guarantees journal and workflow-script integrity, not filesystem or external state. Provider quota limits or authentication failures pause a managed run instead of failing it. Verify the run-control contract
Give your agent tool a process it can run.
Connect the MCP server, follow the first-workflow tutorial, and inspect the public source behind every claim on this page.
npx -y @automatalabs/workflows mcp