Provable, declarative multi-agent workflows for Claude Code (typed .slang, non-LLM executor).
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.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Slang Workflows.
list_workflowsDiscover `.slang` files (name, title, params, agent count).
get_slang_grammarConcise grammar cheatsheet + example, so an LLM can **generate** a workflow to run inline.
validate_workflowParse + static analysis (deadlocks, unknown refs, orphan outputs) without running. Accepts a `name`/`path` **or** inline `source`.
run_workflowRun a workflow by `name`/`path` **or** inline `source` (rejects parse/static-analysis errors first). Synchronous by default; `background:true` returns a `workflow_id` immediately to poll live.
get_workflow_stateSerialized `FlowState` (per-agent status, round, budget) by `workflow_id` β live during a `background` run.
get_topologyRun topology as a Mermaid **flowchart** (status-colored snapshot) by `workflow_id`.
Run provable, .slang-driven multi-agent workflows inside Claude Code.
A non-LLM state machine (the slang executor) runs inside an MCP server and coordinates agents;
each agent is a Claude Agent SDK session. You declare the collaboration in a typed .slang
file and the executor enforces it β typed output contracts, static analysis, tool-scoping, and
provable termination β instead of leaving coordination to the model. The top-level Claude Code
session only triggers and observes; it never makes a coordination decision.
Claude Code's native dynamic workflows also codify orchestration (Claude writes a JS script); slang's difference is that the structure is enforced and statically analyzable, and runs render as Mermaid topology + trace diagrams. See the benchmark for the A/B/C head-to-head.
Origin. The
.slangWorkflow engine was born in Shofer β the AI-agent VS Code extension β where the deterministic, non-LLM executor was first built. This plugin brings it to Claude Code.
Design and rationale:
DESIGN.md. Language reference:slang_specs.md. Privacy:PRIVACY.md.

The top-level Claude Code session only triggers and observes β it never makes a coordination
decision. The non-LLM executor reads your .slang file, dispatches each stake to an Agent
SDK session (one long-lived session per agent, resumed across rounds), checks every result against
its output contract (retrying on failure), routes it through the mailbox, and repeats each
round until the workflow's converge condition or round budget is met. Runs render as Mermaid
topology and trace diagrams; escalate @Human surfaces back to you in the normal chat.
Concrete workflows (each is a .slang file you run with run_workflow):
implement-feature.slang) β an Architect
decomposes your request and writes the design doc, but is scoped so it physically cannot write code
(write_paths: ["**/*.md"], deny: [Bash]) and must delegate. You approve the design (escalate @Human),
then a Developer implements it slice-by-slice while a Reviewer signs off each round, with a final
review gate before it commits.implement-feature-complex.slang) β a linear
Design β Implement β Test β Review β Document pipeline where five specialists each produce one artifact
(the implementation, a passing vitest spec, usage docs) and can't do another's job β so code, tests, and
docs actually match the design. Converges only when every stage has committed.debug.slang) β paste the symptom/repro; two
developers root-cause it in parallel, strictly read-only (no accidental edits), an Orchestrator
consolidates their independent findings into one fix plan, one developer implements it, and the other
peer-reviews the fix in a loop until satisfied.read/execute and no write
scope, so a "check my work" run can run tests and read code but cannot alter it β enforced, not just prompted..slang file and driven by a
deterministic (non-LLM) executor, so a run unfolds the same way every time β no improvised, unrepeatable
subagent coordination.write_paths restricts each agent's Write/Edit to path globs and
deny removes tools (e.g. Bash), enforced via the SDK's canUseTool β not merely requested in a prompt.validate_workflow detects deadlocks, unknown references, and
orphaned outputs at parse time, before any tokens are spent.output: {β¦} where <expr>); invalid results retry instead of silently propagating downstream.budget: rounds(N)) + per-stake timeouts guarantee every run finishes.get_topology) and a sequence-diagram
trace (get_trace), for live or post-mortem inspection.Claude Code already has a built-in dynamic workflows feature: when a task needs orchestration, Claude
writes a JavaScript script (via the Agent SDK / Workflow tool) that spawns and coordinates subagents.
That's a real step up from improvised, one-off subagent calls β the script codifies the orchestration and,
once written, runs deterministically and coordinates for ~0 extra LLM cost. slang shares those goals; our
benchmark shows both approaches reach real, working implementations with near-zero
coordination-LLM cost. The difference is what the orchestration is, and what's guaranteed about it:
| Native dynamic workflows | slang-workflows | |
|---|---|---|
| The orchestration is⦠| an LLM-authored JavaScript script | a typed, declarative .slang file run by a fixed non-LLM executor |
| Who wrote the coordination logic | Claude, per task, in a general-purpose language | you (or an LLM, once) in a domain-specific language the runtime understands |
| Output contracts between stages | whatever the script happens to check | enforced by the runtime β structural + semantic (output: {β¦} where <expr>); invalid β retry |
| Per-agent tool scoping | up to the script | enforced β write_paths / deny via the SDK's canUseTool |
| Correctness of the structure | nothing checks the JS | static analysis before running β deadlock / unknown-ref / orphan-output |
| Termination | up to the script | provable β budget: rounds(N) + per-stake timeouts |
| Observability | instrument it yourself | auto-generated Mermaid topology + sequence-diagram trace |
| The reusable artifact | a script the model regenerates each time | a versioned .slang file + a fixed interpreter |
In short: native dynamic workflows put the orchestration in LLM-written code you have to trust; slang puts it in a typed declaration the runtime validates and enforces β analyzable before it runs, scoped and contract-checked while it runs, and rendered as diagrams after. Reach for slang when you want guarantees and auditability (safety-scoped agents, provable termination, contract-valid hand-offs, a reusable versioned workflow), not just "the model coordinated some subagents this time." Both are far better than unstructured subagents β slang trades a bit of up-front declaration for enforcement and repeatability.
.slang workflows β authored or LLM-generated inline (MCP tools below).escalate @Human.output: {...}, via SDK outputFormat) + semantic (where <expr>).write_paths (Write/Edit restricted to path globs, via a PreToolUse
command hook) and deny (remove native or MCP tools).validate_workflow): deadlock / unknown-ref / orphan-output detection before running.budget: rounds(N) + per-stake timeouts β the run always finishes.get_topology (Mermaid flowchart) + get_trace (Mermaid sequence + event log).background:true) with live polling of state/topology/trace.See DESIGN.md Β§ Implementation Status for the full matrix.
claude CLI on your PATH) β the Agent SDK
spawns it to run agents.Factual signals from GitHub, npm, and our automated checks β not a rating.
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/slang-workflows)<a href="https://allmcps.com/mcp/slang-workflows"><img src="https://allmcps.com/api/badge/slang-workflows?style=directory" alt="Slang Workflows on AllMCPs" /></a>