Skip to content
developervarietyPublic
forked from jchristn/Armada

About

Armada is a multi-agent orchestration system to allow humans to scale when working with multiple AI agents

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

Armada Logo

Armada

Run a fleet of AI coding agents across all of your repositories: in parallel, isolated, reviewed, and on the record.
Fork of jchristn/Armada | v1.0.0

Upstream vs Fork | What You Get | Quick Start | Configuration | Clients and APIs | Documentation | License


Armada is a self-hosted coordinator for the coding agents you already use: Claude Code, Codex, Gemini CLI, Cursor, Mux, OpenCode, and any model behind an API endpoint. You describe the work. Armada hands it to agents (captains), gives each one its own git worktree (dock) and branch, runs it through the stages you choose (plan, implement, test, review), lands the result the way you choose (merge, pull request, or merge queue), and records every log, diff, and decision in a database you can query later.

This repository is a fork of jchristn/Armada. It shares the core model (fleets, vessels, captains, missions, voyages, docks, pipelines) and takes upstream changes selectively. Its version numbers are independent of upstream. The fork focuses on:

  • Autonomous operation: an objective scheduler, recovery and rescue missions, incidents, and an audit queue.
  • Verified landing: a merge queue that proves delivery against the target branch and refuses unproven completion.
  • Routing: capability tiers and optional usage-aware captain selection.
  • Typed decisions: calibrated closed-question answers used as tie-breakers behind deterministic rules.
  • Retrieval: a code index, context packs and graph search for mission briefs.
  • Delivery records: checks, releases, deployments, incidents, and runbooks.

Upstream vs Fork

The fork is a divergent superset of upstream, so it syncs incrementally by cherry-picking reviewed changes, never by merging the whole history. The procedure is in CLAUDE.md. Upstream features that the fork keeps in tree but does not enable by default stay opt-in.

Differences from upstream

Area What the fork adds or changes Detail
Scheduling Objective backlog with an autonomous scheduler, dispatch readiness and campaign closeout guards with explicit evidence-backed scope retirement, bounded repeat-review stops, start-from-ref dispatch, and a persistent dispatch hold. Backlog, Scheduling
Pipelines and personas Reviewed pipelines with Judge acceptance evidence, blocked-stage questions routed to the dispatching operator, Linter and Recorder stages, structured Architect plans (v2 and v3) with an integration barrier. Pipelines, Personas
Routing Capability-tier routing, optional Smart Routing, and captain quarantine on repeated failure. Smart Routing
Typed decisions Calibrated typed-decision gate, off until a provider key is present, with a kill switch and observation review. Typed decisions
Landing Merge queue with exact-commit verification, delivery proof, LandingFailed handling, and bounded rescue missions. Merging
Delivery operations Checks, releases, deployments with rollback, typed terminal failure reasons, incidents, runbooks, workflow profiles, and environments. Delivery operations, Operational assets
Retrieval Code index, context packs, graph search, and unified recall through armada_search_context. Context index
API endpoints In-process tool loop for endpoint captains with deterministic compaction. REST API
Security Default-credential refusal on non-loopback starts, login lockout, route-authorization test, tenant-scoped reads. Upgrading
Storage Pre-migration backup with verified restore on all four database providers, storage inventory, history archive. Storage inventory, Archive
Evaluation Fixture battery and evaluation voyages kept out of production summaries. Battery

The changelog holds the complete record.

Upstream changes imported

The fork takes these upstream capabilities, some adapted:

  • Salted password storage with legacy upgrade, and the seeded-credential refusal (adapted).
  • Database protection: pre-migration backup and restore verification, per-file SQLite write queues.
  • Runtime and MCP evidence: typed provider failures, deferred caller-filtered tool catalogs, matching HTTP and stdio tool names.
  • Harbor execution: capacity waits, opt-in host-owned checkouts, fenced restart adoption, a jobs view and host chart.
  • Operator workflows: saved Ask conversations with approval proposals (adapted), saved Fleet Actions limited to Mission actions, checkout import, Needs You inbox items.
  • Storage inventory (adapted) and vessel health reports that never block dispatch.
  • Paged enumerate routes, typed HTTP and WebSocket error codes, and request limits.
  • Attempt provenance, evaluation flags, model probes, and a reduced fixture battery.
  • Non-root container image stage (opt-in) and staged Dashboard installation with rollback.

Upstream changes not imported

