AgenticPlanning
Playbooks: Agent Integration
Ready-to-use patterns for integrating AgenticPlanning into AI agent workflows.
Ready-to-use patterns for integrating AgenticPlanning into AI agent workflows.
30-Second Quick Start
- Install:
cargo install agentic-planning-cli - Add to
~/.claude/settings.json:
{
"mcpServers": {
"agentic-planning": {
"command": "aplan",
"args": ["serve"]
}
}
}- First tool call:
planning_goal create "Ship v1.0" --intention "Deliver stable release"
That's it. The agent now has persistent goal tracking.
System Prompt Templates
Minimal (~5 lines)
For agents that need basic goal tracking:
You have access to AgenticPlanning for tracking goals across sessions.
Use planning_goal to create, list, and complete goals.
Check planning_goal list at the start of each session to restore context.
Mark goals complete when done. Abandon goals that are no longer relevant.Standard (~15 lines)
For agents that need goals, decisions, and progress:
You have access to AgenticPlanning for structured planning across sessions.
Goals: Use planning_goal to create goals with priorities and deadlines.
Check goal feelings (urgency, neglect, confidence) to prioritize work.
Track physics (momentum, gravity) to understand progress dynamics.
Decisions: Use planning_decision to record choices with alternatives.
Crystallize decisions when you commit to a path. Shadow paths preserve
the options you didn't choose for later revisiting.
Progress: Use planning_progress to record incremental progress.
Check momentum to see if goals are accelerating or stalling.
Use planning_singularity collapse for a unified view of all goals.
At session start: planning_goal list to restore context.
At session end: record progress on active goals.Full (~25 lines)
For agents using the complete planning suite:
You have access to AgenticPlanning — a full planning engine with physics,
feelings, decisions, commitments, dreams, and multi-agent federation.
Goals: Create with planning_goal. Track lifecycle: Draft → Active → Blocked
→ Paused → Completed → Abandoned → Superseded → Reborn. Monitor physics
(momentum, gravity, inertia, energy) and feelings (urgency, neglect,
confidence, alignment, vitality). Decompose large goals into sub-goals.
Decisions: Record with planning_decision. Crystallize when choosing a path.
Shadow paths preserve alternatives. Use archaeology to search past decisions.
Use prophecy to predict outcomes before committing.
Commitments: Track promises with planning_commitment. Monitor entanglements
(Sequential, Parallel, Inverse, Resonant, Dependent). Check breaking cost
before renegotiating. Query at-risk and due-soon commitments.
Progress: Record with planning_progress. Check momentum and velocity.
Use blocker prophecy to predict obstacles. Listen for progress echoes
(ripple effects on related goals).
Dreams: Use planning_dream for forward-looking simulations. Generate
completion scenarios, predict obstacles, extract insights, seed sub-goals.
Singularity: Collapse with planning_singularity for a unified field view.
See goal positions, themes, tension lines, and the golden path.
Federation: Use planning_federate for multi-agent coordination. Share goals,
sync state, build consensus with planning_consensus.
Session protocol: Start with planning_goal list. End with progress records.
Use planning_context_log to capture reasoning throughout the session.Agent Workflow: Solo Planner
A single agent managing a project end-to-end:
- Session start —
planning_goal listto restore context. Check feelings for any rising neglect or falling confidence. - Identify work —
planning_singularity collapseto see the unified view. The golden path shows the highest-impact next action. - Make decisions —
planning_decision createwith alternatives. Deliberate, thencrystallizewith reasoning. - Track progress —
planning_progress recordafter each meaningful step. Note blockers immediately withplanning_goal block. - Dream forward —
planning_dream createon stalled goals to generate completion scenarios and obstacle predictions. - Session end — Record final progress. Log session context with
planning_context_log.
Agent Workflow: Decision Journal
For agents that need to maintain a searchable history of decisions:
- Before deciding —
planning_decision createwith title, all options, and context. Useprophecyto predict outcomes. - Deliberate — Evaluate options. Record reasoning.
- Crystallize —
planning_decision crystallizewith chosen path and full reasoning. Shadow paths preserve alternatives. - Later review —
planning_chain getto see causal chains.archaeologyto search past decisions by topic.counterfactualto explore what-if scenarios. - Regret and recrystallize — If context changes,
regreta decision andrecrystallizewith new information.
Agent Workflow: Commitment Tracker
For agents managing promises to stakeholders:
- Make promises —
planning_commitment createwith stakeholder, deadline, and importance weight. - Monitor health —
planning_commitment list --filter at-riskfor commitments in danger.--filter due-soonfor upcoming deadlines. - Detect conflicts — Entanglement analysis reveals parallel commitments that must progress together, inverse commitments that conflict, and sequential dependencies.
- Renegotiate carefully — Check
breaking_costbefore breaking a commitment. Higher stakeholder importance means higher cost. - Fulfill or release —
planning_commitment fulfillwhen done.releasewith explanation when circumstances change.
Multi-Agent: Federation
For coordinating multiple agents on shared goals:
- Create federation —
planning_federate create "Project Alpha"with member agent identities. - Share goals —
planning_federate shareto publish goals to the federation. Members see shared goals in their planning state. - Sync state —
planning_federate syncto propagate progress updates across members. - Collective dreaming —
planning_dream create --collectiveto combine multiple agents' perspectives on obstacle prediction. - Build consensus —
planning_consensus proposefor decisions that affect all members. Members vote, and consensus is recorded.
Tips
Physics vs feelings: Physics (momentum, gravity) measures objective progress dynamics. Feelings (urgency, neglect) measures subjective health. Use physics for prioritization algorithms. Use feelings for human-readable status reports.
When to dream: Dream on goals that have been active for a while but lack clear next steps. Dream when momentum is low. Dream before making irreversible decisions.
When to collapse singularity: At the start of a planning session to get oriented. After creating several new goals to see how they relate. Before making a high-impact decision to understand alignment.
Context logging: Use planning_context_log throughout sessions, not just at the end. It creates a searchable trail of reasoning that enriches future decision archaeology.