A pi extension that adds structured planning, web research, and subagent delegation.
- Plan mode (
/plan) — structured workflow: understand → design → write plan → approve → execute - Web research — Exa AI semantic search (
/exa-login,plan_researchtool) - Subagent delegation — spawn child pi processes for independent tasks
- Session goals (
/goal,plan_set_goal) — persistent session intention tracking
pi install git:github.com/pdennis/contextplanner-piSet your key via environment variable or the built-in command:
# Option A: command
# In pi, run: /exa-login
# Option B: env var
export EXA_API_KEY=your-key-hereGet a key at dashboard.exa.ai/api-keys.
| Command | Description |
|---|---|
/plan or Ctrl+Shift+X |
Enter plan mode |
/plan-cancel |
Cancel plan mode |
/goal |
View or edit the session goal |
/exa-login |
Set your Exa API key |
/exa-logout |
Remove stored Exa API key |
| Tool | Description |
|---|---|
plan_set_goal |
Set/update session goal |
plan_question |
Ask clarifying question during planning |
plan_set_phase |
Update planning phase indicator |
plan_write |
Write plan to file |
plan_submit |
Submit plan for approval |
plan_research |
Spawn research subagent (Exa search) |
subagent |
Delegate task to child pi |
exa_search |
Semantic web search |
exa_find_similar |
Find pages similar to a URL |
exa_get_contents |
Extract content from URLs |
MIT