Skip to main content

Engine Framework Core - AI Agent Orchestration System

Project description

Engine Core

PyPI version Python versions License Tests

Engine Framework Core - AI Agent Orchestration System

A powerful framework for building AI agent orchestration systems based on Pregel and Actor Model principles. Create, coordinate, and manage AI agents in complex workflows with maximum customization.

✨ Features

  • 🧠 Agent System: Configurable AI agents with 11 customizable modules
  • 👥 Team Coordination: Hierarchical agent groups with advanced coordination strategies
  • ⚡ Workflow Engine: Pregel-based process orchestration for complex agent interactions
  • 🔧 Tool Integration: Extensible plugin system for external integrations (APIs, CLI, MCP)
  • 📋 Protocol System: Semantic command sets for consistent agent behavior
  • 📚 Memory System: Hierarchical memory management with semantic search capabilities
  • 🚀 High Performance: Async-first architecture supporting 1000+ concurrent agents
  • 🔒 Production Ready: Comprehensive testing, validation, and error handling

📦 Installation

🚀 Quick Install (Recommended)

pip install engine-core

That's it! Engine Core v1.0.0 is now available on PyPI and ready to use.

📋 Requirements

  • Python: 3.11 or higher
  • Optional Dependencies:
    • PostgreSQL (for data persistence)
    • Redis (for workflow caching and pub/sub)

🔧 Alternative Installation Methods

# From source (development)
git clone https://github.com/engine-agi/engine-core.git
cd engine-core
pip install -e .

# With optional dependencies
pip install engine-core[postgres,redis]

# Development installation with all tools
pip install -e ".[dev]"

🚀 Quick Start

from engine_core import AgentBuilder, TeamBuilder, WorkflowBuilder

# Create an agent
agent = AgentBuilder() \
    .with_id("assistant") \
    .with_model("claude-3.5-sonnet") \
    .with_name("AI Assistant") \
    .build()

# Create a team
team = TeamBuilder() \
    .with_id("team") \
    .with_name("Development Team") \
    .add_member("assistant", agent) \
    .build({"assistant": agent})

# Create a workflow
workflow = WorkflowBuilder() \
    .with_id("task") \
    .add_team_vertex("analyze", team, "Analyze the task") \
    .add_team_vertex("implement", team, "Implement the solution") \
    .add_edge("analyze", "implement") \
    .build()

# Execute
import asyncio

async def main():
    result = await workflow.execute_async({"task": "Build a web app"})
    print(result)

asyncio.run(main())

📚 Documentation

📖 Guides

💡 Examples

🧪 Testing

# Run all tests
pytest

# Run with coverage
pytest --cov=engine_core --cov-report=html

🤝 Contributing

We welcome contributions! Please see our Contributing Guide for details.

Development Setup

git clone https://github.com/engine-agi/engine-core.git
cd engine-core
poetry install
poetry run pytest

📄 License

This project is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0).

📋 Dual Licensing

Engine Framework uses a dual licensing model:

  • AGPL-3.0: For open-source usage, community contributions, and non-commercial projects
  • Commercial License: For enterprise deployments, proprietary integrations, and commercial products

📞 Commercial Licensing

For commercial usage or if you need a different license:

See the LICENSE file and LICENSE-COMMERCIAL for details.

🆘 Support


Engine Framework - Making AI Agent Orchestration Simple, Powerful, and Production-Ready 🚀

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

engine_core-1.0.1.tar.gz (220.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

engine_core-1.0.1-py3-none-any.whl (263.0 kB view details)

Uploaded Python 3

File details

Details for the file engine_core-1.0.1.tar.gz.

File metadata

  • Download URL: engine_core-1.0.1.tar.gz
  • Upload date:
  • Size: 220.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for engine_core-1.0.1.tar.gz
Algorithm Hash digest
SHA256 8d27cdf55edba28a8d3db7876e8e0fd4c80daaf0999195a277f83c4b289ed81e
MD5 18435a688b12a4f8b2d7f8d567ad17d9
BLAKE2b-256 db142ae39341baa4b10c973dd169b702e129ed856cd293b41307f83ebf079ae3

See more details on using hashes here.

File details

Details for the file engine_core-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: engine_core-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 263.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for engine_core-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5b01a5dea41312ba4f4810fb21bd81fca7a3c38db3a06be784eaff12f1717a86
MD5 e439574abc4c4cb6fc2b381deb194f1b
BLAKE2b-256 e435ca1de82dcc80e147767d87e4968c8904d3b394ee02ca591b5041a3ccc1e3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page