Skip to main content

First Agent

1. Start runtime services​

make dev-up
make dev-seed

2. Start worker​

go run ./cmd/worker

3. Execute an agent run​

go run ./cmd/run --prompt "Fetch https://example.com and return the status code"

4. Inspect state​

go run ./cmd/query --workflow-id <id> --query current_state

5. Approve if required​

go run ./cmd/approve --workflow-id <id> --request-id <request-id> --approve=true

Deep Dive​

See Agent Workflow.