Agent samples

Learn agent-compose through small, runnable projects. Each sample explains its use case, workflow, commands, and expected result.

Agent Creator

Agent Creator turns a natural-language requirement into a minimal, maintainable agent-compose project and validates it with the real CLI. When explicitly requested, it can also import the generated project into the daemon.

Chat Agent

This minimal chat assistant shows that the same agent-compose project can be invoked through either the daemon CLI or its Connect RPC HTTP API.

Dynamic Workflow (Experimental)

The sample handles an incident investigation whose graph size is unknown at deployment time. A planner derives 1–4 hypotheses from the actual failure domains. The runtime creates one investigator per hypothesis, after which an evidence judge may add 0–3 verification agents.

Event-driven Workflow

This sample chains three independent agents through persistent events to produce analysis, implementation advice, and test advice. It is not tied to GitLab or GitHub, and the roles do not need to share a sandbox.

Scheduled Agent

This sample runs the same agent through four paths: cron, recurring interval, one-shot startup timeout, and an external event.