Local-first MCP server for AI agent guidance and mission governance
Project description
AI Guider
A local co-pilot for AI coding agents.
AI Guider does not write your code. It sits beside agents (Cursor, Claude, Codex, and others) and helps them stay on track: clarify what you want, block out-of-scope work, and finish cleanly.
You → Cursor / Claude / Codex → AI Guider (local) → decisions, maps, and guardrails
Everything stays on your machine. No cloud account required for Guider itself.
What you get
| Capability | In plain terms |
|---|---|
| Missions | A clear objective, success criteria, and open questions |
| Q&A gate | The agent must ask you before guessing (stack, storage, etc.) |
| Plan refine | Sharpens a plan from your answers — does not invent features |
| Scope checks | Approve / caution / reject before risky changes |
| Codebase map | Quick map of folders, entrypoints, and key symbols |
| Hooks (Cursor) | Optional: block file edits until Guider approves the action |
Install in 5 minutes
Requirements
- macOS, Linux, or Windows
- Python 3.10 or newer (3.12 recommended)
Step 1 — Install AI Guider
cd ~/ai-guider # or wherever you cloned this repo
python3.12 -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install -e ".[dev]"
Check that it works:
ai-guider doctor
Step 2 — Connect your AI tools
Pick one command:
# Recommended: connect everything you use
ai-guider init --all-clients
# Or only what you need
ai-guider init --cursor --hooks # Cursor + edit guardrails
ai-guider init --claude # Claude Code
ai-guider init --claude-desktop # Claude Desktop app
ai-guider init --codex # OpenAI Codex
Step 3 — Restart the client
| Tool | What to do |
|---|---|
| Cursor | Reload window (Cmd+Shift+P → “Developer: Reload Window”) |
| Claude Code | Start a new session |
| Claude Desktop | Quit completely, then reopen |
| Codex | Restart; run codex mcp list and look for ai-guider |
Full details: Installation guide · Connect Claude & Codex
How to use it (everyday flow)
You do not need to memorize tool names. Tell your agent:
Use AI Guider to govern this request:
Build a simple todo webapp, local only, no backend.
A well-behaved agent will roughly:
- Start a mission and ask you any missing questions
- Record your answers
- Refine and approve a plan
- Check scope before editing files
- Mark success criteria done, then complete
Step-by-step with examples: Usage guide
Useful commands
ai-guider help # Full command guide (what each command does)
ai-guider doctor # Is my install healthy?
ai-guider bootstrap # Show active mission + tips for this session
ai-guider map # Print a map of the current project
ai-guider resume # What mission is active?
ai-guider missions # List recent missions
ai-guider report # Governance summary
ai-guider templates # Mission templates (personal site, API, …)
Documentation
Browse all guides: docs/
| Guide | Audience |
|---|---|
| Installation | First-time setup, troubleshooting |
| Usage | Day-to-day workflow in plain language |
| Clients (Cursor, Claude, Codex) | Per-app connection steps |
| Cursor deep dive | Hooks, maps, Cursor-only features |
| Publishing to PyPI | GitHub Release → PyPI workflow |
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 ai_guider-1.0.0.tar.gz.
File metadata
- Download URL: ai_guider-1.0.0.tar.gz
- Upload date:
- Size: 79.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e453dd484a6234757ab9f664b25bafee3eaaa10bb981023d02342ee2fc3860f1
|
|
| MD5 |
0f27e1104d1512619f124899ab6e9295
|
|
| BLAKE2b-256 |
659c45a870ea016521b4e4d3a0bf49474c56e09603543eeebbe7e64c0c411315
|
Provenance
The following attestation bundles were made for ai_guider-1.0.0.tar.gz:
Publisher:
publish.yml on odaneky/ai-guider
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ai_guider-1.0.0.tar.gz -
Subject digest:
e453dd484a6234757ab9f664b25bafee3eaaa10bb981023d02342ee2fc3860f1 - Sigstore transparency entry: 2148002333
- Sigstore integration time:
-
Permalink:
odaneky/ai-guider@df7bb4b1fd58309688617720b461f0e2426589f5 -
Branch / Tag:
refs/tags/1.0.0 - Owner: https://github.com/odaneky
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@df7bb4b1fd58309688617720b461f0e2426589f5 -
Trigger Event:
release
-
Statement type:
File details
Details for the file ai_guider-1.0.0-py3-none-any.whl.
File metadata
- Download URL: ai_guider-1.0.0-py3-none-any.whl
- Upload date:
- Size: 79.7 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 |
8c420b44167c2ba8d52755f74f5ce3473674e35b96d3d3cad34aa8571619adfb
|
|
| MD5 |
213769163950123d88d3c865bca42052
|
|
| BLAKE2b-256 |
a709f8b32c3a752cdb6f7adfab379be5a0687de5bfbc1ace8af412937dae6fc1
|
Provenance
The following attestation bundles were made for ai_guider-1.0.0-py3-none-any.whl:
Publisher:
publish.yml on odaneky/ai-guider
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ai_guider-1.0.0-py3-none-any.whl -
Subject digest:
8c420b44167c2ba8d52755f74f5ce3473674e35b96d3d3cad34aa8571619adfb - Sigstore transparency entry: 2148002344
- Sigstore integration time:
-
Permalink:
odaneky/ai-guider@df7bb4b1fd58309688617720b461f0e2426589f5 -
Branch / Tag:
refs/tags/1.0.0 - Owner: https://github.com/odaneky
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@df7bb4b1fd58309688617720b461f0e2426589f5 -
Trigger Event:
release
-
Statement type: