Superwire is a declarative DSL for controlled server-side AI workflows. It is designed for developers who are adding AI behavior to a real backend, not only experimenting with a prompt in a chat window or wiring a single LLM call into a controller. The easiest way to understand Superwire is to think of aDocumentation Index
Fetch the complete documentation index at: https://superwire.dev/llms.txt
Use this file to discover all available pages before exploring further.
.wire file as the contract for an AI feature. The file describes what the workflow accepts, which secrets it needs, which providers and model profiles are available, which MCP capabilities can be imported, which agents run, what each agent is allowed to use, how values move between steps, and what final JSON the application receives.
That contract matters because backend AI features usually need more than model intelligence. They need boundaries. They need predictable control flow. They need typed outputs that the application can consume without parsing prose. They need scoped tool access so a model does not receive every backend capability at once. They need enough structure that another developer can review the workflow later and understand what the AI feature actually does.
The core idea
Most agent systems begin with the model at the center. The developer gives the model a goal, a large prompt, and a set of tools, then asks it to decide what to do. That can be useful when the user is supervising the agent directly. It is less comfortable when the agent is part of a production application and may be operating on user data, creating records, calling internal services, or consuming tokens at scale. Superwire inverts that relationship. The application keeps control of the process, and the model reasons inside declared steps. A step can still use an LLM for judgment, summarization, classification, extraction, drafting, or planning, but the workflow author decides where that step sits, what data it sees, which tools it can call, and what shape it must return. This makes Superwire closer to backend infrastructure than to a prompt playground. A workflow can be versioned, reviewed, validated, tested, and executed through a runtime contract. The.wire file becomes a durable artifact that explains the AI behavior of the feature.