β Flotilla
The centralized management plane for a disciplined, multi-agent engineering workforce.
This repository serves as the Shared Consciousness for Big Bear Engineering's agentic fleet. It synchronizes state, rules, and mission objectives across multiple models (Claude, Gemini, Codex) to solve the "AI State Problem."
π Quick Start
Ready to deploy your workforce?
- Installation: Follow the Installation Guide to set up your Flotilla instance (Local or Cloud).
- Configuration: Define your agents and projects in
AGENTS/CONFIG/. - Bootstrap: Use the provided
MISSION_CONTROL.mdto synchronize your fleet's first session.
ποΈ Platform Architecture
For a deep dive into the system components, data flow, and task lifecycle, see the Architecture Diagram & Spec.
- Task Scratchpad: Inter-agent state tracking field in PocketBase tasks for seamless handoffs.
- Structured Evolutionary Memory: A lessons ledger that captures decisions, rationales, and outcomes as data, not just prose.
- Management Hub: A human-readable dashboard for monitoring agent health and standups.
- Memory Tree: A structured, version-controlled hierarchy of project context and blueprints.
- Shared Consciousness Protocol: Mandatory synchronization via
MISSION_CONTROL.md. - Evolutionary Learning: A structured "Lessons Learned" ledger where agents log and Miguel approves hard-won insights.
- Vault-First Security: Zero-footprint secret management via Infisical.
π Repository Structure
flotilla/
βββ AGENTS/
β βββ CONFIG/ # Dynamic metadata driving the UI
β βββ CONTEXT/ # Deep project architectural blueprints
β βββ LESSONS/ # Evolutionary memory ledger (Karpathy-style)
β βββ MESSAGES/ # Inter-Agent Protocol (IAP) Inbox
β βββ RULES.md # The fleet's standard operating procedures
βββ command-center/ # Source code for the Flotilla Management Dashboard
βββ standups/ # Automated session logs and audit trails
βββ vault/ # Security wrapper scripts for secret injection
βββ MISSION_CONTROL.md # The live session entry point (Read First)
π€ Multi-Agent Orchestration
π Startup Protocol (Mandatory)
Every agent session MUST begin by reading MISSION_CONTROL.md. This ensures the agent inherits the current fleet state, active tickets, and any newly approved "Lessons Learned."
π¬ Inter-Agent Protocol (IAP)
Agents communicate via the internal Inbox located in the dashboard. High-priority alerts can be used to coordinate complex multi-step tasks between models.
𧬠Evolutionary Learning
When an agent encounters a failure or discovers an optimization, it logs a lesson to the LESSONS/ledger.json. Once approved by the human manager, this lesson is injected into the context of all future sessions.
π οΈ Operational Invariants
These are runtime rules, not optional conventions.
- One GitHub sync owner only:
fleet.githubis the sole GitHub sync process. The dispatcher must not spawn its owngithub_sync.py. - PocketBase timeouts are infrastructure degradation: agents must not be reassigned just because PB is slow or timed out.
- Automatic PB prune is disabled by default: the delete path produced
403/SQLITE_BUSYchurn and is not considered safe background maintenance. - Mission Control drives dispatch: if
MISSION_CONTROL.mdis stale, the dispatcher will faithfully resurrect bad work. Queue correctness matters. - Quota failures are not completions: agent quota/billing failures should park tasks in backlog, not bounce them back into minute-by-minute redispatch loops.
See ARCHITECTURE.md for the detailed rationale and current implementation notes.
π€ Agentegra ATF
Flotilla is also being used as the execution and evidence layer for the Agentegra ATF (Automated Technical File) around the RobotRoss demonstrator.
Current delivered components in this repo:
- Compiled wiki artifacts in
ATF/artifacts/wiki/ - Browser-readable wiki UI in
ATF/wiki-ui/ - Operational ledger in
ATF/artifacts/ledger/ - Human-readable ledger dashboard in
ATF/ledger-ui/(generated byATF/tools/build_static_views.py) - Local QA shell via
ATF/tools/atf_qa.py - Local runtime adapter via
ATF/tools/runtime_adapter.py - Voice shell is planned but not yet committed in this checkout
Important caveat:
- the corpus still needs one more canonical rebuild after the RobotRoss repo merge work, so ATF content should be treated as operational but not final.
π§ Deployment Scenarios
Flotilla supports three deployment models so customers can self-select the right setup for their security and accessibility needs.
| Scenario | Components | Dashboard Access | Best For |
|---|---|---|---|
| 1. Local (Default) | All local | localhost:8787/fleet/ |
Personal use, local teams, strict privacy |
| 2. Cloud VPS | All on 1 VPS | https://your-domain.com/fleet/ |
Remote teams, public dashboards |
| 3. Hybrid | Split (Local + Cloud) | https://your-domain.com/fleet/ |
Hardware agents, public visibility + local execution |
Scenario 1 β Local (Default)
Everything runs on a single local machine (agents + PocketBase + Fleet Hub). You access the dashboard at localhost:8787/fleet/. This requires zero extra config and works out-of-the-box with create-flotilla. Ideal for personal use, local teams, or privacy-first corporate installs.
Scenario 2 β Cloud VPS (Single Server)
Everything runs on a single cloud VPS (like DigitalOcean or AWS EC2). The dashboard is publicly accessible. PocketBase and Fleet Hub are co-located, meaning no connectivity gap for the UI. Best for remote teams and always-on fleets. (Note: Claude Code, Gemini CLI, and Codex must support headless operation on Linux).
Scenario 3 β Hybrid (Agents Local, Dashboard Remote)
Agents and PocketBase run on a local machine (e.g., Mac Mini, on-prem server), while the Fleet Hub is hosted publicly on a separate cloud server. This requires the push connector (fleet_push.py). Best for hardware-connected agents (robot arms, local files) where you need enterprise privacy but public visibility.
The connector pushes a read-only PocketBase snapshot (heartbeats, tasks, comments, and Financial Ops ledgers/snapshots) to the remote Fleet Hub every 60 seconds using FLEET_SYNC_TOKEN, and the remote server.mjs serves that cached snapshot whenever it cannot reach PocketBase directly.
Required runtime secrets:
FLEET_SYNC_TOKENon both the local connector and the remote Fleet Hub serverFLEET_SYNC_URLon the local connector if the public dashboard is nothttps://api.robotross.art/fleet/snapshotScenario 3 requires additional configuration. Contact us at [email protected] for setup assistance.
- Public Site: bigbearengineering.com
- Flotilla Hub: api.robotross.art/fleet/
- Growth Hub: api.robotross.art/growth/
The Crew
This repository is built and maintained by a coordinated multi-agent team:
| Agent | Model | Role |
|---|---|---|
| Clau | Claude Code (Anthropic) | Implementation lead β logic, refactoring, complex tickets |
| Gem | Gemini CLI (Google) | Architecture and context β large-context synthesis, documentation |
| Codi | Codex (OpenAI) | QA and delivery β throughput, validation, scaffolding |
| Misty | Mistral Vibe (Mistral AI) | European model β compliance, EU market, open-weight advantage |
Human manager: Miguel β Big Bear Engineering GmbH, Zurich.
Big Bear Engineering GmbH β Engineering discipline, not AI hype.