Memory, planning & the CLI

How LocalPilot remembers across sessions, plans multi-step work with a live checklist, caches tool results, and runs from your terminal.

Ask AI about this page

Persistent memory

The agent can save durable notes and reads them back at the start of every session — like Cursor Memories or Claude’s CLAUDE.md, but stored as plain Markdown you can edit and commit.

Scope Location Use for
project <workspace>/.localpilot/memory/<name>.md Build/test commands, conventions, architecture facts, gotchas — commit it to share with the team
global VS Code global storage memory/<name>.md Your personal preferences across all workspaces

Chat history

Chats are stored per workspace in VS Code’s workspace storage (never sent anywhere). Settings → Memory & history shows how many chats and messages exist, how much disk they use, and lets you:

Ask explicitly too: “remember that we deploy with make release and tests need DATABASE_URL“.

Planning with a live checklist

For any multi-step task the agent calls manage_todos first, then updates items as it works. The Tasks panel above the composer shows the checklist with a progress bar, a spinner on the in-progress step and strike-through on completed ones. The list persists with the session and is re-injected after compaction so the agent always knows where it left off.

Plan mode produces the checklist plus a written plan without touching files; switch to Agent and say “implement the plan”.

Thinking

localpilot.thinking: off · on · low · medium · high. Maps to Ollama’s think and OpenAI-compatible reasoning_effort. Reasoning streams into a collapsed Thinking… step with an elapsed-time counter and becomes “Thought for Ns” when the answer starts.

Caching & latency

Multitasking

Every session is an independent agent. A tab strip at the top of the chat shows one tab per agent with its live state (running, finished, needs approval); + starts another agent while the current one keeps working, and ⌘⇧Enter sends the draft in a new tab. See Parallel agents. The Agents panel shows the same information with per-session changed files. Use Run Tasks in Parallel… (⌘⇧⌥P) or localpilot --ide --parallel "a | b | c" to fan out several tasks at once.

The localpilot CLI

The localpilot command runs the full agent in your shell — see Terminal & CLI.