createSmithers(...).
Prerequisites
- Bun >= 1.3
- TypeScript >= 5
Install
Install the core JSX dependencies:TypeScript Configuration
Create atsconfig.json like this:
jsxImportSource is the key setting. It tells TypeScript to use Smithers’ JSX runtime instead of a browser UI runtime.
Project Shape
A minimal JSX workflow project usually looks like this:Optional: MDX Prompt Files
If you want prompt templates in.mdx files, register the MDX preload plugin:
Verify the Setup
Once TypeScript and JSX are configured, continue to the quickstart and run the sample workflow:Next Steps
- JSX Quickstart — Build a working two-step workflow.
- Tutorial: Build a Workflow — Go deeper with schemas, agents, and output access.
- MDX Prompts — Use
.mdxfiles as structured prompt templates.