venutian-antfarm

Venutian Antfarm — Multi-Agent Fleet Governance Framework

License

Venutian Antfarm

Read the blog post: Governing the Ant Farm — A Governance-First Framework for Multi-Agent Software Delivery

An agent fleet harness framework for structured multi-agent software delivery. Define your controls in Markdown, the compiler turns them into enforcement hooks. Add your specialist agents, configure progressive autonomy, and start delivering with a governed fleet.

Why Venutian Antfarm?

Recent highlights:

Quick Start

# 1. Clone the template
git clone https://github.com/rdunie/venutian-antfarm.git my-project
cd my-project

# 2. Run interactive onboarding
# In Claude Code, run: /onboard
# This scaffolds runtime directories, defines your compliance floor,
# configures your fleet, and adds your first specialist agent.

# Or set up manually:
cp templates/floors/compliance.md floors/compliance.md
cp templates/fleet-config.json fleet-config.json
# Edit both for your domain, then start Claude Code.

Architecture

flowchart LR
    USER(["Human\nOperator"])

    subgraph Gov ["Governance Layer"]
        GOV(["CRO  CISO  CEO\nCTO  CFO  COO  CKO"])
    end

    subgraph Harness ["Harness Layer"]
        S(["Strategic\nPO  SA  SM"])
        MM["Knowledge Ops"]
        PO_OPS["Platform Ops"]
        CA["Compliance Auditor"]
    end

    subgraph AppLayer ["App Layer (you define)"]
        E(["Execution\nSpecialists"])
        R(["Review\nAgents"])
        O(["Output\nAgents"])
    end

    USER --> Gov
    USER --> S
    Gov --> S
    S --> E
    S --> R
    E --> R
    E --> O

    style USER fill:#90caf9,stroke:#1565c0,color:#1a1a1a
    style GOV fill:#ce93d8,stroke:#6a1b9a,color:#1a1a1a
    style S fill:#90caf9,stroke:#1565c0,color:#1a1a1a
    style MM fill:#90caf9,stroke:#1565c0,color:#1a1a1a
    style PO_OPS fill:#90caf9,stroke:#1565c0,color:#1a1a1a
    style CA fill:#ef9a9a,stroke:#b71c1c,color:#1a1a1a
    style E fill:#a5d6a7,stroke:#2e7d32,color:#1a1a1a
    style R fill:#ef9a9a,stroke:#b71c1c,color:#1a1a1a
    style O fill:#ffcc80,stroke:#e65100,color:#1a1a1a

How Controls Work

You write rules in a Markdown floor file — plain prose that agents can read and follow. For rules you want automated enforcement on, you add an enforcement block underneath that tells the compiler what to check.

Floor file (prose + enforcement blocks)
    → Compiler validates blocks against schema
    → Generates hook scripts, coverage report, integrity manifest
    → Hooks fire on every edit — block or warn per rule
    → --verify catches drift if anyone tampers with generated artifacts

Here’s what that looks like in practice:

1. **No hardcoded secrets.** Keep credentials, API keys, and tokens out of
   version control. Use environment variables or a secrets manager.

```enforcement
version: 1
id: no-hardcoded-secrets
severity: blocking
enforce:
  pre-tool-use:
    type: file-pattern
    patterns: ['\.env$', 'secrets?\.yaml$', '\.pem$', '\.key$']
    action: block
```

The prose is what agents read. The enforcement block is what becomes a hook check. Not every rule needs one — rules without enforcement blocks show up as “judgment-only” in the coverage report, meaning they rely on review rather than automation. The coverage report makes that gap visible so you can decide whether to close it.

Generated artifacts are checksummed. If the source floor changes without recompilation, or someone hand-edits a generated file, --verify flags it. The guardian Cx officer (CRO for compliance, COO for behavioral) owns the floor — changes go through governed change control. See the Governance Floors Guide for the full process and the Compiler Guide for enforcement block syntax.

What You Get

13 core agents across two tiers:

Governance (7) — Executive leadership that sets policy, standards, and controls independently of the operational chain:

Agent Role What It Does
cro Chief Risk Officer Floor guardianship, change control, cross-floor risk assessment
ciso Security authority Security benchmarks, security controls, threat assessment
ceo Strategic alignment Digital twin of implementer, mission/vision, executive brief
cto Technology enablement Technology floor, tech standards, architecture direction
cfo Cost governance Token budget strategy, cost efficiency, resource allocation
coo Operational efficiency Process standards, SLAs, agent performance, retraining
cko Knowledge quality Knowledge standards, distribution cadence, guidance registry

Operational (6) — Leadership triad + cross-cutting agents that orchestrate and execute delivery:

Agent Role What It Does
product-owner Business context Backlog management, prioritization (WSJF), acceptance, quality gate
solution-architect Technical context NFRs, architecture decisions, cross-system coherence
scrum-master Process facilitation Pace control, findings reviews, conflict resolution, retros
knowledge-ops Knowledge operations Memory consistency, learning distribution (under CKO direction)
platform-ops Dev platform DORA metrics, CI/CD, cross-environment visibility
compliance-auditor Compliance review Audits work output against compliance floor rules during Review

Progressive Autonomy

