.toon workflows you only need the Smithers package and the smithers CLI it provides.
You do not need React, JSX, or a TypeScript config unless you use run:, handler:, imported schemas, or imported Effect services.
Prerequisites
- Bun >= 1.3
- SQLite access on the local filesystem
Install the Core Package
- the TOON loader and compiler
- the durable runtime
- the
smithersCLI - the default SQLite-backed execution flow
Create a Project
Verify the Install
Createhello.toon:
smithers.db file and persists the step output there.
Optional TypeScript Support
If your TOON workflows import schemas, handlers, or services from TypeScript, add the dependencies those modules use:- imported
Schema.ClassorModel.Classdefinitions handler:functions that run Effect code- shared services loaded through
imports:
Agents in TOON
TOON files declare agents inline using theagents: block. No extra packages are needed — Smithers ships with built-in support for multiple providers (Anthropic, OpenAI, Gemini, and more) through the Vercel AI SDK.
anthropic, claude-code, openai, gemini, codex, and others. See the TOON Overview for details on declaring agents.
Optional TOON Plugins
If you need custom node kinds or additional services, write a local plugin file and import it:.toon file. They can register providers, node kinds, interpolation helpers, and supporting services.
Next Steps
- TOON Quickstart — Build a complete two-step workflow.
- TOON Overview — Understand the
.toonmodel and how it compiles. - TOON Spec — See the full file-format reference.