Skip to content

Glossary

This page defines the terms used across the documentation, in alphabetical order. Each entry points to the page that covers the subject in detail.

Terms

Brain (instance)
One isolated memory: one knowledge graph, one key, one set of personas and settings. The API and the database call it an instance and identify it by a numeric id; the documentation uses both words for the same thing. See the data model.
Brain key
The secret a client presents to reach one brain, sent as Authorization: Bearer spt_brain_xxx. It starts with spt_brain_, is stored only as a SHA-256 hash and is shown once, when the brain is created or the key is regenerated. See the security model.
Bundle
A ready-to-install package generated for one brain, with the server address and the brain key inside. Two kinds exist: .mcpb for Claude Desktop and .plugin for Claude Code. See Claude Desktop and Claude Code.
Code map
A structural graph of a source repository (files, classes, functions, imports, calls), stored in the brain as Code nodes next to the memory graph and queried with the code_map_* tools. It is produced by an extractor on the developer's machine and uploaded per repository. See code map.
Confidence
A score between 0.5 and 1.0 that Dream gives each fact according to how many distinct projects support it. Search can use it to move a well-corroborated fact up by a few places. See Sleeper and Dream.
Cortex
The 3D explorer of a brain's entity graph, served at /v1/graph for the brain's owner and inside the admin UI for the operator. See Cortex and Wiki.
desktop-inbox
The project a memory falls into when it arrives without a project= tag from a client other than a coding agent, while topic scoping is enabled. It keeps untagged conversations out of global. See tagging and scope.
Dream
A background worker that consolidates a brain at long intervals (6 hours by default on a server): it computes fact confidence and decay, flags probable duplicate entities and detects communities. It is enabled with SPONGRAM_DREAM_ENABLED. See Sleeper and Dream.
Edition
The value of SPONGRAM_EDITION. The server (cloud, the default) is any deployment with Docker Compose, Docker Swarm or Kubernetes; it is administered with one admin token. The desktop edition (local) runs a single local brain on the user's machine with an embedded database and graph. The Cloud control plane is not an edition but a switch on a server (SPONGRAM_CLOUD_CONTROL_ENABLED=true) that adds organisations, accounts and per-brain permissions.
Entity (node)
A thing Graphiti extracted from episodes: a person, a company, a service, a concept. Entities are the nodes of the knowledge graph and are returned by search_nodes.
Episode
One piece of text stored with add_memory: a decision, a preference, a note, a message. An episode is kept verbatim in the graph and is the source from which entities and facts are extracted. See ingestion.
Fact (edge)
A relationship between two entities, expressed as a sentence, with the episodes that support it and the period during which it holds. Facts are the edges of the knowledge graph and are returned by search_memory_facts. A fact superseded by newer information is kept but marked invalid. See search.
global
The project reserved for memories that apply to all of a user's work, such as personal preferences and working rules. Scoped searches always keep global results next to those of the current project.
Graphiti
The open-source knowledge-graph memory engine Spongram builds on. It extracts entities and facts from episodes with a language model and stores them in Neo4j. Spongram runs it as the internal graphiti-mcp service, which clients never reach directly.
group_id
The identifier of a brain's namespace in the graph. Every node and relationship carries it. The server derives it from the brain key and injects it into each call; a client never sends it. See the security model.
MCP
The Model Context Protocol, the open protocol through which an AI client discovers and calls tools on a server. Spongram is an MCP server reached over HTTP at /mcp. See the MCP server overview.
Parked
The state of a queued episode that has failed six times: it stays in the queue and is retried every 6 hours instead of on the short schedule. A parked row is never dropped and can be replayed from the admin UI. See ingestion.
Persona
A named profile stored in a brain (role, voice, intent, rules and optional skills) that an agent can adopt for a conversation. At most one persona is active per brain, and only the agent activates it, with the activate_persona tool. See personas.
Persona skill
A SKILL.md document attached to one or more personas, describing how to carry out a task. It is stored with the brain and, for Claude Code, written into the brain's plugin bundle.
Project tag
The project= label in an episode's source_description, naming the project or subject the memory belongs to. It is what scoped search and the explorers filter on. See tagging and scope.
Reconciler
The part of the ingestion worker that compares completed queue rows with the graph and queues again any episode that never reached it. It is the safety net behind the rule that an accepted episode is never lost. It does not exist in the desktop edition. See ingestion.
Retired
The state of a queue row withdrawn on purpose: its episode was deleted, the graph was cleared, or an operator retired it with a reason. A retired row stays in the table but is never replayed, so a deliberately deleted memory does not come back.
Scope
Two unrelated settings share this word. The read scope is the scope argument of the search tools, which limits results to one project plus global, or lifts the limit with all. A persona's scope is voice or full and decides how much of the persona is rendered for the agent. See tagging and scope and personas.
Skill (recorded procedure)
A command, snippet or procedure that worked, saved with record_skill and found again with recall_skill. Recorded skills are stored as their own nodes, apart from entities and facts, and are not summarised or deduplicated. They are distinct from persona skills.
Sleeper
A background worker that runs at short intervals and writes a summary for each entity whose episodes changed; it also compiles the wiki pages and computes entity importance. It is enabled with SPONGRAM_SLEEPER_ENABLED. See Sleeper and Dream.
SPT Models
Sponge Theory's OpenAI-compatible inference service, at https://models.sponge-theory.dev/v1. It is the default inference provider; any OpenAI-compatible endpoint can replace it. See inference providers.
Summary
The text the Sleeper writes about one entity from all the episodes that mention it, stored as a Summary node. A persona can also carry a summary of what the brain knows under that persona.
Topic slug
A short kebab-case name an agent chooses as the project tag of a conversation that has no repository behind it, for example client-acme or formation-python. The agent announces it once and reuses it for the whole conversation. See tagging and scope.
Wiki
A set of Markdown pages, one per entity, compiled by the Sleeper from the brain's content and browsable at /v1/wiki. It can be exported as an archive and switched off per brain. See Cortex and Wiki.