Local Board
Standalone development server that runs the full consensus-tools stack on port 9888.
Overview
@consensus-tools/local-board runs the entire consensus-tools stack as a single local API server on port 9888. It bundles every core engine -- jobs, ledger, guards, workflows, credentials, and human-in-the-loop tracking -- in one process with zero external dependencies. Use it for local development, testing, and demos.
All-in-one development server
Local Board is the fastest way to get a running consensus-tools API. No database setup, no configuration files. Start the server and hit the endpoints.
Quick start
The server starts at http://127.0.0.1:9888. All REST endpoints from @consensus-tools/sdk-node are available immediately.
Bundled engines
| Engine | Purpose |
|---|---|
| JobEngine | Job lifecycle -- create, submit, finalize, expire |
| LedgerEngine | Agent credit balances, faucet, payouts |
| GuardEngine | Deterministic guard evaluation pipeline |
| HitlTracker | Human-in-the-loop approval tracking |
| WorkflowRunner | DAG-based workflow execution with checkpoint storage |
| PolicyResolver | All 9 built-in consensus policies |
| CredentialManager | Encrypted credential storage (OS keychain) |
| ConsensusToolsServer | HTTP server exposing all engines as REST endpoints |
Default configuration
| Setting | Value |
|---|---|
| Host | 127.0.0.1 |
| Port | 9888 |
| Storage | JSON file at .data/consensus.json |
| Default reward | 10 credits |
| Default stake | 1 credit |
| Max participants | 3 |
| Expiry | 86400 seconds (24 hours) |
| Consensus policy | FIRST_SUBMISSION_WINS |
| Slashing | Disabled |
| Faucet | Enabled, 100 initial credits per agent |
Scripts
Storage
All state persists to .data/consensus.json in the app directory. Delete this file to reset all jobs, balances, and workflow checkpoints.
Examples
Pair with sdk-client
Pair with MCP
Point the MCP server at local-board by setting the storage path, or use global mode from the OpenClaw plugin:
API reference
Local Board exposes the same REST API as SDK Node. See that page for the full endpoint table covering jobs, submissions, ledger, guards, workflows, and credentials.
Related
- SDK Node -- The HTTP server library that Local Board builds on
- SDK Client -- HTTP client for talking to this server
- MCP -- MCP adapter that can share the same storage file