Skip to main content

Installation

The fastest way to install SirenSpec is the one-line install script:
This detects your environment and uses the best available installer (uv → pipx → pip). Python 3.11 or later is required.

Set Your API Key

SirenSpec reads provider credentials from environment variables. Set at least one:

Initialize Your Project

Run sirenspec init to scaffold a workflow interactively. It asks you to pick a template and a provider, then writes a workflow.yaml and a .env.example ready to run:

Run It

By default, SirenSpec displays a streaming view of node execution:
To see the full JSON execution trace, use the --trace flag:

Start from Scratch

Prefer writing YAML yourself? Create a file named hello.yaml:
hello.yaml
Then run it:

Override the Input at Runtime

Use --input (or -i) to pass a message from the command line, overriding any input.message defined in the YAML:

Validate Without Running

Check that your workflow is valid without making any API calls:

Try a Multi-Agent Pipeline

The Cookbook includes ready-to-run workflows. Clone the repo and try:

Next Steps

YAML Reference

Learn every field available in a workflow file.

Providers

Configure OpenAI, Anthropic, and Ollama.

Guardrails

Understand the built-in guardrail system.

CLI Reference

Full CLI command documentation.