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.py and pytest --collect-only as 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 130 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 608 runtime MCP tools from 623 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, 35,375 collected tests (uv run pytest tests/ --collect-only -q --no-header --override-ini='addopts=' --import-mode=importlib), 1,203 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
β¨ Why Codomyrmex?
|
|
| π§© 128 Top-Level Modules |
Packages under src/codomyrmex/ β composable, independently versioned, zero-mock tested |
| π€ 608 Runtime MCP Tools |
623 source decorators; see inventory |
| π§ͺ 35,375 Collected Tests |
uv run pytest 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
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.
130 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
No comments yet
Be the first to share your take.