Upstream capability Reason
TUI and mobile app with server push Deferred; the Dashboard and Helm remain the supported clients.
CLI permission requests for missions and other runtimes The fork keeps mission launch policy; only saved Claude Code Ask turns route tool calls for approval.
Signed installers, package publishing, A/B-slot rebuilds Out of scope; Docker and local scripts stay the release paths.
Hosted CI workflow publication Held; local verification and the Linux gate remain.
Arbitrary shell Fleet Actions Excluded; saved actions dispatch missions through existing checks and landing rules.
Upstream routing, blocked-stage, and recovery replacements The fork keeps Smart Routing, exact-commit verification, incidents, and bounded rescue.
Stage-outcome store, failure classifier, escalation records, handoff artifact store The fork's attempt facts, Judge, incidents, and rescue rules stay the record.
Hard Judge exclusion of chain authors The fork's Judge preference is soft.
Native cloud model-endpoint providers (xAI, Ollama Cloud, Azure OpenAI, Vertex AI, Bedrock) OpenAI-compatible endpoints cover xAI, Ollama Cloud, and Azure.
Endpoint custom headers, sampling and concurrency options Not adopted.
pi coding-agent runtime Not adopted.
WIP commit and push when an operator stops a mission A stop keeps a local recover/ ref and pushes nothing.
Automatic retention, MCP delete tool, deletion outside Ask conversations The fork keeps its archive and retention rules.
Removal of whole-list routes, bounded responses with changed shapes Successful responses keep their shape; whole-list routes stay beside paged routes.

On hold or deferred: automatic workflow profiles, bulk checkout history, token heatmap, proxy build, SDK and Harbor desktop, extra fixture battery languages and rubric graders, voyage-size limits, and the per-reply copy button and thread-list refresh in Ask.

What You Get

  • Parallel, isolated work. Each mission runs in its own dock on its own branch, so agents never collide with each other or with your checkout.
  • Pipelines. Built-in and custom pipelines chain personas (Architect, Worker, TestEngineer, Linter, Judge, Recorder) with optional review gates. See Pipelines.
  • Landing modes. Local merge, merge and push, pull request, merge queue, or none. See Merging.
  • Recovery. Stall detection, dock repair, relaunch, and bounded rescue missions.
  • Memory. Vessel context, playbooks, and saved memories reach later missions automatically.
  • Ask conversations. Saved threads that answer from live fleet state and propose changes for exact human approval. See Ask conversations.
  • Harbor. Run agents on your own machine while the Admiral runs elsewhere. See Harbor runner and Harbor checkouts.
  • Four database providers. SQLite, PostgreSQL, MySQL, and SQL Server.

Quick Start

Prerequisites

  • .NET 10.0 SDK and Git.
  • At least one supported agent CLI for local captains.
  • Optional: gh for GitHub or glab for GitLab pull requests.

Build and run

dotnet build src/Armada.sln
dotnet run --project src/Armada.Server --framework net10.0

The REST API and Dashboard listen on http://localhost:7890. MCP listens on http://localhost:7891/mcp.

Connect an MCP client

Every MCP request must carry a credential. Helm writes client entries that read the key from ARMADA_API_KEY:

export ARMADA_API_KEY=<your key>
dotnet run --project src/Armada.Helm --framework net10.0 -- mcp install

Your first dispatch

Ask the connected client to call armada_dispatch with a vesselId, a title, and one or more missions. Watch progress in the Dashboard, or with armada watch from Helm. See Orchestrator instructions and the per-client guides (Claude Code, Codex, Cursor, Gemini).

A new database seeds a default administrator. The Admiral refuses to start on a non-loopback address while the seeded password is active; set ARMADA_INITIAL_ADMIN_PASSWORD on first start. See Upgrading.

Deploy

Run the Admiral at login with the helper for your platform. Each installer publishes the server and registers it; each updater republishes and restarts it; each health check probes the running server.

Platform Install Update Health check
Linux (systemd user unit) scripts/linux/install-systemd-user.sh scripts/linux/update-systemd-user.sh scripts/linux/healthcheck-server.sh
macOS (launchd agent) scripts/macos/install-launchd-agent.sh scripts/macos/update-launchd-agent.sh scripts/macos/healthcheck-server.sh
Windows (current-user Run entry) scripts/windows/install-windows-task.bat scripts/windows/update-windows-task.bat scripts/windows/healthcheck-server.bat

Configuration

Settings load from the Admiral's settings file and environment variables. Operator procedures and the settings reference are in docs/armada-ops.md; request limits are in docs/REQUEST_LIMITS.md, and routing settings are in Smart Routing.

Clients and APIs

Surface Reference
REST (/api/v1/*) docs/REST_API.md
MCP docs/MCP_API.md, tool catalog
WebSocket docs/WEBSOCKET_API.md
Dashboard, Helm, MCP entry points docs/CLIENT_SURFACES.md
src/
  Armada.Core       Domain models, settings, database drivers, services, code index
  Armada.Runtimes   Runtime adapters for the supported agent CLIs and the API endpoint loop
  Armada.Server     Admiral REST, MCP, and WebSocket server and orchestrators
  Armada.Helm       CLI for configuration, server start, and MCP setup
  Armada.Dashboard  React and Vite operator dashboard

Documentation

License and Attribution

Armada was created by jchristn as jchristn/Armada. This fork builds on that work, and all upstream copyright and attribution are retained.

Armada is licensed under the terms in LICENSE.md.

Host storage maintenance includes an optional container build/cache stage, ancestor keep-marker protection, bounded image retention, and a free-space failure floor. Configuration and safety rules are in Host storage cleanup.

About

Armada is a multi-agent orchestration system to allow humans to scale when working with multiple AI agents

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages