Examples
Flow (compileFlow)
Live demo of compileFlow — YAML FlowDefinition compiled into a durable DAG, executed with a JSONL step log.
compileFlow from @agentskit/runtime turns a YAML FlowDefinition into a durable DAG. This example fetches stargazer counts for two GitHub repos in parallel, sums them, and renders a markdown digest.
▸ flow=octo-stars-digest runId=demo-run
order=fetch-react → fetch-vue → total → render
▸ fetch-react start
★ facebook/react → 235,492
✓ fetch-react donepnpm --filter @agentskit/example-flow dev#Related
Explore nearby
- PeerExamples
Interactive demos. For copy-paste code, see Recipes.
- PeerBasic Chat
The simplest use case — streaming AI conversation with auto-scroll, stop button, and keyboard handling. All in 10 lines with AgentsKit.
- PeerTool Use
AI assistants that call functions — weather, search, DB queries. Tool calls render as expandable cards.