Skip to main content

Monorepo containing Morpheus, MAC, and CDG

Components

Morpheus - AI-First Development Framework

  • Standardized structure and code enforced rules to restrict your agents to known optimized processes
  • A core set of commonly used libraries, tools and agents in building LLM-based applications: llm proxy, document processing, vector search, etc.
  • A prompt optimization framework
  • Workflow-based context optimization system (80% token reduction)
  • Organizational standards (modes, workflows, observability) integrated from Organon project

Contains:

  • apps/ - User-facing applications
  • agents/ - AI agents and autonomous systems
  • tools/ - Development and deployment utilities (morpheus-cli, project-steward, document-store, codebase-scanner, search)
  • libs/ - Shared libraries and Python packages (LLM integration, document processing, telemetry)
  • templates/ - Project templates and workflow definitions for AI agents
  • admin/ - Framework management and maintenance
  • docs/ - Architecture documentation, sprint planning, and reference materials

MAC - Multi-repository Container Infrastructure

Infrastructure layer providing workspace management and containerized development environments. Uses a config to launch and configure tmux session to a claude session in a container with multiple repos and dirs mounted for a completely isolated multi-agent task work on a set of related repos.

Contains:

  • mac-workspace/ - Multi-repository workspace management with mount and environment configuration
  • devcontainer/ - Container infrastructure for AI development environments

CDG - Code Generation Domain

Specialized domain for Python-ObjectScript code generation with IRIS database integration.

Contains:

  • cdg/apps/ - CDG applications (web-translator FastAPI app, iris-execution Flask service)
  • cdg/agents/ - CDG-specific AI agents
  • cdg/tools/ - CDG-specific development tools
  • cdg/libs/ - CDG domain libraries (generation, analysis, knowledge management)

Quick Start

Installation

# Install all Morpheus packages (dev dependencies)
make install

# Install with full dependencies (includes ML/embedding for search)
make install-full

# Or install specific components manually
cd tools/morpheus-cli/
pip install -e .

Usage Examples

# Morpheus unified CLI
morpheus --help
morpheus plugins

# Project management and standards
morpheus steward sprints create 14 MyFeatureName
morpheus steward sprints list --status Current
morpheus steward validate project ./tools/my-tool
morpheus steward structure generate ./tools/my-tool

# CDG workspace management
morpheus cdg workspace init my-project
morpheus cdg workspace status

# MAC workspace management
morpheus mac_workspace init my-project

# Document tools
morpheus search index ./docs
morpheus doc-conv scan ./files

# Codebase analysis
codebase-scanner scan .
codebase-scanner validate . --rules sample-rules/python.yaml

System Validation

Quick Health Check

# Validate complete system (Sprint 06 integration test)
python tools/learning-integration-test/integration_test.py

Expected: All tests pass with " SUCCESS" status

Learning System Demo 🧬

# See genetic algorithm in action (35%  92% fitness improvement)
python apps/morpheus-evolve/demo_walkthrough.py

Expected: Complete learning walkthrough demonstrating prompt evolution

📖 Complete testing suite: docs/human-testing/

Documentation

Core Documentation

Architecture Documentation

Development Workflow

For AI Agents

  1. Read CLAUDE.md for organizational standards and navigation protocol
  2. Declare mode and workflow (see templates/workflows/README.md)
  3. Follow workflow-specific guidance for task at hand
  4. Use morpheus steward commands for project management
  5. Update .claude-state.md checkpoint for session continuity

For Humans

  1. Start with README.md files to understand components
  2. Check CLAUDE.md files in projects for development instructions
  3. Use shared components from libs/ when possible
  4. Follow established patterns within each category
  5. Maintain clear separation between project types

Navigation Pattern

  • Each directory has STRUCTURE.md for navigation (generate with morpheus steward structure generate)
  • Each project has CLAUDE.md for development instructions
  • README.md files explain what the code does (for engineers)
  • Use templates/workflows/ for workflow-specific guidance
  • Navigate systematically through the hierarchy

License

See individual project licenses within each directory.

Metadata

Release files for morpheus-libs 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for morpheus-libs 0.4.0
File Size Uploaded Provenance Actions
morpheus_libs-0.4.0.tar.gz 33.0 MB With provenance Details for morpheus_libs-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for morpheus-libs 0.4.0
File Interpreter ABI Platform Actions
morpheus_libs-0.4.0-py3-none-any.whl Python 3 none any Details for morpheus_libs-0.4.0-py3-none-any.whl

Total release size: 33.3 MB

Release files / morpheus_libs-0.4.0.tar.gz

Download URL morpheus_libs-0.4.0.tar.gz
Size 33.0 MB
Tags Source
SHA-256 checksum
How to use checksums
1b6e010c26a87693d0ea059dcc3b2e33a19a430f3f7e59555aa8131af79dafa0
BLAKE2b-256 checksum
How to use checksums
e85254bd90926a7ef49c73f8eea2e6680cb031b8148ec4a5ec00b1c111eb31e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.

Transparency log

Release files / morpheus_libs-0.4.0-py3-none-any.whl

Download URL morpheus_libs-0.4.0-py3-none-any.whl
Size 326.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d8c09b624ba34518e4eb90f149fe1d1f5489c7052da41ac8fc50b7ec053b99a0
BLAKE2b-256 checksum
How to use checksums
332564b752a93790c682be7654700b8df029f20971dfacdbce0bb66e8d5171da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.

Transparency log

Security for morpheus-libs 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for morpheus_libs-0.4.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page