Demo Mode
Demo mode lets you try Stoneforge without any API keys or paid subscriptions. It configures all agents to use the opencode provider with the minimax-m2.5-free model — a free-tier model that requires no authentication.
Getting started with demo mode
-
Install the Stoneforge CLI
Terminal window npm install -g @stoneforge/smithy -
Initialize a workspace and enable demo mode
Terminal window cd your-projectsf initAfter initialization, enable demo mode from the dashboard Settings page or by setting
demo_mode: truein.stoneforge/config.yaml. This configures all default agents (director, workers, steward) to use the freeopencode/minimax-m2.5-freeprovider. -
Start the server and dashboard
Terminal window sf serveThe dashboard opens at http://localhost:3457.
-
Start orchestrating
Follow the same steps as the Quick Start — register additional agents, start the Director, and give it a goal. All agents will use the free model automatically.
What demo mode does
When demo mode is enabled:
- All agents are configured to use the
opencodeprovider with theminimax-m2.5-freemodel - No API keys are required — the model is free to use
- The
demo_mode: trueflag is set in.stoneforge/config.yaml - Previous agent configurations are saved so they can be restored when you disable demo mode
Demo mode affects the provider and model settings for every agent in the workspace. All other Stoneforge features — task planning, dependency tracking, worktree isolation, auto-dispatch, merge stewards — work exactly the same.
Enabling and disabling demo mode
Via the dashboard
Once your workspace is running, you can toggle demo mode from the Settings page in the dashboard:
- Open the dashboard at http://localhost:3457
- Navigate to Settings
- Find the Demo Mode toggle
- Toggle it on to enable or off to disable
When you toggle demo mode on, all agents switch to opencode/minimax-m2.5-free. When you toggle it off, each agent’s previous provider and model are restored.
Via the config file
You can also edit .stoneforge/config.yaml directly:
# Enable demo modedemo_mode: true
# Disable demo modedemo_mode: falseLimitations of the free model
The minimax-m2.5-free model is a free-tier model suitable for trying out Stoneforge, but it has limitations compared to production-grade models:
- Smaller context window — may struggle with large codebases or complex tasks
- Lower capability — less accurate code generation and reasoning compared to Claude, GPT-4, etc.
- Rate limits — free-tier models may have lower rate limits than paid providers
- Best for exploration — ideal for learning how Stoneforge works, not for production workloads
For production use, switch to a more capable provider like Claude Code or configure multiple providers for different agent roles.
Upgrading from demo mode
When you’re ready to use a production provider:
-
Disable demo mode via the dashboard Settings toggle (this restores previous agent configs)
-
Install your preferred provider CLI (e.g.,
npm install -g @anthropic-ai/claude-code) -
Authenticate with the provider (e.g., run
claudeto set up your API key) -
Reconfigure agents if needed:
Terminal window sf agent register director --role director --provider claude-codesf agent register e-worker-1 --role worker --provider claude-code
API endpoints
Demo mode status and toggling are available via the REST API:
| Endpoint | Method | Description |
|---|---|---|
/api/settings/demo-mode | GET | Get current demo mode status |
/api/settings/demo-mode/enable | POST | Enable demo mode |
/api/settings/demo-mode/disable | POST | Disable demo mode |
The status response includes:
{ "enabled": true, "provider": "opencode", "model": "minimax-m2.5-free", "savedConfigCount": 4}