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.

ExamplePrimitives UsedWhat It Does
Branching Agentbranch + step.run + step.llm + loopRoutes support tickets by keyword classification
Parallel Researchfork (all) + spawn + step.llmResearches a topic from 3 perspectives in parallel
Pipeline Agentbranch + step.run + step.llm + loop + prepareNext3-stage text processing pipeline
Deep Agentspawn + react + tool + memory layersFull 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

On this page