PalimDocs

Understanding Palim

Palim is the shared, persistent knowledge base for the AI tools you connect.

Palim connects MCP-compatible AI tools to a shared knowledge base. Connected agents save a compact work state after substantial results by default. Complete chats are stored only when the agent uses palim_save_session. Another connected tool can retrieve the saved content later.

The four building blocks

Building blockBest forContent
Context snapshotHand-offs between AI toolsA compact work state without the complete message history
SessionTraceable chat historyA full conversation with messages, summary, and metadata
MemoryDurable facts and decisionsA single piece of information that can be edited or deleted
BrainAn overview of recurring topicsA topic view derived from saved content in the dashboard

Proactive checkpoints are the default

The Palim MCP server instructs connected agents to call palim_save_context after important results, decisions, or changes of direction. This stores a compact, self-contained summary – not the complete message transcript. Trivial conversations, secrets, and content you asked not to persist should not be stored.

A typical workflow

  1. Connect at least one AI client to Palim.
  2. Work on a substantial task. The connected agent will normally create a context checkpoint afterward.
  3. Open another connected tool later.
  4. Ask: “What did we decide about the auth flow in Project Atlas?”

Palim searches the stored content and returns matching results to the client. The AI then decides how to use those results in its response.

You can still request a checkpoint explicitly: “Capture the current state for my other AI tools.” To store the complete chat instead, say: “Save this complete chat to Palim.”

What search supports today

Palim uses PostgreSQL full-text search and text matching. You can also filter by date range, tags, project, and source. Semantic embedding search is not implemented yet.

Last updated on