Skip to main content

Documentation Index

Fetch the complete documentation index at: https://superwire.dev/llms.txt

Use this file to discover all available pages before exploring further.

Expressions appear in provider settings, model settings, dynamic blocks, agent instructions, bindings, and final outputs.

Literals

"hello"
123
12.5
true
false

References

input.topic
secrets.api_key
agent.extract.summary
dynamic.project_context

Arrays and objects

["bug", "feature", "question"]

{
    project_id: input.project_id
    task_id: input.task_id
}

Dynamic blocks

A dynamic block builds an object at runtime. Each field is evaluated as a normal expression.
dynamic {
    example: 123
    readme: read resource.project_readme
    instructions: render prompt.writer_instructions
    another: {
        value: 123
    }
}
Dynamic fields may contain literals, object values, resource reads, prompt renders, agent outputs, tool calls, and other supported runtime expressions.

Tool calls

Use bindings {} to assign runtime values to the tool input schema.
dynamic {
    task: call tool.fetch_task {
        bindings {
            task_id: input.task_id
        }
    }
}

Resources and prompts

dynamic {
    readme: read resource.project_readme
    instructions: render prompt.writer_instructions
}

Context continuation

context(agent.investigate_task)
context(agent.name) returns the prior agent’s message history so another agent can continue the work.