Skip to main content

MAP Framework installer - Modular Agentic Planner for Claude Code

Project description

MAP Framework for Claude Code

PyPI version Python 3.11+

Structured AI development workflows that replace ad-hoc prompting with plan → execute → validate loops.

Based on MAP cognitive architecture (Nature Communications, 2025) — 74% improvement in planning tasks.

Why MAP?

  • Structured workflows — 11 specialized agents instead of single-prompt chaos
  • Quality gates — automatic validation catches errors before they compound
  • 40-60% cost savings — prevents circular reasoning and scope creep
  • Learning system — captures patterns for reuse across projects
  • Persistent artifacts/map-plan, /map-efficient, and /map-check keep branch-scoped research, session, review, QA, and verification artifacts inside .map/<branch>/

Quick Start

1. Install

uv tool install mapify-cli

# or with pip
pip install mapify-cli

2. Initialize (in your project)

cd your-project
mapify init

3. Start Claude Code and run your first workflow

claude
/map-efficient implement user authentication with JWT tokens

You'll know it's working when: Claude spawns specialized agents (TaskDecomposer → Actor → Monitor) with structured output instead of freeform responses.

Core Commands

Command Use For
/map-efficient Production features, refactoring, complex tasks (recommended)
/map-debug Bug fixes and debugging
/map-fast Small, low-risk changes
/map-review Pre-commit code review
/map-check Quality gates and verification
/map-plan Task decomposition without implementation
/map-task Execute a single subtask from an existing plan
/map-tdd Test-first implementation workflow
/map-release Package release workflow
/map-resume Resume interrupted workflows
/map-learn Extract lessons after workflow completion; optional [workflow-summary]

Detailed usage and options →

Canonical MAP flows:

  • Standard: /map-plan -> /map-efficient -> /map-check -> /map-review -> /map-learn (when you want to pay the learning cost)
  • Full TDD: /map-plan -> /map-tdd -> /map-check -> /map-review -> /map-learn
  • Targeted subtask TDD: /map-plan -> /map-tdd ST-001 -> /map-task ST-001 -> ... -> /map-check -> /map-review -> /map-learn

/map-plan now records a workflow-fit decision first, so trivial work can exit early with a direct edit or /map-fast recommendation instead of forcing full MAP planning.

These workflows maintain branch-scoped artifacts like code-review-001.md, qa-001.md, verification-summary.md, pr-draft.md, artifact_manifest.json, and run dossiers under .map/<branch>/. Targeted TDD flows also persist test_contract_ST-00N.md and test_handoff_ST-00N.json so /map-task can resume implementation from a clean red-phase handoff.

LEARN is still the philosophical end of the MAP cycle, but runtime keeps it soft: /map-efficient, /map-debug, /map-check, and /map-review now write learning-handoff.md / .json under .map/<branch>/, so /map-learn [workflow-summary] can run immediately with an explicit summary or later with no argument by auto-loading the generated handoff.

How It Works

MAP orchestrates specialized agents through slash commands:

TaskDecomposer → breaks goal into subtasks
     ↓
   Actor → generates code
     ↓
  Monitor → validates quality (loop if needed)
     ↓
 Predictor → analyzes impact (for risky changes)

The orchestration lives in .claude/commands/map-*.md prompts created by mapify init.

Architecture deep-dive →

Documentation

Guide Description
Installation All install methods, PATH setup, troubleshooting
Usage Guide Workflows, examples, cost optimization, playbook
Architecture Agents, MCP integration, customization
Platform Spec Platform refactor roadmap, codebase analysis

Case Study

Trouble?

  • Command not found → Run mapify init in your project first
  • Agent errors → Check .claude/agents/ has all 11 shipped agent .md files
  • More help →

Contributing

Improvements welcome: prompts for specific languages, new agents, CI/CD integrations.

License

MIT


MAP brings structure to AI-assisted development. Start with /map-efficient and see the difference.

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

mapify_cli-3.9.0.tar.gz (393.0 kB view details)

Uploaded Source

Built Distribution

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

mapify_cli-3.9.0-py3-none-any.whl (452.3 kB view details)

Uploaded Python 3

File details

Details for the file mapify_cli-3.9.0.tar.gz.

File metadata

  • Download URL: mapify_cli-3.9.0.tar.gz
  • Upload date:
  • Size: 393.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mapify_cli-3.9.0.tar.gz
Algorithm Hash digest
SHA256 b264013f029f989e6b2c8e807b7cba7a107666f3f8645c1227c088483fad1312
MD5 221d76278a08bc4b639c539b13ecdf14
BLAKE2b-256 d92d2160efa2d8787bc4e8a9f26821bbf06d6a5ead02bb9ea5d23cd6a6e3239f

See more details on using hashes here.

Provenance

The following attestation bundles were made for mapify_cli-3.9.0.tar.gz:

Publisher: release.yml on azalio/map-framework

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

File details

Details for the file mapify_cli-3.9.0-py3-none-any.whl.

File metadata

  • Download URL: mapify_cli-3.9.0-py3-none-any.whl
  • Upload date:
  • Size: 452.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mapify_cli-3.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ce6555195adcf87020743d69b04f2d6acd5e78592c5696001ea2740ce9bb2744
MD5 8c750f86da1a79bbe42d5e16b80ba6cd
BLAKE2b-256 61b344adc725d91142dc8ed1d3a1209bbe90b01cb940d15103e1e06744f3384f

See more details on using hashes here.

Provenance

The following attestation bundles were made for mapify_cli-3.9.0-py3-none-any.whl:

Publisher: release.yml on azalio/map-framework

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