Examples
Examples
Composite operation examples showing how Noetic's seven primitives compose into real agent patterns.
These examples demonstrate how Noetic's primitives combine to solve real problems. Each one is a self-contained agent you can run directly.
| Example | Primitives Used | What It Does |
|---|---|---|
| Branching Agent | branch + step.run + step.llm + loop | Routes support tickets by keyword classification |
| Parallel Research | fork (all) + spawn + step.llm | Researches a topic from 3 perspectives in parallel |
| Pipeline Agent | branch + step.run + step.llm + loop + prepareNext | 3-stage text processing pipeline |
| Deep Agent | spawn + react + tool + memory layers | Full coding agent with filesystem, planning, delegation, and skills |
Running Examples
All examples live in packages/core/examples/ and require an OPENROUTER_API_KEY environment variable for LLM steps.
cd packages/core
OPENROUTER_API_KEY=your-key bun run examples/branching-agent.ts