Native agent swarms

From aAAaqwq/AGI-Super-Team · View interactive version

Native agent swarms is an AI agent skill from the GitHub repository aAAaqwq/AGI-Super-Team. Coordinate small teams of specialized Codex agents with bounded parallelism, explicit ownership, native messaging, and evidence-based synthesis. Use when two or more independent investigations, reviews, or implementation streams can run concurrently without sharing writable files, or when the user a

How to use this skill

Skill file

Native Agent Swarms

Use Codex-native collaboration instead of Claude TeamCreate, TaskCreate, SendMessage, tmux, or shared team-state conventions. Keep orchestration in the parent agent and use specialists as leaf workers.

Gate delegation

Delegate only when the user or applicable project instructions authorize subagents. Delegation never expands the user's requested scope or permission to change external state.

Before spawning, confirm:

Stay sequential when tasks share state, one result determines the next, or workers would edit the same files.

Compose the team

Select the narrowest installed custom agents. Typical choices include planner, architect, code-reviewer, security-reviewer, quality-engineer, hypothesis-debugger, performance-reviewer, database-reviewer, accessibility-reviewer, and language reviewers.

Use team-coordinator only to advise on decomposition. The parent agent remains responsible for spawning, monitoring, resolving conflicts, and final verification. Keep nesting depth at one unless the user explicitly asks for recursive delegation and the runtime configuration safely allows it.

Write dispatch contracts

Every worker task must include:

Objective: one concrete result.
Scope: exact subsystem, files, or hypothesis.
Ownership: writable files; all other files are read-only.
Starting evidence: errors, requirements, paths, and relevant constraints.
Acceptance criteria: observable completion conditions.
Safety: no commit, push, deploy, external messages, secret access, or destructive commands.
Output: findings or changes, evidence, commands run, gaps, and a concise handoff.

Use spawn_agent for independent work. Use direct send_message only for relevant evidence or interface updates, followup_task for a new bounded assignment after a worker becomes idle, wait_agent for progress, interrupt_agent only when work is obsolete or unsafe, and list_agents to audit active capacity.

Coordinate execution

  1. Record the task-to-agent and file-ownership matrix.
  2. Spawn independent tasks close together so they run concurrently.
  3. Continue useful parent-only work while agents run.
  4. Relay only evidence that materially changes another worker's task.
  5. Stop fan-out when results converge, capacity is saturated, or coordination cost rises.
  6. Never let two implementation agents modify the same file or mutable external resource.

For specialized patterns, read only the relevant reference:

Synthesize and verify

The parent agent must inspect worker evidence rather than concatenate summaries.

Do not claim success merely because all workers returned. Completion requires integrated verification proportional to risk.

Source patterns adapted from wshobson/agents commit 767d969a73ce6608d10ac713e52be9ac7f061ab9 (MIT), rewritten for native Codex collaboration and permission boundaries.

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.