Maggy — a local AI engineering command center: multi-model routing, intent graph, memory, and a web dashboard for Claude Code.
Project description
Maggy
Autonomous AI engineering command center.
Chat with your codebases across Claude, Codex, and Kimi — with semantic routing that picks the cheapest model that can handle the task.
Key Features
- Semantic Routing — local Ollama model rates task complexity and type, routes to Local/Kimi/Codex/Claude accordingly
- Interactive Chat — SSE streaming, session resume, ghost-text suggestions (Tab to accept)
- Inline Model Forcing — type "use claude" in any message to override routing
- Parallel Execution — Polyphony container orchestration for complex tasks (blast>=7)
- AI-prioritized Tasks — ranks open issues by urgency + OKR alignment
- One-click Execute — TDD pipeline with iCPG context enrichment
- Council PR Review — a multi-model council reviews a GitHub PR from the dashboard: deterministic mega-PR chunking, a static gate (tsc/ruff) as ground truth, an adversarial refute pass to kill false positives, and extensible per-language skills (Python/TS/Go/Rust/Java/C#/Ruby/PHP — drop in more).
pip install maggy-harness[review] - Competitor Intelligence — auto-discovered competitors, daily AI briefing
- Engram Memory — persistent cross-session memory with amnesia diagnostics
Quick Start
pip install maggy-harness # or: pipx install maggy-harness
maggy bootstrap # installs skills, hooks, ~/bin model wrappers, plugins
# Pull the local model (optional but recommended)
ollama pull qwen3-coder:30b-a3b
# Configure (optional — Maggy runs in local mode without keys)
export GITHUB_TOKEN=ghp_...
export ANTHROPIC_API_KEY=sk-ant-...
# Launch
maggy # interactive REPL (auto-detects project)
maggy serve # web dashboard at localhost:8080
maggy chat api # chat with a specific project
Or install from source for development:
cd maggy
pip install -e .
Or from inside Claude Code:
/maggy-init # interactive setup wizard
/maggy # launch dashboard
How Routing Works
Every message gets a semantic blast score (1-10), then routes to the cheapest capable model:
| Blast | Tier | Models |
|---|---|---|
| 1-3 | Low | Local (Qwen3-Coder), Kimi |
| 4-6 | Medium | Codex, Kimi |
| 7-10 | High | Claude, Codex |
The router learns from outcomes — successful tasks reinforce the routing decision.
Tests
cd maggy
python3 -m pytest tests/ -x -q
887 tests, target coverage >= 80%.
Docs
License
MIT
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 maggy_harness-0.2.0.tar.gz.
File metadata
- Download URL: maggy_harness-0.2.0.tar.gz
- Upload date:
- Size: 533.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4cb25a2f000211d646ef675e0cfab28d490ef6938f5c6c0a9dc5a38a2d07fc8c
|
|
| MD5 |
70a547c6253952f56b60c933d3d99a8c
|
|
| BLAKE2b-256 |
cc2c0bd06a8b814aae46032e203df57c9977cf121ee678506a0671403e48b805
|
Provenance
The following attestation bundles were made for maggy_harness-0.2.0.tar.gz:
Publisher:
publish.yml on alinaqi/maggy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
maggy_harness-0.2.0.tar.gz -
Subject digest:
4cb25a2f000211d646ef675e0cfab28d490ef6938f5c6c0a9dc5a38a2d07fc8c - Sigstore transparency entry: 1886437559
- Sigstore integration time:
-
Permalink:
alinaqi/maggy@8d101e51f4140d1c3e3d58d403b053586bf18ccd -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/alinaqi
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@8d101e51f4140d1c3e3d58d403b053586bf18ccd -
Trigger Event:
push
-
Statement type:
File details
Details for the file maggy_harness-0.2.0-py3-none-any.whl.
File metadata
- Download URL: maggy_harness-0.2.0-py3-none-any.whl
- Upload date:
- Size: 505.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8665673f1196b9cedeadbba5beb8b570150932dd35d24a0f81b8dc1c0f44c483
|
|
| MD5 |
6566a97132ccb917cd97d9865753500f
|
|
| BLAKE2b-256 |
a72905877c002458128bb9d4a1dad83f04b4dd3cc9832738db20857220248ce9
|
Provenance
The following attestation bundles were made for maggy_harness-0.2.0-py3-none-any.whl:
Publisher:
publish.yml on alinaqi/maggy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
maggy_harness-0.2.0-py3-none-any.whl -
Subject digest:
8665673f1196b9cedeadbba5beb8b570150932dd35d24a0f81b8dc1c0f44c483 - Sigstore transparency entry: 1886437614
- Sigstore integration time:
-
Permalink:
alinaqi/maggy@8d101e51f4140d1c3e3d58d403b053586bf18ccd -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/alinaqi
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@8d101e51f4140d1c3e3d58d403b053586bf18ccd -
Trigger Event:
push
-
Statement type: