Skip to main content
Superwire workflows are built from declaration blocks and references between those blocks.

Declaration blocks

Use these blocks to define what a workflow needs, how it runs, and what it returns.

Typical flow

Most workflows follow this shape:
When MCP is used, tools/resources/prompts become additional inputs available to agents.

Common expressions

References are how data moves through the workflow. For example, agent.summarize.summary uses a previous agent result, while secrets.api_key injects a credential into provider config.

Naming

Prefer lowercase snake_case for schemas, agents, tools, resources, prompts, providers, models, and fields.