codomyrmex
Health Warn
- License Γ’β¬β License: MIT
- Description Γ’β¬β Repository has a description
- Active repo Γ’β¬β Last push 0 days ago
- Low visibility Γ’β¬β Only 6 GitHub stars
Code Pass
- Code scan Γ’β¬β Scanned 12 files during light audit, no dangerous patterns found
Permissions Pass
- Permissions Γ’β¬β No dangerous permissions requested
No AI report is available for this listing yet.
π AI-native modular coding workspace β 127 modules, 424 MCP tools, 21K+ zero-mock tests, multi-agent orchestration (Claude/Gemini/GPT), PAI integration
Repository homepage: the canonical entry for stars and forks is the root README.md. Stats sync: intro copy, badges, aggregate tables, and footer counts must match the root README and docs/reference/inventory.md (refresh via
uv run python scripts/doc_inventory.pyandpytest --collect-onlyas documented there).
π Codomyrmex
AI-Native Modular Coding Workspace

Modular, agentic Python workspace for software engineering, personal AI infrastructure, and multi-agent orchestration.
Codomyrmex is a production-grade library of 128 top-level modules under src/codomyrmex/ spanning AI agents, cloud infrastructure, security, finance, multimedia, and more β all built on a strict Zero-Mock testing policy ensuring every method is real, tested, documented, and functional. The ecosystem exposes 600 production @mcp_tool lines in Python sources for Claude, Gemini, GPT, and any Model Context Protocol client (docs/reference/inventory.md). It includes 3,000+ Python files, 34,334 collected tests (uv run pytest src/codomyrmex/tests/ --collect-only -q --no-header --override-ini='addopts=' --import-mode=importlib), 1,164 markdown files under docs/ (recursive; see inventory), and 37 GitHub Actions workflows.
# Install
git clone https://github.com/docxology/codomyrmex.git && cd codomyrmex
uv sync --all-groups
# Verify
uv run codomyrmex doctor --all
π Table of Contents
- Documentation Hub
- System Architecture
- Module Inventory
- Module Dependency Architecture
- Agent Orchestration Pipeline
- Project Structure
- Aggregate Statistics
- LLM Provider Matrix
- Agent Dispatch Architecture
- Testing Philosophy
- Configuration Architecture
- Personal AI Dashboard
- Quick Start
- Documentation Standards
- GitHub Actions Workflows
- License
β¨ Why Codomyrmex?
| π§© 128 Top-Level Modules | Packages under src/codomyrmex/ β composable, independently versioned, zero-mock tested |
| π€ 600 MCP Tool Decorators | See inventory |
| π§ͺ 34,334 Collected Tests | uv run pytest src/codomyrmex/tests/ --collect-only -q --no-header --override-ini='addopts=' --import-mode=importlib; zero-mock policy |
| π Security First | GitGuardian, SBOM, GGSHIELD pre-commit, detect-secrets integration |
| ποΈ 13+ Agent Providers | Claude, Gemini, GPT-4o, DeepSeek, Mistral, Jules, Codex, Pi, and more |
| π¬ ML Research Ready | LoRA, RLHF, DPO, distillation, quantization, NAS, Mamba SSM, autograd |
| π Personal AI Infrastructure | Email, calendar, finance, wallet, dashboard β full PAI toolbox |
| π¦ PyPI Ready | uv build + twine check verified, Python 3.11β3.14 |
| π¦ Zero Config to Start | uv sync β codomyrmex doctor β done |
π Documentation Hub
Top-Level Documents
| Document | Description |
|---|---|
| docs/README.md | Documentation home β full directory guide |
| docs/ARCHITECTURE.md | System architecture, dependency layers, design patterns |
| docs/AGENTS.md | Agent coordination rules and autonomous workflows |
| docs/SPEC.md | Technical specification, API contracts, schemas |
| docs/PAI.md | Personal AI Infrastructure integration reference |
| docs/PAI_DASHBOARD.md | PAI dashboard GUI reference and tab guide |
| docs/index.md | MkDocs site index and navigation entry point |
Documentation Directories
| Directory | Files | Description |
|---|---|---|
| docs/getting-started/ | 9 | Quick start, installation, setup, tutorials |
| docs/development/ | 10 | Dev environment, testing strategy, contribution guides |
| docs/reference/ | 16 | API reference, CLI reference, troubleshooting |
| docs/modules/ | 128 pkgs | Per-module documentation (README, SPEC, AGENTS, PAI per module) |
| docs/agents/ | 121 | Agent rules, coordination, per-provider docs (mirror src/codomyrmex/agents/) |
| docs/integration/ | 11 | External service integration (Google, GitHub, etc.) |
| docs/deployment/ | 5 | Production deployment guides and checklists |
| docs/security/ | 11 | Security theory, threat models, audit procedures |
| docs/pai/ | 10 | PAI dashboard, email, calendar, skill management |
| docs/bio/ | 15 | Biological & myrmecological perspectives |
| docs/cognitive/ | 11 | Cognitive science & engineering perspectives |
| docs/agi/ | 14 | AGI theory, emergence, recursive self-improvement |
| docs/compliance/ | 5 | Audit reports, policy compliance, SOC2 |
| docs/examples/ | 8 | Code examples, integration demos, walkthroughs |
| docs/project/ | 9 | Architecture, roadmap, contributing, governance |
| docs/project_orchestration/ | 11 | Multi-project workflow guides and pipelines |
| docs/skills/ | 9 | Skill system lifecycle, governance, authoring |
| docs/plans/ | 6 | Implementation plans and integration roadmaps |
π System Architecture
graph TB
subgraph Core["π§ Core Intelligence"]
LLM["LLM Subsystem"]
Agents["Agent Framework"]
Cerebrum["Cerebrum Reasoning"]
Orchestrator["Orchestrator"]
MCP["Model Context Protocol"]
end
subgraph AI["π€ AI & ML"]
EvolutionaryAI["Evolutionary AI"]
GraphRAG["Graph RAG"]
PromptEng["Prompt Engineering"]
VectorStore["Vector Store"]
Coding["Coding Agents"]
Skills["Skills Engine"]
end
subgraph Infra["βοΈ Infrastructure"]
Cloud["Cloud (AWS/GCP/Azure)"]
Containerization["Containerization"]
CICD["CI/CD Automation"]
Deployment["Deployment"]
EdgeComputing["Edge Computing"]
Networking["Networking"]
end
subgraph Data["πΎ Data & Storage"]
DB["Database Management"]
Cache["Cache Layer"]
DataLineage["Data Lineage"]
Serialization["Serialization"]
Documents["Documents"]
FeatureStore["Feature Store"]
end
subgraph Security["π Security"]
Auth["Authentication"]
Crypto["Cryptography"]
Encryption["Encryption"]
Privacy["Privacy"]
Defense["Defense"]
Identity["Identity"]
end
subgraph Media["π¨ Multimedia"]
Audio["Audio"]
Video["Video"]
Multimodal["Multimodal"]
DataViz["Data Visualization"]
Meme["Meme Generator"]
end
subgraph PAI["π Personal AI"]
Email["Email"]
Calendar["Calendar"]
Finance["Finance"]
Wallet["Wallet"]
Website["Website"]
PAIDash["PAI Dashboard"]
end
subgraph DevTools["π οΈ Developer Tools"]
CLI["CLI"]
IDE["IDE Integration"]
GitOps["Git Operations"]
GitAnalysis["Git Analysis"]
TreeSitter["Tree-sitter"]
StaticAnalysis["Static Analysis"]
Terminal["Terminal Interface"]
end
Core --> AI
Core --> Infra
Core --> Data
Core --> Security
Core --> Media
Core --> PAI
Core --> DevTools
LLM --> Agents
Agents --> Orchestrator
Orchestrator --> MCP
MCP --> Skills
ποΈ Complete Module Inventory
Every module links directly to its source, docs, config, and scripts directories.
128 top-level modules across 10 capability layers β from foundation utilities to ML training primitives.
π§ Core Intelligence Modules
| Module | Py | Tests | Docs | Config | Scripts | Description |
|---|---|---|---|---|---|---|
agents |
168 | 83 | π | βοΈ | π | Multi-provider agent framework (Gemini, Claude, OpenAI, Jules) |
cerebrum |
32 | 13 | π | βοΈ | π | Cognitive reasoning engine with chain-of-thought & decision trees |
llm |
41 | 20 | π | βοΈ | π | LLM subsystem with OpenRouter, Gemini 2.5 Pro, streaming |
orchestrator |
46 | 20 | π | βοΈ | π | Workflow engine, pipeline execution, parallel orchestration |
model_context_protocol |
27 | 9 | π | βοΈ | π | MCP tool server, bridge, and protocol implementation |
prompt_engineering |
10 | 7 | π | βοΈ | π | Template management, prompt optimization, few-shot patterns |
skills |
22 | 11 | π | βοΈ | π | Extensible skill registry and execution engine |
π€ AI & Machine Learning Modules
| Module | Py | Tests | Docs | Config | Scripts | Description |
|---|---|---|---|---|---|---|
coding |
71 | 18 | π | βοΈ | π | Code generation, refactoring, analysis, and review agents |
evolutionary_ai |
11 | 6 | π | βοΈ | π | Genetic algorithms, fitness, selection, genome operators |
graph_rag |
5 | 3 | π | βοΈ | π | Graph-based retrieval-augmented generation |
vector_store |
5 | 4 | π | βοΈ | π | Embedding storage, similarity search, FAISS/ChromaDB |
bio_simulation |
9 | 3 | π | βοΈ | π | Biological colony simulation and genomic population models |
simulation |
3 | 3 | π | βοΈ | π | General-purpose simulation framework |
quantum |
6 | 1 | π | βοΈ | π | Quantum computing abstractions and circuit simulation |
fpf |
26 | 11 | π | βοΈ | π | Feed-Parse-Format pipeline (fetch, parse, section export) |
βοΈ Infrastructure & DevOps Modules
| Module | Py | Tests | Docs | Config | Scripts | Description |
|---|---|---|---|---|---|---|
cloud |
52 | 22 | π | βοΈ | π | Multi-cloud SDK (AWS, GCP, Azure, Infomaniak, Coda.io) |
containerization |
16 | 7 | π | βοΈ | π | Docker/Podman management, image building, registry |
container_optimization |
3 | 2 | π | βοΈ | π | Resource tuning and container performance optimization |
ci_cd_automation |
22 | 12 | π | βοΈ | π | Pipeline building, artifact management, deployment orchestration |
deployment |
13 | 7 | π | βοΈ | π | Deployment strategies (blue-green, canary, rolling) |
edge_computing |
14 | 2 | π | βοΈ | π | Edge cluster management, scheduling, health monitoring |
networking |
9 | 6 | π | βοΈ | π | HTTP clients, WebSocket, gRPC, service mesh |
networks |
3 | 3 | π | βοΈ | π | Network topology and graph analysis |
cost_management |
4 | 2 | π | βοΈ | π | Cloud cost tracking, budget alerts, optimization |
πΎ Data & Storage Modules
| Module | Py | Tests | Docs | Config | Scripts | Description |
|---|---|---|---|---|---|---|
database_management |
17 | 12 | π | βοΈ | π | Multi-DB engine (SQLite, PostgreSQL), migrations, ORM |
cache |
19 | 11 | π | βοΈ | π | Multi-backend caching (Redis, memory, disk), TTL, LRU |
data_lineage |
5 | 2 | π | βοΈ | π | Data flow tracking, lineage graphs, provenance |
serialization |
7 | 6 | π | βοΈ | π | JSON, YAML, MessagePack, Protobuf serialization |
documents |
38 | 16 | π | βοΈ | π | Document processing (PDF, HTML, CSV, XML, Markdown) |
feature_store |
5 | 2 | π | βοΈ | π | ML feature registry, versioning, and serving |
agentic_memory |
35 | 30 | π | βοΈ | π | Long-term agent memory, retrieval, and knowledge graphs |
model_ops |
22 | 10 | π | βοΈ | π | ML model lifecycle, registry, versioning |
π Security & Identity Modules
| Module | Py | Tests | Docs | Config | Scripts | Description |
|---|---|---|---|---|---|---|
security |
47 | 16 | π | βοΈ | π | Threat detection, vulnerability scanning, audit trails |
auth |
13 | 4 | π | βοΈ | π | OAuth, API key, JWT, RBAC authentication |
crypto |
37 | 26 | π | βοΈ | π | Cryptographic primitives, hashing, key management |
encryption |
12 | 3 | π | βοΈ | π | AES-GCM, signing, KDF, HMAC, key rotation |
privacy |
4 | 2 | π | βοΈ | π | PII detection, data anonymization, compliance |
defense |
4 | 5 | π | βοΈ | π | Adversarial defense, input sanitization (deprecated) |
identity |
5 | 4 | π | βοΈ | π | Digital identity, persona management, biocognitive auth |
wallet |
16 | 3 | π | βοΈ | π | Cryptocurrency wallet, key storage, transaction signing |
π¨ Multimedia & Visualization Modules
| Module | Py | Tests | Docs | Config | Scripts | Description |
|---|---|---|---|---|---|---|
audio |
15 | 5 | π | βοΈ | π | TTS (edge-tts, pyttsx3), audio processing, transcription |
video |
12 | 4 | π | βοΈ | π | Video processing, frame extraction, Veo 2.0 generation |
multimodal |
2 | 3 | π | βοΈ | π | Imagen 3 image generation, multi-modal AI pipelines |
data_visualization |
68 | 20 | π | βοΈ | π | Matplotlib, Plotly, chart generation, dashboards |
meme |
57 | 6 | π | βοΈ | π | Meme generation, template engine, social media formatting |
spatial |
12 | 3 | π | βοΈ | π | Geospatial data, coordinate systems, mapping |
π Personal AI (PAI) Modules
| Module | Py | Tests | Docs | Config | Scripts | Description |
|---|---|---|---|---|---|---|
email |
14 | 4 | π | βοΈ | π | Gmail, AgentMail providers, SMTP, IMAP |
calendar_integration |
6 | 2 | π | βοΈ | π | Google Calendar CRUD, event management, scheduling |
finance |
10 | 2 | π | βοΈ | π | Ledger, payroll, forecasting, tax calculation |
website |
15 | 19 | π | βοΈ | π | PAI dashboard server, health monitoring, proxying |
market |
4 | 3 | π | βοΈ | π | Market data, trading signals, portfolio analysis |
logistics |
27 | 9 | π | βοΈ | π | Task routing, supply chain, resource allocation |
relations |
15 | 4 | π | βοΈ | π | Contact management, relationship mapping, CRM |
physical_management |
8 | 4 | π | βοΈ | π | IoT device tracking, physical asset management |
π οΈ Developer Tooling Modules
| Module | Py | Tests | Docs | Config | Scripts | Description |
|---|---|---|---|---|---|---|
cli |
21 | 6 | π | βοΈ | π | Rich CLI with subcommands for all modules |
ide |
16 | 9 | π | βοΈ | π | VS Code, Cursor, Antigravity IDE integrations |
git_operations |
34 | 20 | π | βοΈ | π | Full Git CLI wrapper (branch, merge, stash, submodules) |
git_analysis |
16 | 4 | π | βοΈ | π | Commit analysis, contributor stats, code churn |
tree_sitter |
7 | 2 | π | βοΈ | π | AST parsing, code navigation, structural queries |
static_analysis |
4 | 9 | π | βοΈ | π | Linting, complexity metrics, dead code detection |
terminal_interface |
8 | 4 | π | βοΈ | π | Rich terminal UI, ANSI rendering, interactive prompts |
scrape |
12 | 9 | π | βοΈ | π | Web scraping, HTML parsing, sitemap crawling |
search |
6 | 3 | π | βοΈ | π | Full-text search, fuzzy matching, regex search |
βοΈ Configuration & Operations Modules
| Module | Py | Tests | Docs | Config | Scripts | Description |
|---|---|---|---|---|---|---|
config_management |
13 | 7 | π | βοΈ | π | Hierarchical config loading, validation, hot-reload |
config_monitoring |
3 | 1 | π | βοΈ | π | Configuration drift detection and alerting |
config_audits |
4 | 1 | π | βοΈ | π | Configuration compliance auditing and rule engine |
environment_setup |
4 | 4 | π | βοΈ | π | Dependency resolution, environment validation |
logging_monitoring |
16 | 4 | π | βοΈ | π | Structured logging, metrics collection, alerting |
telemetry |
25 | 13 | π | βοΈ | π | OpenTelemetry traces, spans, exporters |
performance |
19 | 4 | π | βοΈ | π | Benchmarking, profiling, performance visualization |
maintenance |
12 | 3 | π | βοΈ | π | Health checks, cleanup, system diagnostics |
release |
4 | 2 | π | βοΈ | π | Release management, changelog generation, versioning |
π§© Framework & Utility Modules
| Module | Py | Tests | Docs | Config | Scripts | Description |
|---|---|---|---|---|---|---|
utils |
17 | 15 | π | βοΈ | π | CLI helpers, string ops, file utils, decorators |
validation |
16 | 7 | π | βοΈ | π | Schema validation, data contracts, type checking |
exceptions |
13 | 2 | π | βοΈ | π | Exception hierarchy (AI, IO, Git, config) |
events |
29 | 7 | π | βοΈ | π | Event bus, pub/sub, event store, logging listeners |
plugin_system |
12 | 7 | π | βοΈ | π | Plugin discovery, lifecycle, dependency injection |
dependency_injection |
4 | 2 | π | βοΈ | π | IoC container, service locator, scoped lifetimes |
concurrency |
17 | 5 | π | βοΈ | π | Distributed locks, semaphores, Redis locking |
compression |
8 | 1 | π | βοΈ | π | gzip, zstd, brotli compression algorithms |
templating |
8 | 4 | π | βοΈ | π | Jinja2 templating, code generation templates |
feature_flags |
9 | 6 | π | βοΈ | π | Feature flag management, rollout strategies |
tool_use |
5 | 4 | π | βοΈ | π | Tool registration, execution, and discovery |
testing |
15 | 7 | π | βοΈ | π | Test fixtures, runners, coverage utilities |
documentation |
45 | 10 | π | βοΈ | π | Docusaurus site, docs generation, quality checks |
docs_gen |
4 | 2 | π | βοΈ | π | Automated documentation generation from source |
module_template |
2 | 5 | π | βοΈ | π | Canonical template for new module creation |
operating_system |
10 | 1 | π | βοΈ | π | OS interaction (macOS/Linux/Windows), filesystem |
file_system |
2 | 2 | π | βοΈ | π | File operations, directory walker, permissions |
dark |
4 | 2 | π | βοΈ | π | Dark PDF extraction and processing |
embodiment |
9 | 1 | π | βοΈ | π | ROS bridge, sensors, actuators (deprecated) |
demos |
2 | 1 | π | βοΈ | π | Demo registry and showcase runner |
formal_verification |
8 | 2 | π | βοΈ | π | Z3 backend, SMT solver, invariant checking |
system_discovery |
14 | 4 | π | βοΈ | π | System introspection, capability detection |
𧬠ML Training & Optimization Modules
| Module | Py | Docs | Description |
|---|---|---|---|
lora |
3 | π | LoRA fine-tuning adapters |
peft |
3 | π | Parameter-efficient fine-tuning |
rlhf |
3 | π | Reinforcement learning from human feedback |
dpo |
3 | π | Direct preference optimization |
distillation |
3 | π | Model distillation and compression |
quantization |
5 | π | Model quantization (INT8, FP16) |
distributed_training |
3 | π | Multi-GPU and distributed training |
autograd |
4 | π | Automatic differentiation engine |
matmul_kernel |
3 | π | Custom matrix multiplication kernels |
softmax_opt |
3 | π | Softmax optimization (FlashAttention-style) |
nas |
3 | π | Neural architecture search |
model_merger |
3 | π | Model merging (TIES, SLERP, DARE) |
slm |
3 | π | Small language model optimization |
ssm |
3 | π | State space models (Mamba) |
eval_harness |
3 | π | LLM evaluation harness |
logit_processor |
3 | π | Logit manipulation and processing |
tokenizer |
4 | π | Custom tokenizer training and management |
π Data Pipeline & Infrastructure Modules
| Module | Py | Docs | Description |
|---|---|---|---|
api |
31 | π | REST/GraphQL API framework |
collaboration |
30 | π | Multi-agent collaboration protocols |
ml_pipeline |
2 | π | ML pipeline orchestration |
data_curation |
3 | π | Dataset curation and cleaning |
synthetic_data |
3 | π | Synthetic data generation |
text_to_sql |
3 | π | Natural language to SQL translation |
semantic_router |
3 | π | Semantic intent routing |
π§© Specialized Modules
| Module | Py | Docs | Description |
|---|---|---|---|
ai_gateway |
3 | π | AI gateway and API proxy |
aider |
5 | π | Aider AI coding assistant integration |
neural |
7 | π | Neural network primitives |
interpretability |
3 | π | Model interpretability and explainability |
image |
2 | π | Image processing utilities |
examples |
9 | π | Reference implementation examples |
pai_pm |
6 | π | PAI Project Manager server (Bun/TypeScript) |
soul |
4 | π | Biocognitive identity and persona engine |
π¬ Module Dependency Architecture
graph LR
subgraph Foundation["Foundation Layer"]
Utils["utils"]
Exceptions["exceptions"]
Events["events"]
Validation["validation"]
Config["config_management"]
end
subgraph DataLayer["Data Layer"]
DB["database_management"]
Cache["cache"]
Serial["serialization"]
Docs["documents"]
Memory["agentic_memory"]
end
subgraph AILayer["AI Layer"]
LLM["llm"]
Agents["agents"]
Cerebrum["cerebrum"]
RAG["graph_rag"]
VS["vector_store"]
PE["prompt_engineering"]
end
subgraph InfraLayer["Infrastructure Layer"]
Cloud["cloud"]
Container["containerization"]
Deploy["deployment"]
CICD["ci_cd_automation"]
Net["networking"]
end
subgraph SecurityLayer["Security Layer"]
Auth["auth"]
Crypto["crypto"]
Encrypt["encryption"]
Identity["identity"]
Privacy["privacy"]
end
subgraph AppLayer["Application Layer"]
Orch["orchestrator"]
MCP["model_context_protocol"]
CLI["cli"]
Website["website"]
PAI["email + calendar"]
end
Foundation --> DataLayer
Foundation --> SecurityLayer
DataLayer --> AILayer
SecurityLayer --> AILayer
AILayer --> AppLayer
InfraLayer --> AppLayer
DataLayer --> InfraLayer
π Agent Orchestration Pipeline
sequenceDiagram
participant User
participant CLI
participant Orchestrator
participant MCP as MCP Server
participant Agents
participant LLM as LLM Provider
participant Tools
User->>CLI: codomyrmex run --task "analyze codebase"
CLI->>Orchestrator: Create workflow
Orchestrator->>MCP: Register available tools
MCP->>Tools: Discover ~600 tools (128 top-level modules)
Orchestrator->>Agents: Dispatch agent
Agents->>LLM: Generate completion (Gemini 2.5 Pro)
LLM-->>Agents: Response + tool calls
Agents->>MCP: Execute tool calls
MCP->>Tools: Run git_analysis, static_analysis, etc.
Tools-->>MCP: Results
MCP-->>Agents: Tool outputs
Agents-->>Orchestrator: Completed task
Orchestrator-->>CLI: Display results
CLI-->>User: Formatted output
ποΈ Project Structure
codomyrmex/
βββ .github/ # 37 GitHub Actions workflows, templates, docs
βββ config/ # 128 module-specific config.yaml files
βββ docs/ # 1,164 markdown files (recursive); see inventory
β βββ ARCHITECTURE.md # System architecture
β βββ AGENTS.md # Agent coordination
β βββ SPEC.md # Technical specification
β βββ PAI.md # Personal AI reference
β βββ PAI_DASHBOARD.md # PAI dashboard reference
β βββ index.md # MkDocs site index
β βββ getting-started/ # 9 quick-start docs
β βββ development/ # 10 dev guides
β βββ modules/ # Per-module doc directories (see inventory for counts)
β βββ security/ # 11 security guides
β βββ agi/ # 14 AGI theory docs
β βββ ... (18 directories)
βββ scripts/ # 445+ orchestrator scripts
β βββ agents/ # Jules batch dispatch, harvester
β βββ maintenance/ # Config generation, health checks
β βββ ... (90+ module scripts)
βββ src/codomyrmex/ # Main source (128 modules)
β βββ agents/ # 168 files
β βββ llm/ # 41 files
β βββ security/ # 47 files
β βββ tests/ # 1,023+ test files (zero-mock)
β βββ ... (122 more modules)
βββ CHANGELOG.md # Release history
βββ CITATION.cff # Citation metadata
βββ pyproject.toml # uv-managed project config (uv_build backend)
π Aggregate Statistics
| Metric | Value |
|---|---|
| Total Modules | 128 (top-level under src/codomyrmex/) |
| Total Python Files | 3,000+ |
| Collected tests | 34,334 (uv run pytest src/codomyrmex/tests/ --collect-only -q --no-header --override-ini='addopts=' --import-mode=importlib) |
| Documentation Files | 1,164 (*.md under docs/; see inventory) |
| GitHub Workflows | 37 |
| MCP Tools | 600 (@mcp_tool lines, production tree) |
mcp_tools.py files |
149 (non-test) |
| PAI Skills | 81 installed |
| RASP Doc Compliance | 128/128 |
| Ruff / ty | Run locally; targets in pyproject.toml |
| Testing Policy | Zero-Mock (100% real methods) |
| Coverage Gate | 40% (fail_under in pyproject.toml; CI + make test use --cov-fail-under=40; plain uv run pytest skips --cov; meme/ omitted from coverage run; stretch toward 45%+) |
| Default LLM | Gemini 2.5 Pro |
| Package Manager | uv |
| Python Version | 3.11 β 3.14 |
π LLM Provider Matrix
| Provider | Model | Status | Free Tier | Streaming | Tool Use |
|---|---|---|---|---|---|
| Google Gemini | gemini-2.5-pro | β | β | β | β |
| Google Imagen | imagen-3.0-generate-002 | β | β | β | β |
| Google Veo | veo-2.0-generate-001 | β | β | β | β |
| OpenRouter | Llama 3.3 70B | β | β | β | β |
| OpenRouter | DeepSeek R1 | β | β | β | β |
| OpenRouter | Google Gemma 3 | β | β | β | β |
| Anthropic | Claude 3.5 Sonnet | β | β | β | β |
| OpenAI | GPT-4o | β | β | β | β |
| OpenAI | o1 / o3-mini | β | β | β | β |
| Perplexity | sonar-pro | β | β | β | β |
| Ollama | any local model | β | β | β | β |
| Claude 3.7 | claude-3-7-sonnet | β | β | β | β |
π€ Agent Dispatch Architecture
graph TD
subgraph Dispatch["Agent Dispatch Layer"]
Jules["Jules CLI v0.1.42"]
GeminiCLI["Gemini CLI v0.22.5"]
Claude["Claude Code"]
Codex["Codex CLI"]
end
subgraph Orchestration["Orchestration"]
BatchDispatch["jules_batch_dispatch.sh"]
MegaSwarm["mega_swarm_dispatcher.py"]
Harvester["mega_swarm_harvester.py"]
end
subgraph Targets["Target Modules - 126"]
M1["agentic_memory"]
M2["agents"]
Mdots["..."]
M95["website"]
end
MegaSwarm --> Jules
BatchDispatch --> Jules
Jules --> Targets
GeminiCLI --> Targets
Claude --> Targets
Harvester --> Jules
Harvester -->|"Pull and Apply"| Targets
π§ͺ Testing Philosophy
See docs/development/testing-strategy.md for the full guide.
graph LR
subgraph Policy["Zero-Mock Policy"]
direction TB
R1["Real methods only"]
R2["Real file I/O"]
R3["Real network calls"]
R5["No unittest.mock"]
R6["No MagicMock"]
end
subgraph Layers["Test Layers"]
Unit["Unit Tests - 800+ files"]
Integration["Integration Tests"]
E2E["End-to-End Validation"]
end
Policy --> Layers
# Run all tests
uv run pytest src/codomyrmex/tests/ -v --tb=short
# Run a specific module
uv run pytest src/codomyrmex/tests/unit/llm/ -v
# Lint and format
uv run ruff check . # lint
uv run ruff format . # format
uv run ty check src/ # type check
πΊοΈ Configuration Architecture
See config/ for all 128 module configurations.
graph TB
subgraph ConfigRoot["config/"]
C1["agents/config.yaml"]
C2["llm/config.yaml"]
C3["security/config.yaml"]
Cdots["... 128 total"]
end
subgraph Scripts["scripts/"]
S1["agents/orchestrator.py"]
S2["llm/demo.py"]
S3["security/audit.py"]
Sdots["... 445+ scripts"]
end
subgraph Source["src/codomyrmex/"]
Src1["agents/"]
Src2["llm/"]
Src3["security/"]
SrcDots["..."]
end
C1 -.->|"YAML load"| S1
C2 -.->|"YAML load"| S2
C3 -.->|"YAML load"| S3
S1 -->|"import"| Src1
S2 -->|"import"| Src2
S3 -->|"import"| Src3
π Personal AI Dashboard
See docs/pai/ for the full PAI reference.
graph LR
subgraph Dashboard["PAI Dashboard localhost:3000"]
Overview["Overview Tab"]
EmailTab["Email Tab"]
CalendarTab["Calendar Tab"]
SkillsTab["Skills Tab"]
AgentsTab["Agents Tab"]
end
subgraph Backend["Backend Services"]
Gmail["Gmail API"]
GCal["Google Calendar API"]
MCP2["MCP Tool Server"]
AgentAPI["Agent Dispatch API"]
end
subgraph External["External Services"]
Google["Google Workspace"]
Jules2["Jules Agents"]
Gemini["Gemini 2.5 Pro"]
end
Dashboard --> Backend
Backend --> External
β‘ Quick Start
# 1. Clone
git clone https://github.com/docxology/codomyrmex.git && cd codomyrmex
# 2. Install (all dev dependencies via uv)
uv sync --all-groups
# 3. Configure environment
cp .env.example .env # Add GEMINI_API_KEY, ANTHROPIC_API_KEY, etc.
# 4. Verify installation
uv run codomyrmex doctor --all
# 5. Explore
uv run codomyrmex --help
uv run codomyrmex modules # List all top-level modules
uv run codomyrmex status # Live system status
# 6. Run tests
uv run pytest src/codomyrmex/tests/ -v --tb=short
# 7. Lint & type-check
uv run ruff check . && uv run ruff format . && uv run ty check src/
# 8. Start PAI dashboard
uv run python scripts/pai/dashboard.py
# 9. Dispatch AI agents
uv run python scripts/agents/mega_swarm_dispatcher.py
New here? Start with the Quick Start Guide or dive into Agent Operations.
π Documentation Standards
Every module follows the RASP documentation pattern:
| Document | Purpose | Links |
|---|---|---|
README.md |
Human-readable overview | Root README, Docs README |
AGENTS.md |
Agent-readable instructions | Root AGENTS, Docs AGENTS |
SPEC.md |
Technical specification | Root SPEC, Docs SPEC |
PAI.md |
Personal AI integration | Root PAI, Docs PAI |
ποΈ .github/ Directory Overview
This directory powers the GitHub-hosted infrastructure for Codomyrmex.
Workflows (37 total)
| Category | Workflows | Description |
|---|---|---|
| Core CI/CD | ci.yml, security.yml, release.yml, pre-commit.yml | Lint, test, security scan, release |
| Code Quality | code-health.yml, benchmarks.yml, documentation.yml, documentation-validation.yml | Quality gates, benchmarks, docs |
| PR Automation | auto-merge.yml, pr-labeler.yml, pr-title-check.yml, pr-conflict-check.yml, pr-coverage-comment.yml, pr-linter-comments.yml | Auto-merge, labeling, coverage |
| AI Dispatch | gemini-dispatch.yml, gemini-invoke.yml, gemini-review.yml, gemini-triage.yml, gemini-scheduled-triage.yml, jules-dispatch.yml | Gemini and Jules agent orchestration |
| Maintenance | maintenance.yml, cleanup-branches.yml, lock-threads.yml, workflow-coordinator.yml, workflow-status.yml | Repo health, branch cleanup, status |
| Community | first-interaction.yml, first-pr-merged.yml, agent-welcome.yml, agent-metrics.yml | Onboarding, agent welcome |
| Dependencies | dependency-review.yml, dependabot-auto-approve.yml, sbom.yml | Dep review, SBOM generation |
Community & Configuration Files
| File | Purpose |
|---|---|
| CONTRIBUTING.md | Contributor guide with PR process and code standards |
| CODEOWNERS | Auto-assignment of reviewers by file path |
| PULL_REQUEST_TEMPLATE.md | Standard PR checklist |
| ISSUE_TEMPLATE/ | Bug reports, feature requests, Jules tasks, docs issues |
| dependabot.yml | Automated dependency update configuration |
| release-drafter.yml | Auto-generated release notes |
| FUNDING.yml | GitHub Sponsors configuration |
| WORKFLOW_IMPROVEMENTS.md | Planned workflow enhancements |
| WORKFLOW_TESTING_GUIDE.md | Guide for testing GitHub Actions locally |
π€ Contributing
We welcome contributions! Please read CONTRIBUTING.md for standards, the Zero-Mock testing policy, PR workflow, and coding guidelines.
Key requirements:
- All tests must use real implementations (Zero-Mock policy β no
unittest.mockorMagicMock) - Coverage must not drop below the 40% gate in
pyproject.toml([tool.coverage.report]and pytestaddopts) - All new modules need
README.md,AGENTS.md,SPEC.md, andPAI.md(RASP pattern) - Run
uv run ruff check .anduv run ty check src/before submitting
π License
MIT License β see LICENSE for details.
Copyright Β© 2025β2026 The Codomyrmex Contributors (@docxology)
Built with π Codomyrmex β The Autonomous Software Colony
128 modules Β· 600 MCP tools Β· 34,334 tests Β· 1,164 docs Β· 37 workflows Β· Zero-Mock Β· Production-Grade
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found