Skip to main content

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
  • Competitor Intelligence — auto-discovered competitors, daily AI briefing
  • Engram Memory — persistent cross-session memory with amnesia diagnostics

Quick Start

cd maggy
pip install -e .

# Pull the local model (optional but recommended)
ollama pull qwen3-coder:30b-a3b

# Configure
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 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


Download files

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

Source Distribution

maggy_harness-0.1.0.tar.gz (500.3 kB view details)

Uploaded Source

Built Distribution

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

maggy_harness-0.1.0-py3-none-any.whl (472.0 kB view details)

Uploaded Python 3

File details

Details for the file maggy_harness-0.1.0.tar.gz.

File metadata

  • Download URL: maggy_harness-0.1.0.tar.gz
  • Upload date:
  • Size: 500.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for maggy_harness-0.1.0.tar.gz
Algorithm Hash digest
SHA256 552c73d5d8f5d55ddd34fb93323369c417f713b1495fe9254dab0207feb99edf
MD5 767c9f6d26cc216a6e859bea126a4984
BLAKE2b-256 593d8b0a68a0d5a3e9654d44810203b2f93abef58586a35b4fc1c669635136c1

See more details on using hashes here.

Provenance

The following attestation bundles were made for maggy_harness-0.1.0.tar.gz:

Publisher: publish.yml on alinaqi/maggy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file maggy_harness-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: maggy_harness-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 472.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for maggy_harness-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a15ef893c67b9cf4d33beada1d09edbf64b55183fab0a1889c4a37bf8396bf58
MD5 adcbcee38d79e980dcc210219987a7c3
BLAKE2b-256 775daad91e72710fa5cf5b5e442108c5c7b299ea17304441d4b417179a1c9da2

See more details on using hashes here.

Provenance

The following attestation bundles were made for maggy_harness-0.1.0-py3-none-any.whl:

Publisher: publish.yml on alinaqi/maggy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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