Discover MCPs & agents
Loading MCPs and agents…
Loading MCPs and agents…
A web dashboard and runtime for orchestrating AI coding agents
Fetched from the repository for this visit.
A web dashboard and runtime for orchestrating AI coding agents
Before You Start · Why Stoneforge? · Quick Start · How It Works · Web Dashboard · Customization · Development
Stoneforge is early-stage, experimental software under active development. Expect sharp edges.
This tool is built for developers who are already running 3–5 AI coding agents in parallel and need a better system for coordinating them. If that doesn't describe you, Stoneforge is probably not what you're looking for right now.
What you should know before going further:
If a single coding agent handles your workload today, you probably don't need this yet. It'll be here once you start running multiple agents in parallel.
Running one AI coding agent is simple. Running several in parallel — a planner, coders, a reviewer — breaks down fast:
Stoneforge is a multi-agent orchestration platform that solves these problems. Install it, start the server, and use the web dashboard to direct a team of AI coding agents. A Director plans the work, Workers execute in isolated git worktrees, Stewards auto-merge and clean up, and a dispatch daemon keeps everyone busy.
Beyond orchestration, Stoneforge merges the entire software project management stack into one agent-first platform — issues and tasks (replacing Linear/GitHub Issues), notes and documents (replacing Notion/Obsidian), messages and chats (replacing Slack/Discord), code and branches (replacing manual git workflows), and merge requests (replacing GitHub PR workflows). Everything lives in one system so agents never lose context switching between tools.
Stoneforge has two main layers:
@stoneforge/smithy) — the orchestrator. Spawns agents, dispatches tasks, manages sessions, handles worktree isolation and merge review. This is what you install.@stoneforge/quarry) — the underlying data SDK. Event-sourced task management, sync, and storage. Used by smithy internally; also available standalone for custom integrations.Claude Code now has an experimental agent teams feature — here's how Stoneforge compares:
| Claude Code Agent Teams | Stoneforge | |
|---|---|---|
| State | Ephemeral — file-based task list, no persistence across sessions | Event-sourced — SQLite + JSONL, survives restarts, full audit trail |
| UI | Terminal-only (tmux split panes or inline) | Web dashboard with real-time agent output, kanban boards, metrics |
| Branch isolation | Manual — "avoid editing the same file" | Automatic — each worker gets its own git worktree |
| Task dispatch | Lead assigns or teammates self-claim | Dispatch daemon auto-assigns by priority, respects dependencies |
| Merge | Manual | Merge steward runs tests, squash-merges on pass, creates fix task on fail |
| Communication | Lead-mediated messages, broadcast | Persistent channels with threading, inbox triage, searchable history |
| Knowledge base | CLAUDE.md only | Versioned document libraries with FTS5 + semantic search |
| Structured processes | Ad-hoc task lists | Playbook templates → resumable workflows with durable state |
| Provider lock-in | Claude Code only | Claude Code, OpenCode, or OpenAI Codex |
| Scaling | Single plan — limited by one account's rate limits | Multi-plan — split agents across multiple Claude MAX/Pro plans via custom executable paths (setup guide) |
| Status | Experimental, known limitations (no session resumption, task lag) | Usable today — some edge cases still have sharp edges |
Compared to running a single agent (Claude Code, Cursor), Stoneforge gives you parallel execution with coordination. Compared to background agents (Cursor background agents, Codex), it adds dependency-aware scheduling, merge automation, and a persistent knowledge layer. Compared to custom scripts and task runners, you get a web dashboard, event-sourced state, and merge review built in.
What you get:
# 1. Install the Stoneforge CLI globally
npm install -g @stoneforge/smithy
# 2. Initialize a workspace in your project
cd your-project && sf init
# 3. Start the server + web dashboard at http://localhost:3457
sf serve
# 4. Open the dashboard
open http://localhost:3457
Once the dashboard is running:
sf agent register director --role directorsf agent start <id>sf agent register e-worker-1 --role workersf agent register m-steward-1 --role steward --focus mergeAgents can use Claude Code (default), OpenCode, or OpenAI Codex as their underlying provider — set via --provider at registration or session start.
| Role | What It Does |
|---|---|
| Director | Your strategic planner. You describe a goal, the Director breaks it into tasks with priorities and dependencies. Runs as a persistent session. |
| Ephemeral Worker | Spawned automatically by the dispatch daemon to complete a specific task. Executes in an isolated worktree, commits, pushes, then completes or hands off. You register them and the daemon handles the rest. |
| Persistent Worker | Started and stopped manually (by you) for one-off or exploratory work. Runs an interactive session and is not auto-dispatched for tasks. |
| Steward | Handles maintenance workflows — merge review, documentation scanning, recovery of stuck tasks, custom repeatable workflows. Runs on triggers or schedules. |
The dispatch daemon is a background process (not an agent role) that watches for ready tasks and assigns them to idle workers. Start it with sf daemon start.
You ──── "Build feature X" ────▶ Director
│
creates plan
with tasks
│
▼
┌────────────┐
│ Task Pool │ ◀─── priorities, dependencies
└─────┬──────┘
│
daemon assigns ready
tasks to idle workers
│
┌───────────────┼────────────────┐
▼ ▼ ▼
┌───────────┐ ┌───────────┐ ┌───────────┐
│ Worker1 │ │ Worker2 │ │ Worker3 │
│(worktree) │ │(worktree) │ │ (worktree)|
└────┬──────┘ └─────┬─────┘ └────┬──────┘
│ │ │
commit & push commit & push commit & push
│ │ │
└────────────────┼───────────────┘
▼
┌──────────────┐
│ Steward │
│(merge review)│
└──────┬───────┘
│
tests pass? ──▶ squash-merge
tests fail? ──▶ task handoff created
agent/{worker-name}/{task-id}-{slug})The merge steward automates branch integration:
| Type | Purpose |
|---|---|
| Merge | Auto-reviews PRs, runs tests, squash-merges or creates task handoff |
| Recovery | Cleans up stuck merges and orphaned tasks |
| Docs | (Optional) Scans and fixes documentation accuracy |
| Custom | (Optional) User-defined workflow templates triggered by cron schedules or events |
Workflows are reusable sequences of tasks that execute in order with durable state. If a step fails, the workflow resumes from that step rather than restarting from scratch. Useful for multi-stage processes like build → test → deploy.
When a worker can't complete a task, it hands off — the task returns to the pool with context notes, and the next available worker picks it up with the existing branch and worktree intact.
The dashboard is organized by sidebar navigation groups. Open it at http://localhost:3457 after running sf serve.
Always-available right sidebar with an interactive terminal for the Director agent. Start/stop/resume sessions, see unread inbox count.
Override built-in role prompts per-project via .stoneforge/prompts/:
director.md, worker.md, persistent-worker.mdsteward-base.md, steward-merge.md, steward-docs.md, steward-recovery.mdRegister with --focus custom, attach cron/event triggers, and provide a workflow template.
Control concurrent execution with pool size limits. Manage via the Agents > Pools tab in the dashboard or sf pool create from the CLI.
Default provider is Claude Code. Also supports OpenCode and OpenAI Codex. Set per-agent at registration (--provider opencode) or per-session at start.
You do not configure API keys in Stoneforge. Authentication is configured within the underlying agent harness CLI (Claude Code, OpenCode, or Codex) and passes through to Stoneforge automatically.
┌─────────────────────────────────────────────────────────────┐
│ SQLite │
│ • Fast queries with indexes │
│ • Full-text search (FTS5) │
│ • Materialized views (blocked cache) │
│ • Ephemeral — rebuilt from JSONL on sync │
└────────────────────────────┬────────────────────────────────┘
│ sync
┌────────────────────────────▼────────────────────────────────┐
│ JSONL │
│ • Git-tracked, append-only │
│ • Source of truth for all durable data │
│ • Human-readable, diff-friendly │
│ • Mergeable across branches │
└─────────────────────────────────────────────────────────────┘
Key Principle: SQLite is the cache, JSONL is the source of truth.
The CLI is primarily used by agents internally — human operators mostly use the web dashboard. Full reference: CLI Reference.
sf serve Start server + dashboard
sf agent register|start|stop|list Manage agents
sf daemon start|stop|status Control dispatch daemon
sf pool create|list|status Manage agent pools
sf task create|list|ready|close Manage tasks
sf merge Squash-merge branches
sf init Initialize workspace
sf doctor Check system health
| Resource | Description |
|---|---|
| Introduction | Getting started guide |
| Architecture Overview | Architecture deep-dive |
| Orchestration Loop | Agent orchestration system |
| Reference | API and service reference |
| Guides | Task-oriented guides |
| Core Concepts | Conceptual documentation |
The documentation site is built with Astro and lives in apps/docs/. For the most up-to-date internal documentation, run:
# Clone the repo
git clone https://github.com/stoneforge-ai/stoneforge
cd stoneforge
# Init Stoneforge (make sure you've globally installed stoneforge NPM package)
pnpm install && sf init
# Start stoneforge server
sf serve
Then go to the Documents page and open the Documentation library. Use the Documentation Directory document to find relevant documentation.
Note: This section is for development and contributing to Stoneforge — not required for using the packages. To install Stoneforge for normal usage, see Quick Start.
# Clone the repository
git clone https://github.com/stoneforge-ai/stoneforge.git
cd stoneforge
# Install dependencies (uses pnpm)
pnpm install
# Start the orchestrator (most common)
pnpm dev:smithy
# Start everything (all 4 services)
pnpm dev
# Start just the data platform (quarry only)
pnpm dev:platform
pnpm build # Build all packages
pnpm test # Run all tests
pnpm lint # Lint all packages
pnpm typecheck # Type-check all packages
pnpm clean # Clean all build artifacts
To use Stoneforge packages in your own project:
npm install @stoneforge/core @stoneforge/storage @stoneforge/quarry
# Or install individual packages as needed
npm install @stoneforge/smithy # Agent orchestration
npm install @stoneforge/ui # React component library
import { createQuarryAPI } from "@stoneforge/quarry";
import { createStorage, initializeSchema } from "@stoneforge/storage";
// Create API instance
const storage = createStorage(".stoneforge/stoneforge.db");
initializeSchema(storage);
const api = createQuarryAPI(storage);
// Create a task
const task = await api.create({
type: "task",
title: "Implement feature X",
priority: 2,
createdBy: entityId,
});
// Query ready work (unblocked, open tasks)
const ready = await api.ready();
// Add a dependency
await api.addDependency({
blockerId: prerequisiteTask.id,
blockedId: task.id,
type: "blocks",
});
// Search documents with FTS5
const results = await api.searchDocumentsFTS("authentication flow", {
hardCap: 10,
});
┌─────────────────────────────────────────────────────────────┐
│ @stoneforge/smithy │
│ Agent orchestration, spawning, sessions, prompts │
└────────────────────────────┬────────────────────────────────┘
│
┌────────────────────────────▼────────────────────────────────┐
│ @stoneforge/quarry │
│ QuarryAPI, services, sync, CLI, identity │
└────────────────────────────┬────────────────────────────────┘
│
┌──────────────────┼───────────────────┐
│ │ │
┌─────────▼─────────┐ ┌─────▼───────┐ ┌────────▼─────────┐
│ @stoneforge/core │ │ @stoneforge │ │ @stoneforge/ui │
│ Types & IDs │ │ /storage │ │ React components │
└───────────────────┘ └─────────────┘ └──────────────────┘
| Package | Description | Key Exports |
|---|---|---|
@stoneforge/core | Shared types, errors, ID generation | ElementType, Task, Entity, Document, ErrorCode |
@stoneforge/storage | SQLite backends (Bun, Node, Browser) | createStorage, initializeSchema, StorageBackend |
@stoneforge/quarry | Core API, services, sync, CLI | QuarryAPI, SyncService, InboxService, CLI commands |
@stoneforge/smithy | Agent orchestration | OrchestratorAPI, SpawnerService, SessionManager |
@stoneforge/ui | React 19 component library | Button, Card, TaskCard, EntityCard, charts, hooks |
@stoneforge/shared-routes | HTTP route factories | createElementsRoutes, createEntityRoutes, etc. |
| App | Default Port | Description |
|---|---|---|
quarry-server | 3456 | Core Stoneforge API server |
quarry-web | 5173 | Element management dashboard |
smithy-server | 3457 | Agent orchestration API |
smithy-web | 5174 | Agent management dashboard |
stoneforge/
├── packages/
│ ├── core/ # @stoneforge/core
│ ├── storage/ # @stoneforge/storage
│ ├── quarry/ # @stoneforge/quarry
│ ├── smithy/ # @stoneforge/smithy
│ ├── ui/ # @stoneforge/ui
│ └── shared-routes/ # @stoneforge/shared-routes
├── apps/
│ ├── quarry-server/ # Core API server
│ ├── quarry-web/ # Element dashboard
│ ├── smithy-server/ # Orchestration API
│ └── smithy-web/ # Agent dashboard
├── docs/ # Documentation
└── .stoneforge/ # Project configuration & workspace
Contributions are welcome! Please see CONTRIBUTING.md for guidelines.
All contributors must sign a Contributor License Agreement (CLA) before their pull request can be merged. The CLA bot will prompt you automatically on your first PR.
This project is licensed under the Apache License 2.0.
GitHub checked 111h ago - refresh overdue. Recently viewed repositories target hourly refresh.