Workflows
Mind Palace supports three primary workflows: The Individual Developer, The Agentic Loop, and The CI Guardian.
The Individual Developer
1. Setup (Once)
palace init --detect # Auto-detect project and create rooms
palace scan # Build the first index2. Daily Loop
As you code, the Palace keeps track of your decisions and provides context.
# Record a decision while it's fresh
palace store "Let's use JWT instead of sessions"
# Find that utility function you wrote last week
palace explore "data transformation utility"
# Get a quick brief before editing a complex file
palace brief src/core/auth_handler.go3. Housekeeping
Keep your Palace tidy and up-to-date.
palace clean # Cleanup old sessions/agents
palace update # Keep the CLI tool currentThe Agentic Loop (MCP)
This is where the Palace truly shines, providing high-fidelity context to AI agents like Claude or Cursor.
1. Connection
Configure your MCP client to use the serve command:
{
"mcpServers": {
"mind-palace": {
"command": "palace",
"args": ["serve", "--root", "/path/to/project"]
}
}
}2. The Loop
- Agent asks: “How do I add a new route?”
- Palace provides:
search_mind_palaceresults.get_graphcall relationships.- Relevant
learningsanddecisions.
- Agent implements: Based on curated context.
- Agent learns: Calls
storeto record what it discovered about the code.
The CI Guardian
Ensure your index is never stale and valid schemas are enforced.
1. Verification
Add a step to your CI pipeline:
palace check --strict --diff ${{ github.sha }}2. Context Collection
Generate context for the change set to assist AI PR reviewers:
palace check --collect --signal --diff origin/main..HEADBrain Workflow
Don’t let your architectural knowledge rot in Slack or Jira. Commit it to the code.
- Capture:
palace store "Decision: use FTS5 for search" - Link:
palace recall link d_search --inspired-by d_sqlite - Outcome:
palace recall update d_search success - Review: See the timeline in the Dashboard.
Visualizing with the Dashboard
For a high-level view of your palace:
palace dashboard- Hotspot Map: See which files are changing most frequently.
- Dependency Graph: Explore how rooms and services interact.
- Knowledge Timeline: See the history of project decisions.
Last updated on