Skip to main content
This walkthrough creates one private Factory for a bounded Craftax policy experiment. Craftax is the example, not the product boundary: the same loop works for any objective with an explicit baseline, metric, evaluator, workspace, budget, and stopping condition.
This guide targets synth-ai[research] 0.16.0 and is bound to release source c98f5faa. Publish it only with the matching package release and backend Factory routes.

1. Install and authenticate

2. Define bounded work

SYNTH_RESEARCH_PROJECT_ID must identify an existing prepared project whose workspace contains the pinned baseline, evaluator, allowed source, model/provider references, and output path. Runnable-project creation requires the deployment-specific runtime and agent-profile contract; this quickstart does not guess those values. A Factory is not permission to read arbitrary organization resources.

3. Preview, inspect, and confirm

Keep the opaque preview token in process memory. The typed wake_due call replays the preview’s exact request contract and checks the returned receipt.

4. Inspect experiments and outputs

Open a WorkProduct in the dashboard from /smr/factories, or through its authenticated content endpoint. Treat a candidate as unaccepted until the configured evaluator records the held-out comparison.

5. Stop safely

Pause the Effort to prevent future wakes. Archive only resources created for this rehearsal after any active run reaches a terminal state:
Pausing a Factory or Effort does not imply that an already-started run was cancelled. Use the run’s explicit stop control when that is required.

REST API equivalent

For an already configured Factory, preview and confirm through the same backend boundary. Keep the opaque token in a shell variable and remove it from displayed output:
Do not run the confirmation request when ready is zero. Do not write preview, confirm, or shell tracing output to an evidence packet because each contains the opaque token.

MCP equivalent

Ask your MCP client:
The client should use smr_preview_factory_wake before smr_wake_due_factory_efforts and must not print the preview token.

Evidence boundary

The SDK examples are source-bound to release candidate c98f5faa. The release packet, not this guide, owns the final wheel hash plus the production Craftax run and WorkProduct receipts. This example does not substitute documentation for those receipts, claim every objective improves, or claim that long-horizon durability clocks are complete.