Skip to content

What a graph is made of

A graph is a typed program that zeroshot enforces. The built-in templates (software-change, pr-review, code-review) are examples built from these parts.

Steps and structure

Part What it does
Agent step An agent does work with a typed input and output
Script step A local executable runs with JSON in and out
Script verifier A program you own decides a signal the graph routes on
Ask a person The run suspends until a person answers
Wait The run pauses until a time or for a duration
Parallel group Branches run side by side and join by all, any, quorum or first
Map One body runs for each item of a list
Loop A body repeats until a condition holds or its limit is reached

Running and reusing a graph

Part What it does
Saved profile Keeps a graph with its runtime settings for reuse
File workflow Takes files in and returns a folder of results
Stack Submits dependent runs to a hosted target
Active Memory Carries lessons from earlier runs into later ones
Python SDK Starts and follows runs from Python
ACP Serves a local graph as an Agent Client Protocol agent
Plugin Runs zeroshot from ChatGPT, Codex or Claude