Agentic Maya v1 Python CLI MVP
Project description
Agentic Maya
Agentic Maya โ Governed multi-agent orchestration with YAML pipelines, policies, and skills for enterprise-grade AI workflows.
What It Does
Agentic Maya provides a secure, auditable framework for running multi-agent AI pipelines with built-in governance, memory management, and human oversight. It's designed for production use cases requiring compliance, traceability, and safety.
Key Features
- YAML-Driven Pipelines: Define complex workflows with steps, checkpoints, and fallback models
- Policy Enforcement: Six-layer governance system (Intent, Auth, Budget, PII, External Gate, Escalation)
- Skill Registry: Reusable, versioned agent capabilities with audit trails
- Memory Tiers: Session, episodic, long-term, and audit memory for safe persistence
- CLI Tools: Full lifecycle management with status, audit, checkpoint, and rollback commands
- HITL Integration: Human-in-the-loop approvals for critical decisions
- Audit Logging: Immutable, hash-chained logs for compliance
Quick Start
Installation
pip install agentic-maya
# or for development
pip install -e .
First Pipeline
# Run a sample pipeline
myna run ./pipelines/demo_pipeline.yml
# Check execution status
myna status <session_id>
# View detailed audit trail
myna audit <session_id>
CLI Commands
myna run <pipeline.yml>- Execute a pipelinemyna status <session_id>- Check pipeline statusmyna audit <session_id>- View audit logsmyna checkpoint <session_id> --label <name>- Create checkpointmyna rollback <session_id> --to <checkpoint>- Rollback to checkpointmyna approve <session_id> --request-id <id>- Approve pending requestsmyna pause <session_id>- Pause executionmyna terminate <session_id>- Stop pipeline
Architecture
Governance Layers
- Intent Verification - Validate task intent against policies
- Model Authorization - Check model access permissions
- Budget Control - Enforce token and cost limits
- PII Detection - Block sensitive data leaks
- External Gate - Control API/tool usage
- Escalation - Human approval for critical actions
Memory Tiers
- Session Memory: Current execution state
- Episodic Memory: Step checkpoints and resumes
- Long-Term Memory: Persistent knowledge and preferences
- Audit Memory: Compliance event history
Agent Roles
- Orchestrator: Controls pipeline execution
- Specialist: Executes domain tasks
- Subagent: Scoped helper agents
- Critic: Validates outputs and compliance
- Memory Manager: Handles all memory operations
- Tool Executor: Runs external tools/APIs
- Audit Agent: Enforces governance and logging
Documentation
๐ Full Documentation - Complete guides and API reference
Project Structure
agentic-myna/
โโโ main.py # CLI entry point
โโโ pyproject.toml # Project configuration
โโโ myna.toml # Runtime defaults
โโโ src/myna/ # Core package
โ โโโ cli.py # Command-line interface
โ โโโ runtime.py # Pipeline execution engine
โ โโโ governance.py # Policy enforcement
โ โโโ memory.py # Memory management
โ โโโ schemas.py # Data validation
โโโ pipelines/ # YAML pipeline definitions
โโโ policies/ # YAML governance policies
โโโ skills/ # YAML skill definitions
โโโ tests/ # Test suite
โ โโโ test_*.py # Unit tests
โ โโโ scenarios/ # Integration tests
โโโ docs/ # Markdown documentation
โโโ website/ # Static website
โโโ index.html # Homepage
โโโ docs/ # HTML documentation
Development
Setup
git clone <repository-url>
cd agentic-myna
pip install -e .[dev]
Testing
# Run all tests
python -m pytest
# Run specific test
python -m pytest tests/test_governance.py -v
# Run with coverage
python -m pytest --cov=src/myna
Building Documentation
# Generate HTML docs from Markdown
python scripts/build_docs.py
Contributing
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Write tests for new functionality
- Ensure all tests pass (
python -m pytest) - Commit changes (
git commit -m 'Add amazing feature') - Push to branch (
git push origin feature/amazing-feature) - Open a Pull Request
Guidelines
- Follow PEP 8 style guidelines
- Add type hints for new functions
- Update documentation for API changes
- Ensure backward compatibility
License
This project is licensed under the MIT License - see the LICENSE file for details.
Support
- ๐ง Email: adlitoxit@gmail.com
- ๐ GitHub: GitHub
Agentic Maya - Safe, Auditable, Multi-Agent AI Orchestration
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 agentic_maya-0.1.0.tar.gz.
File metadata
- Download URL: agentic_maya-0.1.0.tar.gz
- Upload date:
- Size: 32.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b62ebbf46cbe5ee7f8f4d4fb1db7f4ef8fa03af4ae422dee7787e3280599e3fb
|
|
| MD5 |
5b5cd4ad38c74bb8748d120afbb6e2c8
|
|
| BLAKE2b-256 |
972983584804781079c2e3d632ec44fc6e9fdfc94d20c84187e64cab622cf192
|
File details
Details for the file agentic_maya-0.1.0-py3-none-any.whl.
File metadata
- Download URL: agentic_maya-0.1.0-py3-none-any.whl
- Upload date:
- Size: 33.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4c50a2b1be3a3e290ecf04b46202155071ea5ad6b2e2d1fe3480003ece1d75ca
|
|
| MD5 |
4f7aa0339d8cd6cf70cd061c406a7cca
|
|
| BLAKE2b-256 |
d4f7c70de95e5134a9698c5b06ab9ebab001f4bb996576fefa2b34762fcc66ae
|