user@beadwork:~/NEW_TASK
LOCAL-FIRST MULTI-AGENT ORCHESTRATOR

Multi-Agent
Orchestration

Beadwork coordinates AI agent workers to complete coding tasks with durable state, retries, and intelligent merging. Works with Claude, OpenAI, VS Code, Cursor, pytest, ruff, black, and your entire development stack. Built for developers who value control and reliability.

BEADWORK TERMINAL
$

Powerful Features

Everything you need to orchestrate complex coding workflows

MOD: DAG_V1
DAG

DAG Workflows

Define complex workflows as Directed Acyclic Graphs with dependency resolution and concurrent execution.

SYS: STATE_MANAGER
STATE

Durable State

All task state is persisted to SQLite. Resume interrupted runs seamlessly with full history.

NET: RETRY_LOGIC
RETRY

Smart Retries

Automatic retry logic with exponential backoff. Configure max retries per task for reliability.

SYNC: GIT_OPS
GIT

Git Integration

Automatic branch creation per task, commits, and intelligent merging via the refinery step.

AUTH: SAFE_MODE
SECURE

Secure Execution

Safe mode by default with command allowlisting. Override with explicit unsafe flag when needed.

LIB: LLM_CORE
LLM

LLM Backends

Integrate Claude and OpenAI for AI-powered task execution. Automatic code extraction and artifact generation.

Claude OpenAI
NET: DASHBOARD
DASHBOARD

Web Dashboard

Real-time monitoring with FastAPI dashboard. Track molecules, beads, and agent status in your browser.

SYS: COORDINATOR
COORDINATOR

Coordinator Agent

AI-powered task breakdown and orchestration. Like Gas Town's Mayor - describe what you want, it creates the workflow.

MNG: FORMULA_SYS
FORMULA

Formula System

TOML-based reusable workflows with variable substitution. Define once, execute many times with different parameters.

IO: TOOL_COMPAT
TOOLS

Tool Compatibility

Works with pytest, ruff, black, mypy, ESLint, and all major testing and code quality tools. Integrates with GitHub Actions, GitLab CI, and popular CI/CD platforms.

[ coordinator agent ]

Coordinator Agent

AI-powered task orchestration. Describe what you want in natural language, and the coordinator creates your workflow automatically. Most intelligent local-first orchestrator built for developers.

Get Started
USER@BEADWORK:~/ORCHESTRATION
# Create workflow from natural language
gt coordinator create \
  --name "User Authentication" \
  --desc "Add login and signup functionality" \
  --backend claude

# Run the orchestrated workflow
gt molecule run molecule-abc123

# Monitor execution status
gt status
name: "User Authentication"
nodes:
  - id: bead-plan
    title: "Plan authentication"
    agent: planner
    
  - id: bead-code
    title: "Implement code"
    agent: coder
    depends_on: [bead-plan]
    
  - id: bead-test
    title: "Write tests"
    agent: tester
    depends_on: [bead-code]

Quick Installation

Get started in minutes with a single command

user@beadwork:~/setup
01

Install Beadwork

STEP_01 READY
uv pip install -e .
02

Initialize in Your Repo

STEP_02 READY
gt init
03

Create Your First Molecule

STEP_03 READY
gt molecule new --from examples/simple_molecule.yaml
04

Run It!

STEP_04 READY
gt molecule run <molecule_id>

Example Workflows

See how Beadwork orchestrates complex tasks

Coordinator Workflow

AI-powered task breakdown and orchestration

# Describe what you want
gt coordinator create \\
  --name "Auth System" \\
  --desc "Implement user authentication" \\
  --backend claude

# Coordinator creates molecule automatically
gt coordinator orchestrate \\
  --molecule molecule-abc123

Formula Workflow

Reusable TOML-based workflows

# List available formulas
gt formula list

# Execute a formula
gt formula cook release \\
  --var version=1.2.0

YAML Molecule

Traditional YAML-based workflow

name: "Feature Development"
nodes:
  - id: bead-plan
    title: "Plan feature"
    agent: planner
  - id: bead-code
    title: "Implement code"
    agent: coder
    depends_on: [bead-plan]

Core Concepts

Understand the building blocks of Beadwork

BEAD

Bead

An atomic work item with status, inputs, outputs, and retry tracking. Each bead represents a single task executed by an agent.

MOLECULE

Molecule

A workflow DAG of beads with dependencies. Molecules orchestrate multiple beads in the correct order with concurrency control.

AGENT

Agent

Workers that execute beads. Types include planner, coder, tester, reviewer, and refiner. Backends are pluggable (Mock, Shell, Claude, OpenAI).

REFINERY

Refinery

The merge and refine step that combines successful bead branches into a final PR-ready branch with test validation.

COORDINATOR

Coordinator

AI-powered orchestrator that analyzes tasks, breaks them down into beads, and manages execution. Like Gas Town's Mayor.

FORMULA

Formula

TOML-defined reusable workflows with variables. Define processes once, execute with different parameters. Perfect for releases, deployments, etc.

New in v0.2.0

Major features added to match Gas Town capabilities

LLM Backend Support

Integrate Claude and OpenAI for AI-powered task execution. Automatic code extraction and artifact generation.

Claude OpenAI
# Use Claude backend
gt coordinator create \\
  --name "Feature" \\
  --desc "Build feature" \\
  --backend claude

# Or OpenAI
gt new "Task" --agent coder
# Set backend in bead inputs

Web Dashboard

Real-time monitoring with FastAPI dashboard. Track molecules, beads, and agent status in your browser.

# Start dashboard
gt dashboard --port 8080

# Open http://localhost:8080
# View real-time status

Coordinator Agent

AI-powered task breakdown and orchestration. Describe what you want, it creates the workflow automatically.

# Create from description
gt coordinator create \\
  --name "Auth System" \\
  --desc "User login and signup"

# Orchestrate execution
gt coordinator orchestrate \\
  --molecule <id>

Formula System

TOML-based reusable workflows with variable substitution. Perfect for releases, deployments, and repeatable processes.

# List formulas
gt formula list

# Execute with variables
gt formula cook release \\
  --var version=1.2.0

Runtime Configuration

Per-agent configuration management. Set API keys, default agents, and runtime settings.

# Configure agent
gt config agent set claude \\
  --key api_key \\
  --value your-key

# Set default
gt config default-agent claude

Integrations

Use Beadwork with your favorite tools

Other Integrations

GitHub

GitHub Actions

Run workflows in CI/CD pipelines

View Action →
API

REST API

Programmatic access to all features

curl http://localhost:8080/api/molecules
CLI

Command Line

Full CLI with shell completions

gt completion bash
GitLab

GitLab CI

Integrate with GitLab pipelines

View Template →

Compatible Tools

Works seamlessly with your existing development stack

AI Models

Claude OpenAI GitHub Copilot

Code Editors

VS Code Cursor Neovim JetBrains

Testing

pytest unittest Jest Mocha

Code Quality

ruff black mypy ESLint Prettier

Package Managers

pip uv poetry npm yarn

CI/CD

GitHub Actions GitLab CI Jenkins CircleCI