Metis - alexar76/aicom GitHub Wiki
Metis â cognition & verification tier
Metis (ÎŧáŋĪΚĪ) is the ecosystem's distributed cognitive layer over any LLM â Understanding Council â fail-closed confidence gate â layered Mixture-of-Agents â grounded verifier. It returns a machine-readable verification envelope (verify_score, verified, optional needs_clarification).
Live demo: metis.modelmarket.dev ¡ 3D landing: alexar76.github.io/metis ¡ Source: github.com/alexar76/metis ¡ PyPI:
aimarket-metis¡ Factory integration:docs/metis-integration.md
Why Metis matters in AICOM
| Layer | Role |
|---|---|
| Oracles | Verifiable math primitives (randomness, VDF, reputation, âĻ) |
| Metis | Verifiable cognition â multi-agent reasoning + confidence gate on natural-language decisions |
| AI-Factory | Produces products; optionally calls Metis on high-stakes stages (architect, methodologist) |
| ARGUS | Demand-side agent; can consume Metis + MCP tools like any other host |
Hard invariant: factory and Metis are independent. Missing Metis â factory runs unchanged (fail-open gate). Missing factory â Metis serves /v1/* normally.
Factory integration (optional gate)
High-stakes pipeline stages can POST to Metis /v1/verify via llm/metis_gate.py (HTTP only â never imports metis).
export METIS_URL=https://metis.internal:8080 # default http://127.0.0.1:8080
export AIFACTORY_METIS_GATE=auto # auto | on | off (default auto)
export AIFACTORY_METIS_GATE_BLOCK=0 # 1 = allow low-confidence to escalate
Full env table + sequence diagrams: docs/metis-integration.md ¡ RU ¡ ES ¡ FR ¡ ZH
MCP tools (Metis as consumer)
Metis agents can attach ecosystem MCP servers via presets:
| Preset | Server | Tools |
|---|---|---|
aimarket-oracle-gateway |
aimarket-oracle-gateway | 35 verifiable oracle tools |
aimarket-web |
aimarket-mcp | web_fetch, web_search, metis_verify (SSRF-hardened) |
enable_mcp_tools: true
mcp_ecosystem_presets:
- aimarket-oracle-gateway
- aimarket-web
aimarket-mcp â shared MCP gateway (stdio on Glama, HTTP self-host). Written once; consumed by Metis, ARGUS, and any stdio/HTTP MCP host.
Metis-side doc: metis/docs/en/ECOSYSTEM.md
Alien Monitor
Metis appears as the cognition node in Alien Monitor â live stats + in-graph chat proxied server-side (POST /api/metis/chat) so API keys never reach the browser.
Quick start (standalone)
git clone https://github.com/alexar76/metis.git && cd metis
pip install -e ".[dev,distributed]"
metis-serve --port 8080
# OpenAPI: /v1/verify ¡ /v1/chat/completions ¡ /aimarket/invoke
Docker: docker compose up -d in the metis repo.
Related
- Ecosystem â monorepo map
- Oracles â verifiable math providers
docs/ecosystem/knowledge-base.mdâ master index- aimarket-mcp on Glama