flowchart LR
    CRAWL["Crawl\nPropose everything"] -->|"few findings,\nclean handoffs"| WALK["Walk\nStandard autonomy"]
    WALK -->|"low rework,\ngood judgment"| RUN["Run\nExpanded autonomy"]
    RUN -->|"proven record,\nmature memories"| FLY["Fly\nFull autonomy"]

    FLY -.->|"regression or\ncomplexity"| RUN
    RUN -.->|"rising rework\nor findings"| WALK
    WALK -.->|"significant\nmistake"| CRAWL

    style CRAWL fill:#ef9a9a,stroke:#b71c1c,color:#1a1a1a
    style WALK fill:#ffcc80,stroke:#e65100,color:#1a1a1a
    style RUN fill:#90caf9,stroke:#1565c0,color:#1a1a1a
    style FLY fill:#a5d6a7,stroke:#2e7d32,color:#1a1a1a

Every fleet starts at Crawl. Evidence-based transitions only. Pace goes both directions — complexity or quality issues trigger fallback to a lower pace.

Work Item Lifecycle

flowchart TD
    G["1. Groom"] --> P["2. Promote"]
    P --> B["3. Build"]
    B --> R["4. Review"]
    R -->|"pass"| D["6. Deploy\n(per env)"]
    D -->|"all envs pass"| A["7. Accept"]
    A --> RT["8. Retro"]
    RT --> C["9. Checkpoint"]
    C -->|"next"| G

    R -->|"rework"| F["5. Fix"]
    D -->|"code problem"| F
    A -->|"rejection"| F
    F -->|"re-validate"| B

    style G fill:#90caf9,stroke:#1565c0,color:#1a1a1a
    style P fill:#90caf9,stroke:#1565c0,color:#1a1a1a
    style B fill:#a5d6a7,stroke:#2e7d32,color:#1a1a1a
    style R fill:#ffcc80,stroke:#e65100,color:#1a1a1a
    style F fill:#ef9a9a,stroke:#b71c1c,color:#1a1a1a
    style D fill:#a5d6a7,stroke:#2e7d32,color:#1a1a1a
    style A fill:#a5d6a7,stroke:#2e7d32,color:#1a1a1a
    style RT fill:#90caf9,stroke:#1565c0,color:#1a1a1a
    style C fill:#bdbdbd,stroke:#424242,color:#1a1a1a

Metrics Pipeline

DORA + flow quality metrics out of the box, with a pluggable backend (JSONL default, webhook/StatsD/OpenTelemetry configurable). 26 event types tracked across delivery, quality, agent cost, PR lifecycle, compliance, and governance categories.

flowchart LR
    EMIT["ops/lib/signal-emit.sh"] --> JSONL["events.jsonl"]
    LOG["ops/metrics-log.sh"] --> EMIT
    JSONL --> READ["ops/lib/signal-read.sh"]
    READ --> DORA["ops/dora.sh"]
    READ --> SCORE["feedback-log.sh score"]

    style EMIT fill:#a5d6a7,stroke:#2e7d32,color:#1a1a1a
    style LOG fill:#a5d6a7,stroke:#2e7d32,color:#1a1a1a
    style JSONL fill:#bdbdbd,stroke:#424242,color:#1a1a1a
    style READ fill:#a5d6a7,stroke:#2e7d32,color:#1a1a1a
    style DORA fill:#90caf9,stroke:#1565c0,color:#1a1a1a
    style SCORE fill:#90caf9,stroke:#1565c0,color:#1a1a1a

See the Metrics Guide for all event types, dashboard examples, and how agents adapt their behavior based on metrics feedback.

Agent Inheritance

flowchart LR
    subgraph H ["Harness Agent"]
        HF["name, model,\nprotocol, autonomy"]
    end
    subgraph A ["App Agent (extends)"]
        AF["retro cadence,\nautonomy override"]
    end
    subgraph M ["Runtime Agent"]
        MF["merged result"]
    end

    H -->|"base preserved"| M
    A -->|"app overrides"| M

    style HF fill:#90caf9,stroke:#1565c0,color:#1a1a1a
    style AF fill:#ffcc80,stroke:#e65100,color:#1a1a1a
    style MF fill:#a5d6a7,stroke:#2e7d32,color:#1a1a1a

App fields override harness fields. Unmentioned harness fields are preserved.

Key Concepts

Skills

Skill What It Does Primary Agent
/po Backlog management, prioritization, grooming, review product-owner
/retro Run a retrospective for a completed work item scrum-master
/onboard Interactive project setup
/handoff Structured agent-to-agent handoff with metrics logging all agents
/deploy Two-step merge + deploy through promotion order platform-ops
/findings Findings register: log, review, triage, patterns scrum-master
/audit Compliance audit against the compliance floor compliance-auditor
/pace Pace control: status, evaluation, transitions scrum-master
/memory Knowledge management: audit, distribute, optimize, gaps knowledge-ops
/compliance Compliance program: propose, review, apply, audit, log cro
/behavioral Behavioral floor management: propose, review, apply coo
/floor Generic floor management for any governance floor floor guardian
/governance Executive governance: brief, decisions, guidance, CEO autonomy ceo

All skills can be overridden by implementers. Create .claude/skills/<name>/SKILL.md in your project to replace the harness default.

Documentation

What’s Coming Next

See the backlog for the full roadmap.

License

Copyright 2026 RD Digital Consulting Services, LLC. Dual-licensed under AGPL 3.0 (with app-layer exemption) and a commercial license. See LICENSE.

Open-source use: Free for internal use, building products, consulting, and education. Your agents, compliance floors, and configs are your IP.

Commercial license required for: Offering the framework as a managed service/SaaS, reselling, or white-labeling. Contact RD Digital Consulting Services, LLC.