Import map
Almost everything lives behind one facade. Import components, agents, tools, scorers, memory, openapi, observability, the server/gateway, db, time-travel, and errors fromsmithers-orchestrator.
smithers-orchestrator/gateway-client· the framework-free RPC/WS client.smithers-orchestrator/gateway-react· the React hooks and provider built on it.
How to read a page
Every export follows the same layout, so once you can read one you can read all of them:- A one-line summary of what the export does.
- A
tssignature block - the exact type you call against. ParamFieldrows for each parameter andResponseFieldrows for the return shape, with nestedExpandableblocks for object members.- A Throws note linking the relevant error in Errors when the export can fail loud.
- A short, runnable example.
- A footer line:
**Source** · **Tests** · **See also**, linking the GitHub source file, the test file that pins its behavior, and related guides.
Reference pages
Authoring
The factory functions that turn Zod schemas into a typed, durable workflow API.
Components
The full JSX component set: Workflow, Task, control flow, and composites.
Agents
Adapters that wrap CLI and SDK coding agents into a uniform interface.
Tools
Built-in tools and helpers for giving agents typed capabilities.
Scorers
Scoring functions that grade node output for loops and evals.
Memory
Cross-run fact storage and retrieval.
OpenAPI
Generate typed agent tools from an OpenAPI spec.
Observability
Metrics, logging, tracing, and OTLP integrations.
Server and gateway
The multi-run control plane: serve runs over RPC and WebSocket.
Gateway client
The framework-free browser RPC/WS client (subpath export).
Gateway React
React hooks and provider for the Gateway (subpath export).
DB
The Drizzle schema and helpers for the durable store.
Time travel
Fork, replay, and rewind runs from checkpoints.
Run a workflow
The runtime entry point that executes a SmithersWorkflow.
Types
The shared type surface: contexts, nodes, and workflow shapes.
Errors
The error classes Smithers throws and how to catch them.
Event types
The run event schema emitted to logs, streams, and the UI.
VCS helpers
Helpers for worktrees, diffs, and version-control operations.
Package configuration
The smithers.config fields and how the backend is resolved.
Launch a run (RPC)
The Gateway RPC method that starts a new run.