Recipes
End-to-end examples for common Flowneer patterns. Each recipe is self-contained and runnable — copy it, swap in your API keys, and go.
Available recipes
| Recipe | What it shows |
|---|---|
| Tool-calling Agent | createAgent + tool(), OpenAI function calling, multi-turn loop |
| Blog Post Generator | Sequential LLM pipeline, structured output, cost tracking |
| Resilient API Pipeline | Retry, timeout, circuit breaker, fallback |
| Streaming Chat Server | .stream(), server-sent events, Bun HTTP |
| Batch Document Processing | .batch(), .parallel(), structured output, shared reducer |
| Human-in-the-loop | humanNode, interrupt + resume, approval gates |
| Edge Runtime | CF Workers, Vercel Edge, Deno Deploy — zero-config, streaming, telemetry caveat |