How walle-go/agency-agents works
Purpose and Entry Points
This is a versioned library of specialized AI-agent definitions, organized by professional division. Its executable surface is shell/Python tooling that converts and installs Markdown agent profiles into formats and locations expected by supported AI coding tools.
Primary entry points:
• scripts/install.sh — interactive or flag-driven tool/team/agent selection and installation.
• scripts/convert.sh — generates tool-specific representations before installation.
• README.md — user-facing catalog, installation paths, and activation model.
Canonical Agent Corpus
Division directories are the source of truth: each Markdown file is an independently usable prompt/persona with domain workflow and deliverables. The directory structure is also a classification boundary used by installers and validation.
Representative source paths:
• engineering/engineering-frontend-developer.md
• security/security-appsec-engineer.md
• specialized/agents-orchestrator.md
The corpus spans technical and nontechnical roles; it is content, not application code or a hosted runtime.
Division and Tool Catalogs
Machine-readable registries define the supported corpus and integration surface:
• divisions.json — authoritative division metadata, likely used to enumerate/filter teams.
• tools.json — supported target tools and associated installation/conversion metadata.
• strategy/runbooks.json — registry for orchestrated delivery scenarios.
These catalogs form the boundary between flexible Markdown content and deterministic automation. Agent selection flows from CLI arguments or interactive choices through division/agent lookup to source-file collection.
Conversion Pipeline
scripts/convert.sh translates canonical agent Markdown into target-specific artifacts. It supports serial or parallel processing and targeted tool conversion. Tool-specific documentation resides under integrations/, establishing output contracts rather than embedding all formats in the source corpus.
Key boundaries:
• scripts/convert.sh
• integrations/codex/README.md
• integrations/openclaw/README.md
Examples of target models include native Markdown agents, Cursor rule files, Codex TOML agents, Kimi YAML specs, and OpenClaw multi-file workspaces. Generated integration artifacts are conceptually downstream of the canonical corpus.
Installation and Runtime Boundary
scripts/install.sh detects or accepts a requested local runtime, filters agents by division or slug, and copies generated/native assets into tool-owned directories. The repository itself does not run agents or call an LLM service; the installed external clients do.
Relevant paths:
• scripts/install.sh
• scripts/lib.sh
• integrations/claude-code/README.md
External runtimes include Claude Code, GitHub Copilot, Gemini CLI/Antigravity, Cursor, OpenCode, OpenClaw, Aider, Windsurf, Qwen Code, Kimi Code, Codex, Osaurus, and Hermes. Installation destinations are generally user-home or project-scoped directories controlled by those tools.
Strategy, Coordination, and Examples
The repository also supplies reusable multi-agent operating models: phase playbooks, scenario runbooks, handoff templates, and worked examples. These compose role files into project workflows without enforcing an orchestration engine.
Core paths:
• strategy/nexus-strategy.md
• strategy/playbooks/phase-3-build.md
• strategy/coordination/handoff-templates.md
examples/ demonstrates cross-functional workflows, while strategy/runbooks/ provides scenario-specific coordination sequences. This layer is a human/agent planning contract over the underlying agent corpus.
Quality and Contribution Gates
Repository integrity is maintained through shell checks and GitHub Actions, rather than a compiled test runtime. Checks validate divisions, tool registrations, runbook structure, and agent conventions before changes merge.
Core paths:
• .github/workflows/lint-agents.yml
• scripts/lint-agents.sh
• scripts/check-divisions.sh
The architectural flow is: contributors add/edit canonical profiles and registries → CI validates structural consistency → converters produce tool formats → installer deploys selected artifacts → external AI-tool runtimes load and activate them.
Main entry points: install.sh Installer · lint-agents.sh Agent Convention Checks · convert.sh Converter · check-divisions.sh Division Checks
Components 24
Canonical Agent Corpus
Versioned Markdown profiles organized by division.
- Division Agent Profiles · Canonical independently usable agent prompts and personas.
- Frontend Developer
engineering/engineering-frontend-developer.md - AppSec Engineer
security/security-appsec-engineer.md - Agents Orchestrator
specialized/agents-orchestrator.md - Division Registry · Authoritative division metadata for filtering and validation.
divisions.json
Automation
Selection, conversion, installation, and validation tooling.
- Tool Registry · Supported targets and their conversion or installation metadata.
tools.json - Installer · Selects tools, divisions, or agents and deploys assets.
scripts/install.sh - Install Library · Shared installer selection and deployment logic.
scripts/lib.sh - Converter · Generates target-specific artifacts serially or in parallel.
scripts/convert.sh - Integration Contracts · Defines target-specific output models and destinations.
- Codex Contract
integrations/codex/README.md - OpenClaw Contract
integrations/openclaw/README.md - Claude Code Contract
integrations/claude-code/README.md - Tool-Specific Assets · Converted or native profiles ready for deployment.
- Agent Lint Workflow · Runs repository integrity checks before merge.
.github/workflows/lint-agents.yml - Agent Convention Checks
scripts/lint-agents.sh - Division Checks
scripts/check-divisions.sh
Strategy & Coordination
Reusable multi-agent planning contracts.
- Playbooks & Handoffs · Human and agent coordination contracts over role profiles.
- Nexus Strategy
strategy/nexus-strategy.md - Build Phase Playbook
strategy/playbooks/phase-3-build.md - Handoff Templates
strategy/coordination/handoff-templates.md - Scenario Runbooks · Scenario-specific coordination sequences.
strategy/runbooks.json
External Tool Runtimes
Tool-owned clients load installed agent assets.
- AI Coding Tool Runtimes · Claude Code, Codex, Cursor, OpenClaw, and other supported clients.
Other components
- User Catalog & Activation · Documents available agents, installation paths, and activation.
README.md
Connections 30
- Frontend Developer → Division Agent Profiles: belongs to
- AppSec Engineer → Division Agent Profiles: belongs to
- Agents Orchestrator → Division Agent Profiles: belongs to
- Division Registry → Division Agent Profiles: classifies
- User Catalog & Activation → Installer: documents usage
- Tool Registry → Converter: defines targets
- Tool Registry → Installer: defines supported tools
- Installer → Install Library: uses
- Installer → Division Registry: filters by division
- Installer → Division Agent Profiles: selects profiles
- Division Agent Profiles → Converter: canonical input
- Integration Contracts → Converter: defines output formats
- Codex Contract → Integration Contracts: contributes
- OpenClaw Contract → Integration Contracts: contributes
- Claude Code Contract → Integration Contracts: contributes
- Converter → Tool-Specific Assets: generates
- Tool-Specific Assets → Installer: deployment input
- Installer → AI Coding Tool Runtimes: installs into tool-owned locations
- Division Agent Profiles → Playbooks & Handoffs: roles composed into workflows
- Nexus Strategy → Playbooks & Handoffs: contributes
- Build Phase Playbook → Playbooks & Handoffs: contributes
- Handoff Templates → Playbooks & Handoffs: contributes
- Scenario Runbooks → Playbooks & Handoffs: indexes scenarios
- Agent Lint Workflow → Agent Convention Checks: runs
- Agent Lint Workflow → Division Checks: runs
- Agent Convention Checks → Division Agent Profiles: validates conventions
- Agent Convention Checks → Tool Registry: validates registrations
- Division Checks → Division Registry: validates
- Division Checks → Division Agent Profiles: validates structure
- Agent Convention Checks → Scenario Runbooks: validates structure