Installation and development setup for Codomyrmex. For architecture and module reference, see Architecture Overview and Module Reference.
- Python β₯3.11
- uv (recommended) or pip
Option 1: Using uv (Recommended)
git clone https://github.com/docxology/codomyrmex.git
cd codomyrmex
uv syncOption 2: Using pip
git clone https://github.com/docxology/codomyrmex.git
cd codomyrmex
uv pip install -e .# Launch interactive shell
./start_here.sh
# Or use the CLI directly
codomyrmex --help
# Discover available modules
uv run python -c "from codomyrmex.system_discovery import SystemDiscovery; SystemDiscovery().discover_modules()"For detailed installation instructions, see the Installation Guide.
Typical user journey with Codomyrmex:
flowchart TD
Start([Start]) --> Install{Install Codomyrmex}
Install -->|uv sync| Config["Configure Environment"]
Install -->|uv pip install| Config
Config --> Setup["Environment Setup"]
Setup --> Discover["Discover Modules"]
Discover --> Choose{Choose Workflow}
Choose -->|CLI Usage| CLI["Use CLI Commands"]
Choose -->|Interactive| Interactive["Launch Interactive Shell"]
Choose -->|API| API["Use REST API"]
CLI --> Modules["Work with Modules"]
Interactive --> Modules
API --> Modules
Modules --> Dev{Development Tasks}
Dev -->|Code Analysis| Analysis["Static Analysis Code Review"]
Dev -->|Build & Deploy| Build["CI/CD Automation & Deployment"]
Dev -->|AI Assistance| AI["AI Code Editing Pattern Matching"]
Dev -->|Visualization| Viz["Data Visualization 3D Modeling"]
Dev -->|Infrastructure| Infra["Container Management Database Operations"]
Analysis --> Extend["Extend & Customize"]
Build --> Extend
AI --> Extend
Viz --> Extend
Infra --> Extend
Extend --> Contrib{Contribute Back}
Contrib -->|Bug Reports| Issues["File Issues in GitHub"]
Contrib -->|Features| PR["Create Pull Requests"]
Contrib -->|Documentation| Docs["Improve Documentation"]
Issues --> End([End])
PR --> End
Docs --> End
Modules --> End
codomyrmex/
βββ /src/codomyrmex/ # Core source modules
β βββ /src/codomyrmex/coding/ # Code interaction and sandboxing
β βββ /src/codomyrmex/coding/static_analysis/ # Code quality analysis
β βββ /src/codomyrmex/logging_monitoring/ # Centralized logging
β βββ ... # 128 top-level modules
βββ /scripts/ # Maintenance and automation utilities
β βββ /scripts/documentation/ # Documentation maintenance scripts
β βββ /scripts/development/ # Development utilities
β βββ /scripts/examples/ # Example scripts and demonstrations
β βββ ... # 30+ module orchestrators
βββ /docs/ # Project documentation
β βββ /docs/getting-started/ # Installation and quickstart guides
β βββ /docs/modules/ # Module system documentation
β βββ /docs/project/ # Architecture and contributing guides
β βββ /docs/reference/ # API reference and troubleshooting
βββ /src/codomyrmex/tests/ # Test suites
β βββ /src/codomyrmex/tests/unit/ # Unit tests
β βββ /src/codomyrmex/tests/integration/ # Integration tests
βββ /config/ # Configuration templates and examples
β βββ /config/examples/ # Configuration examples
β βββ /config/templates/ # Configuration templates
βββ /cursorrules/ # Coding standards and automation rules
β βββ /cursorrules/modules/ # Module-specific rules
β βββ /cursorrules/cross-module/ # Cross-module coordination rules
β βββ /cursorrules/file-specific/ # File-specific rules
βββ /projects/ # Project workspace and templates
β βββ /projects/test_project/ # Example project structure
βββ /output/ # Generated output and reports
graph TD
subgraph corePlatform ["Core Platform"]
CoreSrc["src/codomyrmex/ 88 Modules"]
CoreScripts["scripts/ Automation & Orchestration"]
CoreTests["src/codomyrmex/tests/ Unit & Integration Tests"]
end
subgraph docsConfig ["Documentation & Config"]
Docs["docs/ User & Developer Guides"]
Config["config/ Templates & Examples"]
Rules["cursorrules/ Coding Standards"]
Projects["projects/ Project Templates"]
end
subgraph examplesOutput ["Examples & Output"]
ModuleExamples["scripts/[module]/examples/ Module Examples"]
Output["output/ Generated Reports"]
ScriptsExamples["scripts/examples/ General Examples"]
end
CoreSrc --> Docs
CoreScripts --> Docs
CoreTests --> Docs
Config --> CoreSrc
Rules --> CoreSrc
Projects --> CoreScripts
ModuleExamples --> CoreSrc
ScriptsExamples --> CoreScripts
CoreSrc --> Output
CoreScripts --> Output
Navigation Links:
- Self: Codomyrmex Root
- Key Artifacts:
- Agent Guide - Technical documentation for AI agents
- Personal AI Infrastructure - PAI documentation and capabilities
- Functional Spec - Functional specification
- Security - Security policies
- Children:
- Source Code - All modules and implementations
- Documentation - User and developer guides
- Scripts - Automation and orchestration utilities
- Configuration - Configuration templates
Comprehensive documentation for users, developers, and contributors. All documentation is organized in the docs/ directory.
- Quick Start Guide - Get up and running in 5 minutes
- Installation Guide - Detailed installation instructions
- Setup Guide - Environment configuration and setup
- Tutorials - Step-by-step tutorials including Creating a Module
- Architecture Overview - System design and principles
- Module System - Module architecture and relationships
- Module Dependencies - Dependency graph and relationships
- Module Relationships - How modules interact
- Contributing Guide - Development guidelines and workflow
- Development Environment - Setting up your development environment
- Testing Strategy - Testing approaches and best practices
- Documentation Guide - How to write and maintain documentation
- UV Usage Guide - Using uv for package management
- Integration Guide - Integrating Codomyrmex with other systems
- External Systems - Integration with external services
- Fabric AI Integration - AI integration patterns
- API Reference - Complete API documentation
- CLI Reference - Command-line interface documentation
- Troubleshooting - Common issues and solutions
- Migration Guide - Upgrading and migrating
- Performance Guide - Performance optimization
- Security Guide - Security best practices
- Deployment Guide - Production deployment instructions
- Production Setup - Production environment configuration
- Project Lifecycle - Managing project workflows
- Workflow Configuration - Workflow schemas
- Task Orchestration - Task management
- Logistics Module - Orchestration, task management, and scheduling
- Example Scripts - Working examples and demonstrations
- Basic Examples - Simple usage examples
- Integration Examples - Integration patterns
- Orchestration Examples - Workflow examples
See Documentation Hub for complete documentation index.
# Run all tests
uv run pytest
# Run with coverage
uv run pytest --cov=src/codomyrmex --cov-report=html
# Run specific test suite
uv run pytest src/codomyrmex/tests/unit/
uv run pytest src/codomyrmex/tests/integration/# Format code
uv run black src/
# Lint code
uv run ruff check src/
# Type checking
uv run ty check src/See Creating a Module Tutorial for detailed guidance on developing new modules.
We welcome contributions! Please see our Contributing Guide for:
- Code standards and best practices
- Development workflow
- Pull request process
- Testing requirements
- Documentation guidelines
Security is a priority. See SECURITY.md for:
- Vulnerability reporting
- Security best practices
- Module-specific security considerations
This project is licensed under the MIT License - see the LICENSE file for details.
Copyright (c) 2025 The Codomyrmex Contributors (@docxology)
- Lines of Code: ~100K+ across 128 top-level modules
- Test Coverage: Run
uv run pytest --cov=src/codomyrmex(gate inpyproject.toml) - Module Count: 128 top-level packages β see reference/inventory.md and
codomyrmex modulesfor health - Language Support: Python, JavaScript, Go, Rust, Java
- AI Integration: 5+ LLM providers supported
- Documentation: 200+ pages across all modules
- Repository: github.com/docxology/codomyrmex
- Issues: github.com/docxology/codomyrmex/issues
- Documentation: codomyrmex.readthedocs.io (coming soon)
- PyPI: pypi.org/project/codomyrmex/ (coming soon)
- Docker Hub: hub.docker.com/r/docxology/codomyrmex (coming soon)
Built with a focus on modularity, clarity, and professional development practices.
- Documentation: Reference Guides
- All Agents: AGENTS.md
- Functional Spec: SPEC.md
- Source Index: src/README.md
- Architecture Overview: architecture-overview.md
- Module Reference: module-reference.md
# CLI usage (primary entry point)
codomyrmex check # Verify environment setup
codomyrmex modules # List available modules
codomyrmex status # System status dashboard
codomyrmex shell # Interactive shell
# Python API usage
uv run python -c "
from codomyrmex.system_discovery import SystemDiscovery
sd = SystemDiscovery()
sd.discover_modules()
"