Scale colony

From pjt222/agent-almanac · View interactive version

Scale colony is an AI agent skill from the GitHub repository pjt222/agent-almanac. Scale distributed systems and organizations through colony budding, role differentiation, and growth-triggered architectural transitions. Covers growth phase recognition, age polyethism, fission protocols, inter-colony coordination, and scaling limit detection. Use when a team or system that worked

How to use this skill

Skill file

Scale Colony

Scale distributed systems, teams, or organizations through colony budding (splitting), role differentiation (age polyethism), and growth-triggered architectural transitions — maintaining coordination quality as the colony grows beyond its initial design capacity.

When to Use

Inputs

Procedure

Step 1: Recognize the Growth Phase

Identify which scaling phase the colony is in to apply appropriate strategies.

  1. Classify the current growth phase:
Colony Growth Phases:
┌───────────┬──────────────┬───────────────────────────────────────────┐
│ Phase     │ Size Range   │ Characteristics                           │
├───────────┼──────────────┼───────────────────────────────────────────┤
│ Founding  │ 1-7 agents   │ Everyone does everything, direct comms,   │
│           │              │ implicit coordination, high agility       │
├───────────┼──────────────┼───────────────────────────────────────────┤
│ Growth    │ 8-30 agents  │ Roles emerge, some specialization, comms  │
│           │              │ overhead increases, need for structure     │
├───────────┼──────────────┼───────────────────────────────────────────┤
│ Maturity  │ 30-100 agents│ Formal roles, layered coordination,       │
│           │              │ sub-groups form, inter-group coordination  │
├───────────┼──────────────┼───────────────────────────────────────────┤
│ Fission   │ 100+ agents  │ Colony too large for single coordination  │
│           │              │ framework, must bud into sub-colonies     │
└───────────┴──────────────┴───────────────────────────────────────────┘
  1. Identify growth stress signals:
  1. Determine if the colony is about to cross a phase boundary or has crossed it

Got: Clear identification of the current growth phase and the specific stress signals indicating the colony is approaching or has crossed a phase boundary.

If fail: If the phase isn't clear, measure three concrete metrics: communication volume per agent, decision latency, and coordination failure rate. Plot them over time. Inflection points reveal phase transitions. Without metrics, the colony is likely Founding (where metrics aren't yet needed).

Step 2: Implement Role Differentiation (Age Polyethism)

Introduce progressive specialization where agents take on different roles based on experience and colony needs.

  1. Define the role progression path:
  1. Implement role transitions:
  1. Preserve role flexibility:

Got: A role structure where agents naturally progress from simple to complex responsibilities, with the colony's role distribution reflecting its current needs and phase.

If fail: If role differentiation creates rigid silos, increase cross-training requirements and rotation frequency. If newcomers struggle to progress, the mentoring system is insufficient — pair each newcomer with a specialist for their first N tasks. If too many agents cluster in one role, transition triggers are miscalibrated — adjust thresholds based on colony-wide role demand.

Step 3: Restructure Coordination for Scale

Adapt the coordination mechanisms from coordinate-swarm to handle increased colony size.

  1. Replace direct communication with layered signaling:
  1. Implement coordination layers:
  1. Design inter-layer interfaces:
  1. Communication overhead budget:

Got: A layered coordination structure where communication overhead grows logarithmically (not linearly) with colony size. Local coordination is fast and direct; colony-wide coordination is slower but functional.

If fail: If coordination layers create information bottlenecks (communicators become overloaded), add redundant communicators or reduce relay frequency. If layers create isolation (squads don't know what other squads are doing), increase inter-layer signal frequency or create cross-squad liaison roles.

Step 4: Execute Colony Budding (Fission)

Split the colony into semi-autonomous sub-colonies when it exceeds single-coordination capacity.

  1. Recognize fission triggers:
  1. Plan the fission:
  1. Execute the split:
  1. Post-fission stabilization:

Got: Two or more viable daughter colonies, each operating semi-autonomously with their own coordination, connected by lightweight inter-colony interfaces.

If fail: If daughter colonies are too small to be viable, fission was premature — remerge and try again at a larger size. If inter-colony coordination becomes as heavy as pre-fission single-colony coordination, split lines were wrong — colonies are too interdependent. Re-draw boundaries along natural independence lines.

Step 5: Monitor Scaling Limits and Adapt

Continuously assess whether the current structure matches the colony's size and needs.

  1. Track scaling health metrics:
  1. Identify scaling limit indicators:
  1. Trigger adaptation:

Got: A colony that monitors its own scaling health and proactively adapts its structure before scaling stress becomes scaling failure.

If fail: If scaling health metrics are not available, the colony lacks observability — build measurement before more structure. If metrics show problems but the colony can't adapt, the resistance is cultural, not technical — address human factors (fear of change, ownership attachment, trust deficits) before restructuring.

Validation

Pitfalls

Related Skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.