Agent Onboarding: MicroVM Spoke Agents¶
This guide is for spoke microVM agents. If you are working in the AgentArmy hub repository, see setup.md and armies-overview.md instead.
Welcome. You are an isolated AI agent running in a spoke repository—one layer of a distributed system. This guide gets you oriented and productive.
Orientation keys¶
Two links anchor everything — start here, bookmark both:
- Docs — tangible reality: https://nickpclarke.github.io/AgentArmy/ — the published, settled documentation. The source of truth you act on.
- Labs — vision / WIP: https://publish.obsidian.md/xlabs/Welcome — the Obsidian vault: research, design-in-progress, ontology/ER modeling. Where ideas are born and shaped before they graduate to Docs.
You can reach both as URLs from inside your microVM; you do not have the hub's docs/ or the vault checked out locally.
The Landscape: Hub & Spokes¶
AgentArmy is a hub-and-spoke fleet:
- Hub (AgentArmy) — the template, coordination plane, and shared standards. One GitHub Projects board, unified planning.
- Spokes (your repos) — layer implementations: frontend, backend, worker, mobile, infra. Each is an independent repository with its own Issues/PRs.
Three armies coordinate across both: - Claude Code — deep thinking, architecture, complex features. See armies-overview.md. - GitHub Copilot — lightweight, GitHub-native tasks (PRs, simple bugs). See armies-overview.md. - SAFE planning — Program Increments, sprints, capacity. See SAFE.md.
Full context: N-Layer Hub & Spoke Architecture and N-Layer Spoke Rules.
Your Environment: Isolated & Read-Only Hub Access¶
You run in a microVM—a completely isolated filesystem and runtime:
What you have locally (synced into your repo)¶
.claude/agents/categories/— all agent definitionsAGENTS.md— agent roster and routing guideCLAUDE.md— routing rules and principles specific to spokes.claude/commands/— slash commands (/wardley,/ea-adr,/capability-map)
What you must read at the hub's shared surfaces (your two orientation keys)¶
- Docs (reality): https://nickpclarke.github.io/AgentArmy/ — full published docs (armies, setup, diagnostics, cloud patterns, roadmap)
- Labs (vision/WIP): https://publish.obsidian.md/xlabs/Welcome — the Obsidian vault for research, design-in-progress, and ontology/ER modeling
What you CANNOT access¶
- ❌ The hub repository itself (no direct git access)
- ❌ The hub's GitHub Projects board (no board queries or task creation)
- ❌ Other spoke repositories (only your own repo's Issues/PRs)
Work arrives as Issues/PRs opened in your repo by the hub's scrum-master or product manager. You don't reach out to the board; the board reaches you.
Your Repository: Layer, Identity, and Ownership¶
Identify your repository's layer and role:
Check your layer identity:
cat .agent/layer.json
This manifest tells you:
- system — the overall platform (e.g., career-platform)
- layer — your layer (e.g., api, web-ui, worker, data, ml-ai, infra)
- service — your service name (e.g., career-api)
- owns — what you own (e.g., "REST API", "domain services", "API database schema")
- does_not_own — what you must NOT own (e.g., "web UI", "mobile app", "personal agent settings")
What owning a layer means: - You implement contract-first: publish OpenAPI, GraphQL, or AsyncAPI specs that other spokes consume. - You own your code, runtime, and persistence boundary—no direct database access from other layers. - You run your own CI, deploy independently, and coordinate with other spokes only via published contracts.
See N-Layer Spoke Rules for full layer standards.
High-Level Goals¶
The platform vision, in 4 bullets:
- Build fast in parallel — your layer can move independently; no waiting for other spokes.
- Contract-first always — all integration happens through OpenAPI, GraphQL, or AsyncAPI; never through private source imports.
- Deploy safely and often — your layer has its own CI, deploy pipeline, and SLOs.
- Isolate and own your data — your persistence is yours; other layers access it through your API only.
More at N-Layer Architecture.
How Work Reaches You: Your Repository's Issues¶
Your task queue lives in this repository's Issues/PRs—not on a GitHub Projects board.
Finding your work¶
- Go to Issues in this repository
- Filter by open issues (usually already assigned or labeled
layer:YOUR_LAYER) - Look for detailed acceptance criteria and linked decisions in the issue body
Work item shape¶
Work arrives as Epics or Features with: - Clear acceptance criteria - Layer and service labels - Linked decisions (if blocked awaiting a decision) - Contract changes (if integration is needed)
Completing work¶
- Create a branch and implement the feature
- Open a PR with a clear title and
Closes #Nlink in the body - Gather review (Copilot auto-reviews; Claude may do deep review if requested)
- Merge when ready — the automation closes the linked issue
There is no GitHub Projects board for you. Track progress via your repo's Issues list.
Quick Links & Key Resources¶
| Resource | What it covers |
|---|---|
| armies-overview.md | How the three armies work and when to use each |
| agents.md | Full roster of specialists and their skills |
| CLAUDE.md | Routing rules and agent chaining patterns |
| AGENTS.md | Quick reference for your repo's synced agents |
| n-layer-architecture.md | Hub & spoke model and contract-driven design |
| n-layer-spoke-rules.md | Layer identity, data boundaries, coordination rules |
| SAFE.md | Planning structure (PIs, sprints, estimation) |
| github-projects.md | Hub board coordination (reference only; you won't use this) |
| Docs site (reality) | Orientation key — full published hub docs |
| Labs vault (vision) | Orientation key — Obsidian WIP/design vault |
Next Steps¶
- Know your layer — read your
.agent/layer.json - Check your Issues — see what's assigned to you
- Pick an agent — review AGENTS.md to find the right specialist for your task
- Invoke the agent — mention the agent by name in your prompt, or use
/skill-namefor shortcuts - Open a PR — link it to the issue with
Closes #N - Merge and repeat — automation closes the issue when the PR merges
Questions?¶
Read the hub docs at https://nickpclarke.github.io/AgentArmy/. Most answers are there. If you hit a blocker or need a decision, comment on the issue and tag the hub's scrum-master or product manager.