Version: v1.2.7 | Status: Active | Last Updated: March 2026
Agent coordination document for the docs/ directory. Guides AI agents navigating the documentation surface of the Codomyrmex ecosystem.
| Path | Role |
|---|---|
| reference/inventory.md | Canonical counts (modules, tests, MCP decorators, workflows) |
| development/documentation.md | Authoring policy, Mermaid, bootstrap vs hand-edit |
| modules/AGENTS.md | Module doc ownership (enrich_module_docs vs src/) |
| agents/AGENTS.md | Agent documentation tree root |
| index.md | Published docs entry |
- Source of truth:
src/codomyrmex/and rootSPEC.md/AGENTS.md; this tree explains and links, it does not replace code. - Tooling:
uvfor scripts (scripts/doc_inventory.py,scripts/documentation/validate_agents_structure.py); optional site build perpyproject.toml/ Docusaurus undersrc/codomyrmex/documentation/when publishing.
- Follow development/documentation.md for curated markers, bootstrap scope, and validator expectations after substantive edits.
- Prefer targeted hand edits over full-repo bootstrap; keep Operating Contracts below for navigation and mirror rules.
- Refresh volatile numbers via
uv run python scripts/doc_inventory.py --pytestbefore updating reference/inventory.md or rootREADME.md.
The docs/ directory is organized into 19 thematic sections containing 200+ markdown files:
| File | Purpose |
|---|---|
ARCHITECTURE.md |
System architecture, layers, module graph |
DEPENDENCIES.md |
Dependency compatibility guide |
PAI.md |
Personal AI Infrastructure hub |
PAI_DASHBOARD.md |
Dashboard functionality matrix |
SPEC.md |
Documentation-area functional specification (root SPEC.md is authoritative for the whole repo) |
index.md |
Documentation site entry point |
Volatile counts (modules, MCP tools, tests) live in reference/inventory.md; refresh with uv run python scripts/doc_inventory.py.
| Section | Focus | Key Content |
|---|---|---|
agents/ |
AI agent integrations | 39 packages mirror src/codomyrmex/agents/ (+ agents/rules/ docs-only); Hermes: agents/hermes/AGENTS.md, skills.md |
agi/ |
AGI theory | Essays on emergence, category theory, agency |
bio/ |
Biological simulation | BioSimulator, genetic algorithms |
cognitive/ |
Cognitive systems | Cerebrum, Bayesian networks, active inference |
compliance/ |
Regulatory | Audit frameworks, data governance |
deployment/ |
DevOps | CI/CD, containers, cloud deployment |
development/ |
Developer guides | Environment setup, testing, coding standards |
examples/ |
Tutorials | Executable demos and integration examples |
getting-started/ |
Onboarding | Quickstart, installation, learning path |
integration/ |
Cross-module | Integration patterns, MCP bridges |
modules/ |
Module docs | 128 top-level packages; ownership hub modules/AGENTS.md (see reference/inventory.md) |
pai/ |
PAI system | Dashboard, skills, memory, dispatch |
plans/ |
Roadmap | Release plans, version targets |
project/ |
Standards | Contributing, architecture, coding style |
project_orchestration/ |
Workflows | Multi-agent coordination, orchestration |
reference/ |
API docs | CLI tools, configuration reference |
security/ |
Security | Threat models, audit, secret management |
skills/ |
Agent skills | Skill creation, registry, testing |
- Docs mirror src/: The
docs/agents/structure mirrorssrc/codomyrmex/agents/with a documentation subfolder for each agent framework - Navigation consistency: Every document must have Navigation section with links to parent, siblings, and root
- Version stamping: All top-level docs must have version/status/date header
- Real content only: No placeholder or auto-generated boilerplate β every file must contain substantive documentation
- Signposting: Parent/child/sibling links in every document
- Cross-references: Source docs link to doc docs and vice versa via relative paths
- Hierarchical AGENTS.md: Root β
docs/AGENTS.mdβdocs/agents/AGENTS.mdβ per-agentAGENTS.md - Mermaid: development/documentation.md β theme-neutral diagrams, subgraph conventions, normalizer scripts under
scripts/
- Parent: AGENTS.md β Root agent coordination
- Project Root: README.md β Project overview
- Source: src/codomyrmex/ β Source code