Morpheus framework - unified library package for AI-assisted development
Project description
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 applicationsagents/- AI agents and autonomous systemstools/- 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 agentsadmin/- Framework management and maintenancedocs/- 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 configurationdevcontainer/- 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 agentscdg/tools/- CDG-specific development toolscdg/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
CLAUDE.md- AI agent development instructions and organizational standardstemplates/workflows/README.md- Workflow system documentation (Development, Research, Review, Debug)tools/project-steward/README.md- Project management and standards enforcementdocs/sprints/- Sprint planning and tracking with standardized 4-document structure
Architecture Documentation
docs/MULTI_AGENT_WORKSPACE_ARCHITECTURE.md- Multi-agent architecture overviewdocs/MULTI_AGENT_WORKSPACE_IMPLEMENTATION_PLAN.md- Implementation roadmapdocs/DEVCONTAINER_FOUNDATION_ANALYSIS.md- Container infrastructure analysisdocs/CONTAINER_ORCHESTRATION_DESIGN.md- Orchestration system designdocs/reference/decisions/- Architecture Decision Records (ADRs)
Development Workflow
For AI Agents
- Read
CLAUDE.mdfor organizational standards and navigation protocol - Declare mode and workflow (see
templates/workflows/README.md) - Follow workflow-specific guidance for task at hand
- Use
morpheus stewardcommands for project management - Update
.claude-state.mdcheckpoint for session continuity
For Humans
- Start with README.md files to understand components
- Check CLAUDE.md files in projects for development instructions
- Use shared components from
libs/when possible - Follow established patterns within each category
- 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file morpheus_libs-0.2.0.tar.gz.
File metadata
- Download URL: morpheus_libs-0.2.0.tar.gz
- Upload date:
- Size: 32.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8da14ef26ed8ab523289c042bb5c8324a9fec10502bd1cabc30426d499c51645
|
|
| MD5 |
0c57e9ef30e4fbc694ea45ff011afd3f
|
|
| BLAKE2b-256 |
640062a9dbd0615a0fcc6e6003fb4cb7a452b71606b4de53c28821230f6055c5
|
Provenance
The following attestation bundles were made for morpheus_libs-0.2.0.tar.gz:
Publisher:
publish.yml on pjsulin/morpheus
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
morpheus_libs-0.2.0.tar.gz -
Subject digest:
8da14ef26ed8ab523289c042bb5c8324a9fec10502bd1cabc30426d499c51645 - Sigstore transparency entry: 1249614425
- Sigstore integration time:
-
Permalink:
pjsulin/morpheus@9483a4fce9735ea035d16f90bb87a72fbe793122 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/pjsulin
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@9483a4fce9735ea035d16f90bb87a72fbe793122 -
Trigger Event:
release
-
Statement type:
File details
Details for the file morpheus_libs-0.2.0-py3-none-any.whl.
File metadata
- Download URL: morpheus_libs-0.2.0-py3-none-any.whl
- Upload date:
- Size: 310.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
27b6a3a476cffad162ec7f2d86faadcd8a6a7263dc8e26349627f9bc17691be0
|
|
| MD5 |
d44093742966330586d0ec47cff053ac
|
|
| BLAKE2b-256 |
920dba2b913624f7c9ec7e00618b72ec3c9ffd159813978b1bf4a26c23788f7c
|
Provenance
The following attestation bundles were made for morpheus_libs-0.2.0-py3-none-any.whl:
Publisher:
publish.yml on pjsulin/morpheus
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
morpheus_libs-0.2.0-py3-none-any.whl -
Subject digest:
27b6a3a476cffad162ec7f2d86faadcd8a6a7263dc8e26349627f9bc17691be0 - Sigstore transparency entry: 1249614609
- Sigstore integration time:
-
Permalink:
pjsulin/morpheus@9483a4fce9735ea035d16f90bb87a72fbe793122 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/pjsulin
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@9483a4fce9735ea035d16f90bb87a72fbe793122 -
Trigger Event:
release
-
Statement type: