Skip to main content

Metis — distributed cognitive layer over any LLM

Project description

Metis

CI Python 3.11 | 3.12 237 tests passing Test coverage 82% License MIT Docker ready Live demo

Metis (μῆτις) — distributed cognitive layer over any LLM
Part of the alexar76 AI agent economy

Metis live demo — interactive 3D superbrain with cognition graph and chat at metis.modelmarket.dev
Grab the star · watch it pulse and think · chat with Metis — open the live demo →

🌐 Language: English · Русский · Español

Multi-agent reasoning orchestrator — Understanding Council, DGPD depth gating, layered MoA, verifier, memory, search, economy metering, distributed cluster, MCP tools, and OpenAI-compatible API.

Quick start

python3 -m venv .venv && source .venv/bin/activate
pip install -e ".[dev,distributed]"
ollama pull qwen3:8b
metis "Explain multi-agent systems" --model qwen3:8b --url http://localhost:11434/v1

Install

PyPI package name is aimarket-metis (the PyPI name metis is a different project). Import path and CLI stay metis, metis-serve, etc.

# PyPI
pip install aimarket-metis
pip install "aimarket-metis[dev,distributed]"

# GitHub release tag
pip install "aimarket-metis[distributed] @ git+https://github.com/alexar76/metis.git@v0.2.0"

# Clone / monorepo (editable)
git clone https://github.com/alexar76/metis.git && cd metis
pip install -e ".[dev,distributed]"

# Docker
docker compose up -d

Documentation index

Resource Link
Architecture EN · RU · ES
API reference EN · RU · ES
Deployment EN · RU · ES
Security EN · RU · ES
User guide EN · RU · ES
Distributed EN · RU · ES
Ecosystem EN · RU · ES
Research EN · RU · ES
Wiki Home · Quick Start · FAQ
Landing page Live demo · docs/landing/index.html · deploy guide
Changelog CHANGELOG.md · RELEASE.md

Ecosystem map

Project Role
Metis Cognitive orchestration layer (this repo)
cognitive-runtime OpenAI API wrapper with DGPD
ARGUS-3 Demand-side reference agent + WARDEN MCP firewall
AIMarket Hub Federated capability catalog and invoke API
aimarket-oracle-gateway Verifiable oracle MCP services
HELIOS Broadcast pipeline for ecosystem content
AICOM AI-Factory — autonomous product pipeline

CLI commands

Command Purpose
metis Run a query through the cognitive stack
metis-serve OpenAI-compatible API (/v1/chat/completions)
metis-node Start a distributed worker node
metis-coordinator Start the cluster coordinator
metis-cluster Check cluster node health

Architecture

flowchart LR
    Q["Query"] --> M["Metis"]
    M --> R["Router"]
    R --> C["Council/MoA/Agent"]
    C --> P["LLM Providers"]
    C --> T["Tools + MCP"]
    M --> E["Economy Meter"]

Production

export METIS_API_KEY=sk-...
metis-serve --config config.production.yaml --production --port 8080

Legacy env vars SUPERBRAIN_* and COGNITIVE_* are still read for one release cycle.

Docker

cp config/docker.env.example .env
docker compose up -d --build

Tests

pytest --cov=metis --cov-report=term-missing -v

Research citations

Design decisions are grounded in published work — see docs/en/RESEARCH.md for Yang et al. 2026 (heterogeneous agents), Wang et al. ICLR 2025 (layered MoA), and related citations with honest caveats.

MIT License

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

aimarket_metis-0.2.0.tar.gz (133.6 kB view details)

Uploaded Source

Built Distribution

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

aimarket_metis-0.2.0-py3-none-any.whl (135.4 kB view details)

Uploaded Python 3

File details

Details for the file aimarket_metis-0.2.0.tar.gz.

File metadata

  • Download URL: aimarket_metis-0.2.0.tar.gz
  • Upload date:
  • Size: 133.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for aimarket_metis-0.2.0.tar.gz
Algorithm Hash digest
SHA256 872c84749791aea42e520a9172fe7bc264f477dbb11979af5cfeaf74456344f8
MD5 ff43aecbdf292384270507531cb9f80b
BLAKE2b-256 4a7ae6944dbd9bb98bbb1ff3189d97f2591137dd98ee75bd16556e0d1b16deba

See more details on using hashes here.

File details

Details for the file aimarket_metis-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: aimarket_metis-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 135.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for aimarket_metis-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 445e58e93c251d82e8918f34c938d4999b72888527186638ed0f23e7a8aa9b3d
MD5 2ee5333658c919128bbd6fb5adbd0504
BLAKE2b-256 3bd5cab93c0070204f4096485fc3b5b5c34a58a0c81e4f7dc21f5b753d98657e

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