Production-ready runtime for building and orchestrating intelligent multi-agent AI systems
Project description
MUXI Runtime
The execution engine for AI agent formations.
For most users: Install MUXI CLI for the complete experience. This repo is for contributors and developers embedding the runtime directly.
[!IMPORTANT]
MUXI Ecosystem
This repository is part of the larger MUXI ecosystem.
๐ Complete architectural overview: See muxi/ARCHITECTURE.md - explains how core repositories fit together, dependencies, status, and roadmap.
What is MUXI Runtime?
MUXI Runtime transforms declarative YAML configurations into running AI systems. It's the core engine that powers the MUXI Server.
Core responsibilities:
- Formation execution - Loads and runs agent configurations from YAML
- Overlord orchestration - Routes requests, manages clarifications, coordinates workflows
- Memory systems - Three-tier memory (buffer, persistent, vector)
- Tool integration - MCP protocol support for external tools
- Multi-tenant isolation - User and session management
Architecture
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ MUXI Server - Formation lifecycle management โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ MUXI Runtime โโโ THIS REPO โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ Formation Engine (YAML loader & validator) โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค โ
โ โ Overlord โ Agents โ Workflow โ Background โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค โ
โ โ Memory โ MCP โ A2A โ LLM โ Observability โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ External Services (LLM APIs, MCP Servers, DBs) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Package Structure
The runtime uses src/muxi/runtime/ to share the muxi namespace with the Python SDK:
src/muxi/runtime/
โโโ formation/ # Formation engine
โ โโโ overlord/ # Central orchestration
โ โโโ agents/ # Agent implementations
โ โโโ workflow/ # Task decomposition, SOPs
โ โโโ server/ # Formation API (FastAPI)
โ โโโ background/ # Webhooks, scheduling, async
โโโ services/ # Runtime services
โ โโโ memory/ # Memory systems
โ โโโ mcp/ # MCP client
โ โโโ a2a/ # Agent-to-agent
โ โโโ llm/ # LLM abstraction
โโโ datatypes/ # Type definitions
Quick Start
Using with MUXI Server (recommended)
# Install MUXI CLI
curl -fsSL https://muxi.ai/install | sh
# Create and run a formation
muxi new my-assistant
cd my-assistant
muxi dev
Embedding directly
pip install muxi-runtime
from muxi.runtime import Formation
import asyncio
async def main():
formation = Formation()
await formation.load("formation.afs")
overlord = await formation.start_overlord()
response = await overlord.chat(
"Hello!",
user_id="user123"
)
print(response)
asyncio.run(main())
Development
git clone https://github.com/muxi-ai/runtime
cd runtime
pip install -e ".[dev]"
# Run tests
pytest tests/unit -v
pytest tests/integration -v
pytest e2e/tests -v
See contributing/README.md for contributor documentation.
Related Repositories
| Repo | Description |
|---|---|
| muxi-ai/muxi | Main repo with architecture docs |
| muxi-ai/server | Go server that hosts this runtime |
| muxi-ai/cli | Command-line tool |
| muxi-ai/sdks | Python, TypeScript, Go SDKs |
| muxi-ai/schemas | API schemas |
Documentation
- User docs: docs.muxi.ai
- Contributor docs: contributing/README.md
- Formation spec: agentformation.org
License
Elastic License 2.0 - Free to use, modify, and embed in products. Cannot be offered as a hosted service.
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 muxi_runtime-0.20260409.2.tar.gz.
File metadata
- Download URL: muxi_runtime-0.20260409.2.tar.gz
- Upload date:
- Size: 1.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a3e1f363c2392ce9a378d1a0608c1ec30e34a5043feccdfc0551fc5c7ef7ab21
|
|
| MD5 |
a6d06999043e264e6efd4bdd9f9c1f6f
|
|
| BLAKE2b-256 |
1a35c8c0512c5bf36436ee6b4a4fadf06febfeed2c4db0b59840d36973c453af
|
Provenance
The following attestation bundles were made for muxi_runtime-0.20260409.2.tar.gz:
Publisher:
release.yml on muxi-ai/runtime
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
muxi_runtime-0.20260409.2.tar.gz -
Subject digest:
a3e1f363c2392ce9a378d1a0608c1ec30e34a5043feccdfc0551fc5c7ef7ab21 - Sigstore transparency entry: 1262681898
- Sigstore integration time:
-
Permalink:
muxi-ai/runtime@bbf1d62348717455880509b621fb426e784e9199 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/muxi-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@bbf1d62348717455880509b621fb426e784e9199 -
Trigger Event:
push
-
Statement type:
File details
Details for the file muxi_runtime-0.20260409.2-py3-none-any.whl.
File metadata
- Download URL: muxi_runtime-0.20260409.2-py3-none-any.whl
- Upload date:
- Size: 1.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3b319f5ab71bd6b1fde56cbcd4a79a954ba69337b3fcac6e129fca20c766248c
|
|
| MD5 |
a8128c21beb63042fbf6ca2a1b2686ab
|
|
| BLAKE2b-256 |
531e0c98f218e701e9b124b4a669f38a23ca6874c52a6315d17b6cc1d2d414d5
|
Provenance
The following attestation bundles were made for muxi_runtime-0.20260409.2-py3-none-any.whl:
Publisher:
release.yml on muxi-ai/runtime
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
muxi_runtime-0.20260409.2-py3-none-any.whl -
Subject digest:
3b319f5ab71bd6b1fde56cbcd4a79a954ba69337b3fcac6e129fca20c766248c - Sigstore transparency entry: 1262681902
- Sigstore integration time:
-
Permalink:
muxi-ai/runtime@bbf1d62348717455880509b621fb426e784e9199 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/muxi-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@bbf1d62348717455880509b621fb426e784e9199 -
Trigger Event:
push
-
Statement type: