Skip to content

Changelog

This page lists what changed in the Spongram server, version by version, newest first. It covers the spongram service and its spongram-graphiti companion image, including the client bundles the server generates (Claude Code plugin, Claude Desktop .mcpb). Releases of the desktop application, and changes that affect the desktop edition only, are not listed here.

The version of a running service is the version field of GET /healthz. The service was numbered 0.1.0 from the first commit until it adopted the numbering of its client bundles at 1.7.0; the work done before that is grouped by period at the bottom of the page. The date in each heading is the date the version number was set.

"Off in the code, on in the shipped image" means that the flag defaults to off when the variable is absent, and that the spongram image built from spongram_proxy/Dockerfile sets it to on. See feature flags for the current list and upgrades and migrations for the upgrade procedure.

1.19.2 — 2026-11-26

This version only changed the product website: it adds a comparison page with other agent-memory products, in French and English.

1.19.1 — 2026-11-26

This version only changed the product website: its header and footer link to this documentation.

1.19.0 — 2026-11-26

Added

  • The service serves this documentation site under /documentation/. The site is built from the docs-site/ directory by a stage of the spongram image, loads nothing from the Internet, and is skipped when the image does not contain it. The admin UI links to it from its navigation bar.
  • The Helm chart's Ingress routes the /documentation path prefix to the service.

Changed

  • The service logs one line for each call the per-call reasoning setting of 1.18.6 applies to, and the startup log reports a value it does not understand instead of showing it as absent.
  • docker-compose.yml now passes the SPONGRAM_THINKING_* variables to the service. In docker/docker-stack.yml, SPONGRAM_THINKING_GRAPHITI_ENTITIES is set on the spongram service only, so changing it does not restart graphiti-mcp.

Fixed

  • spongram-graphiti image: the response format sent to the extraction model no longer contains the episode_indices field that graphiti-core 0.31.2 added to every extracted entity and fact. It is an unbounded list of integers whose only correct value is [0] when one episode is extracted per call, and a model could fill it until it reached the output token limit, which cost a long wait and a retry. The field keeps its default value in the data model. The image build fails if the schema asks for it again.

1.18.6 — 2026-11-23

Added

  • SPONGRAM_THINKING_GRAPHITI_ENTITIES sets the model's reasoning level (off, low, medium or xhigh) for one call only: the entity extraction call of Graphiti, recognised by the name of its response schema (ExtractedEntities). There is one such call per memory, and it decides whether there is anything to extract. The other calls of the graphiti role keep the level of SPONGRAM_THINKING_GRAPHITI. See inference providers.
  • The service logs the reasoning levels in force at startup (thinking levels: …).

Upgrade notes

  • The variable is empty by default: the call follows the level of the role and nothing changes. An unknown value also falls back to the level of the role.
  • Whether to set it depends on the model you serve. With some models and no reasoning, this call can return an empty list for a text that names entities, and the memory is then stored without entity or fact. A reasoning level makes each memory slower to extract, so a delete issued while a memory is being written is refused more often (see 1.18.5).
  • The variable is not set in the image. If your stack definition does not carry it, an update turns the setting off without an error.

1.18.5 — 2026-11-22

Changed

  • The spongram-graphiti image moves from Graphiti MCP 1.0.2 to 1.1.3 (graphiti-core 0.31.2). The tool surface offered to clients does not change: the four tools added upstream (add_triplet, build_communities, summarize_saga, get_episode_entities) are absent from tools/list and answer "Unknown tool", add_memory accepts only name, episode_body, source, source_description and uuid, and the initialize instructions stay those of 1.0.2. See the tools reference.
  • The search filters added upstream (edge_types, valid_at_*, invalid_at_*, center_node_uuid) are passed through. An invalidated fact stays hidden while SPONGRAM_HIDE_INVALID_FACTS is on.
  • The session-less revision of the MCP protocol is refused with a 400. A client using it would never call initialize, which is where Spongram delivers its instructions and the active persona.
  • delete_episode on the server now removes what the episode alone contributed: facts that only this episode supported and entities that only it mentioned. Facts confirmed by other episodes stay. Entity summaries are not regenerated during the delete, so a summary can reflect a deleted episode until it is next recomputed.
  • The Graphiti image allows one graph writer per brain. A delete (delete_episode, delete_entity_edge, clear_graph) waits for the episode being extracted for at most 45 s (SPONGRAM_DELETE_LOCK_WAIT_SECONDS), then answers that nothing was deleted and that the call should be retried.
  • delete_episode is never resent automatically after a network failure, because a second send would answer "not found" to a delete that succeeded. clear_graph and delete_entity_edge keep their retries.
  • Dream finds probable duplicate entities from their names first (same type, similar names), then confirms each candidate pair with the embeddings. The previous pass compared every pair of entities in one graph query. Settings: SPONGRAM_DREAM_DUP_NAME_SIMILARITY (default 0.5) and SPONGRAM_DREAM_DUP_EMBEDDING_FLOOR (default 0.40). SPONGRAM_DREAM_DUP_THRESHOLD is ignored. See Sleeper and Dream.
  • The Graphiti image is rebuilt without torch, nvidia and triton, which makes it several times smaller. It sets GRAPHITI_TELEMETRY_ENABLED=false so that graphiti-core sends no usage events, keeps Spongram's entity type descriptions and extraction prompt instead of the upstream ones, and sets max_tokens: 16384 for extraction.

Fixed

  • The search cache key now covers every argument passed to the tool, so two searches that differ only by a filter no longer share an entry.
  • A failed search is no longer cached. Graphiti returns its failures as HTTP 200 with an error field, and the cache served that answer again until it expired.
  • Corroboration ranking (1.18.4) moves a fact ahead of another only when it is at least as relevant to the query.
  • The queue rows of an episode are withdrawn before its delete_episode is sent. Before this, the reconciler could replay the memory while the delete was in progress.
  • After a clear_graph whose outcome is unknown, queue rows are withdrawn only when the graph shows that the brain held episodes before the call and holds none after it, and only rows already completed. A pending row is never withdrawn on an uncertain outcome.
  • Responses that take more than 15 s start with SSE keep-alive comments in Graphiti 1.1.3; the service strips them before relaying the body. A Graphiti session that expired (404) is reopened and the call is sent once more.
  • The inference context of each brain is carried through the new HTTP transport of the OpenAI SDK used by Graphiti 1.1.3; the image build proves the whole chain and fails otherwise.

Upgrade notes

  • Deploy the spongram service 1.18.5 or later before a spongram-graphiti image based on Graphiti 1.1.x. The other order is not supported; running service 1.18.5 with the older Graphiti image is safe.
  • Going back from Graphiti 1.1.3 to 1.0.2 is not a plain image change: 1.1.3 writes a reference_time property on the facts it creates, which 1.0.2 cannot serialise, so any search returning such a fact fails until the property is removed.
  • graphiti-mcp is a single process and /readyz of the service requires it. Plan its update separately from the update of the service; see upgrades and migrations.
  • During an import whose episodes each take more than 45 s to extract, deletes are refused most of the time. Retry them after the import.

1.18.4 — 2026-11-22

Added

  • Corroboration ranking: in search_memory_facts, a fact confirmed by episodes of several projects gains at most one place per additional project, only ahead of facts that are less corroborated, and never ahead of an item of the active persona. The set of facts returned does not change, only their order; _spongram.promoted counts the facts that moved up. Flag SPONGRAM_CORROBORATION_RANKING_ENABLED, off in the code, on in the shipped image. See search.

Changed

  • The confidence of a fact is now a function of the number of distinct projects whose episodes support it: 0.50, plus 0.15 per additional project, capped at 1.0. Dream recomputes the same value at every run.
  • The forgetting pass of Dream no longer starts from SPONGRAM_DREAM_FORGET_ENABLED. That variable is ignored, with a warning at startup. Marking facts as forgotten now requires SPONGRAM_DREAM_FORGETTING_ENABLED, which is off everywhere.

Fixed

  • Confidence was an increment added at every Dream run: it grew until it reached the cap, and it could go below zero for facts whose episodes had no project= tag.
  • The age used by the decay pass counted only the days beyond whole months, so the decayed score went back up every month.
  • The confidence, decay and forgetting passes read only memory facts (RELATES_TO relationships). They used to traverse the whole code map as well.
  • A failure of the confidence pass no longer aborts the rest of the Dream run.

Upgrade notes

  • If your environment sets SPONGRAM_DREAM_FORGET_ENABLED, remove it. With the corrected age, forgetting depends on elapsed time alone, whether or not a fact is still read, and search does not read the forgotten mark. Leave SPONGRAM_DREAM_FORGETTING_ENABLED off.
  • Confidence values computed before this version are ignored by the ranking until Dream has run once on the brain.

1.18.3 — 2026-11-22

No change to the memory service. This version only changed pages of the product website bundled in the image.

1.18.2 — 2026-11-21

No change to the memory service. This version only changed the legal and pricing pages of the product website bundled in the image.

1.18.1 — 2026-11-12

Added

  • POST /admin/api/spongram/instances/{id}/episodes/backfill-project-tag gives a project= tag to episodes that have none, which read scoping otherwise keeps in every search. It is a dry run by default and never guesses: without project it lists the episodes, with project (and optionally uuids) it writes what the operator decided. An episode that already has a tag is never touched. See the HTTP API.
  • SPONGRAM_ADOPT_SCHEMA=legacy adopts a database created before the migration journal by any earlier version. The historical migration files are replayed once, then the result must match the reference schema; replay, check and journal entry share one transaction, so a refusal leaves the database untouched.
  • scripts/schema_check.py compares an existing database with the reference schema in a read-only session, to run before an adoption.
  • At startup the service checks the version of the Langfuse server and turns tracing off, with a warning, when the server is older than 4.59.0. An unknown version changes nothing and startup is never blocked. See observability.

Changed

  • get_episodes returns episodes from the most recent to the oldest on the server. Graphiti 1.0.2 sorted them by identifier. max_episodes and last_n are both accepted. Flag SPONGRAM_EPISODES_CHRONO_ENABLED, on by default; an explicitly false value restores the previous behaviour.
  • Each migration file runs in its own transaction, waits at most 5 s for its locks and is retried. During a start-first update, a schema change can no longer queue the running API behind it.
  • SPONGRAM_RUN_MIGRATIONS is read like the other flags: only false, 0, no or off disables migrations at startup. A refused migration prints what to do instead of a stack trace.
  • Cloud control plane: erasing a whole brain (delete, purge, clear_graph) requires memory.delete, brain.configure and access.manage together. Forgetting one episode still requires memory.delete alone, so an agent key can delete an episode but cannot empty a brain.
  • Cloud control plane: revoking a grant also revokes, in the same transaction, the keys that principal holds on the brain.
  • Cloud control plane: the login rate limit applies to the real client address (FORWARDED_ALLOW_IPS behind a reverse proxy), and only failed attempts accumulate.

Fixed

  • Stored cross-site scripting in the Wiki. Wiki pages embed episode content and model output, and the page rendered that Markdown as HTML without filtering. Markdown is now rendered with raw HTML escaped, only http, https, mailto and relative links, and an allow-list pass before insertion. The fix applies to pages already stored. See the security model.
  • Deleting a brain is atomic: the SQL rows are deleted in a transaction that is committed only if the graph purge succeeds.
  • The cookie, x-csrf-token and x-xsrf-token request headers are never forwarded to Graphiti.
  • Cloud control plane: synchronous deletes hold the graph lock of their own brain instead of a deployment-wide lock held across network calls. Admission of an episode waits a bounded time, then answers 503 with Retry-After.
  • Admin UI: an HTML error page returned by a reverse proxy no longer produces a "Body is disturbed or locked" error.

Upgrade notes

  • The first start of 1.18 on a database created by an earlier version needs SPONGRAM_ADOPT_SCHEMA once: 0033 for a database at the exact 1.17 schema, legacy for an older one. Without it the service refuses to migrate and changes nothing. Back up first; see upgrades and migrations and backup and restore.
  • Version 5 of the Langfuse SDK shipped in the image needs a Langfuse server 4.59.0 or later.

1.18.0 — 2026-11-09

Added

  • Cloud control plane, opt-in with SPONGRAM_CLOUD_CONTROL_ENABLED (default false): a console under /console with organisations, user accounts with password sessions, optional OIDC sign-in (SPONGRAM_CLOUD_OIDC_*), per-brain access grants with roles, MCP keys scoped to a brain and a set of permissions, licence activation and an audit trail. The desktop edition never mounts these routes. See the security model.
  • Deployment assets for the Cloud control plane: docker-compose.cloud.yml, a Helm chart under deploy/helm/spongram and Terraform files under deploy/aws. See AWS.
  • A checksummed migration journal for PostgreSQL. Each migration file runs once and its checksum is recorded; the service refuses to start when an applied file has changed.
  • SPONGRAM_RUN_MIGRATIONS=false lets a separate job apply the migrations instead of the service at startup; SPONGRAM_MIGRATION_DATABASE_URL gives that job its own database role.

Changed

  • Migrations are no longer replayed in full at every start.
  • The Langfuse SDK moves to version 5.

Upgrade notes

  • An existing database has no journal. The service does not infer its version: it must be adopted explicitly with SPONGRAM_ADOPT_SCHEMA (see 1.18.1, which added the legacy value for databases older than 1.17).
  • Existing brains and their keys keep working when the Cloud control plane is left off, which is the default.

1.17.1 — 2026-10-16

Fixed

  • The admin mirror of the Cortex always showed an empty episode list.
  • The error returned for an invalid alias or project name no longer echoes the whole value: it is limited to a short excerpt.

1.17.0 — 2026-10-15

Added

  • Project aliases: a per-brain table that tells a brain two project= labels designate the same project. Aliases act at read time only, in scope.project and in the project filter of the Cortex; no episode is rewritten. Three MCP tools manage them: list_project_aliases, set_project_alias and remove_project_alias. Flag SPONGRAM_PROJECT_ALIASES_ENABLED, off in the code, on in the shipped image.
  • Brain export and import carry the aliases.
  • Claude Code plugin: the project slug is resolved in one place, in this order: SPONGRAM_PROJECT, the nearest .spongram.json, the name of the main repository (a linked worktree gives its main repository), then the folder name. See Claude Code.
  • The session-start recall of the Claude Code plugin includes the memories stored under the aliases of the current project.
  • With topic scoping on, the instructions given to Claude Desktop ask the agent to call list_project_aliases before it creates a new topic slug.

Changed

  • Generated bundles no longer contain Python bytecode files.

1.16.1 — 2026-10-03

Fixed

  • /healthz reported a background worker as stalled, and answered 503, when one run took longer than 900 s. The limit is now max(900 s, interval / 4), so a worker that runs every six hours may take up to ninety minutes. See observability.
  • Cortex: a camera move started by the page (a click on a search result) counts as a user interaction, so an activity focus arriving just after does not reframe the view.

1.16.0 — 2026-10-02

Added

  • Cortex activity focus: searches made through MCP are pushed to the open Cortex pages of the same brain (event: activity on /v1/graph/stream), which dim the graph and light the entities and facts returned. New episodes light their entities in the same way. Flag SPONGRAM_CORTEX_ACTIVITY_ENABLED, off in the code, on in the shipped image. See Cortex and Wiki.

Changed

  • Sleeper: an entity whose set of episodes has not changed is checked and marked clean in batches and no longer uses the SPONGRAM_SLEEPER_MAX_PER_TICK budget, which now bounds model calls only.
  • Dream records the time of its last successful run and, after a restart, waits for the rest of its interval instead of running at once.

Upgrade notes

  • The activity stream is held in memory by the service process. It works as long as the service runs as a single replica and a single process.

1.15.1 — 2026-10-02

Fixed

  • The client= backfill never appends its tag directly after a trailing line break.
  • Admin UI: the duplicate Export and Import shortcuts were removed from the brain view; the Transfer tab already carries both.

1.15.0 — 2026-10-02

Added

  • The server adds client=claude-code or client=codex to the source_description of add_memory from the X-Spongram-Client header sent by the plugins. An existing client= tag is never changed, and the header authorises nothing. Flag SPONGRAM_CLIENT_TAG_ENABLED, on by default. See tagging and scope.
  • POST /admin/api/spongram/instances/{id}/episodes/backfill-client-tag adds the client= tag to existing episodes. Dry run by default; an episode whose origin cannot be established is reported as unknown instead of being guessed.

Changed

  • add_memory no longer invalidates the search cache. The graph changes only when extraction ends, so invalidating at enqueue time removed entries that were still exact. clear_graph, delete_episode and delete_entity_edge still invalidate it. A new fact becomes visible in a cached search at most one cache lifetime (SPONGRAM_HOT_CACHE_TTL_SEC) after its extraction.
  • The reconciler opens one Neo4j driver per cycle instead of one per page.
  • postgres and neo4j are pinned by digest in docker-compose.yml and docker/docker-stack.yml. Changing their version is now an explicit edit.

1.14.2 — 2026-10-02

Fixed

  • search_memory_nodes results are now synchronised between content[0].text and structuredContent like the other search tools (see 1.14.1).
  • POST …/ingestion/{row_id}/retire also accepts a completed row. Its status does not change; the row is only excluded from the reconciler. A processing row is still refused with 409.
  • At each cycle the reconciler pages through the whole window of rows completed in the last 24 hours, up to a page limit. It used to look at the most recent page only.
  • Code nodes linked to an entity in search_nodes results are deduplicated before the limit of five is applied.

1.14.1 — 2026-10-02

Added

  • An episode deleted on purpose is never brought back by the reconciler: delete_episode and clear_graph mark the matching queue rows as retired. An operator can retire a row with POST /admin/api/spongram/instances/{id}/ingestion/{row_id}/retire; a reason is required. See ingestion.

Fixed

  • Every stage of the search pipeline (read scoping, hiding of invalidated facts, PageRank, lexical rerank, truncation) rewrote content[0].text only, while clients such as Claude Code read structuredContent. A final stage now copies the processed result into structuredContent.
  • On the server, delete_episode, delete_entity_edge and get_entity_edge are forwarded only when the identifier belongs to the brain of the caller. Otherwise the answer is the same "not found" as for an unknown identifier. If the graph cannot be read, the call is refused and should be retried.
  • A failed delete_episode or clear_graph, which Graphiti reports with isError: false, no longer retires queue rows.
  • The duplicate check at enqueue time (1.14.0) also covers source_description and uuid, so the same text under two project= tags gives two memories. Brain imports are never deduplicated.
  • Code map: a linked git worktree no longer publishes the map, which would have replaced the map of the repository with the branch of the last worktree that committed. The plugin hooks work with git older than 2.31.

Upgrade notes

  • The Claude Code plugin generated for each brain gets a new version, so that Claude Code offers the update that carries the code map fixes.

1.14.0 — 2026-10-02

Added

  • DELETE /mcp closes an MCP session. Clients that end their streamable HTTP session used to receive 405.
  • DELETE /admin/api/spongram/instances/{id}/codemap/{repo} removes the code map of one repository.
  • SPONGRAM_HIDE_INVALID_FACTS, on by default: search_memory_facts leaves out the facts that Graphiti marked as expired or invalidated. _spongram.hidden_invalid counts them. An explicitly false value restores the previous results. See search.

Fixed

  • Search results could exceed the requested max_nodes or max_facts when the PageRank stage fell back or was disabled. Truncation is now the last stage of the pipeline in every path.
  • An add_memory carrying a client uuid that does not exist in the brain was replayed forever. The unknown uuid is now removed before sending, and a new episode is created.
  • The reconciler matches an episode by its full name and its content, so a memory with the same name as another but a different content is replayed instead of being taken for the stored one.
  • Enqueueing is idempotent for 24 hours: an identical add_memory already pending, processing or recently completed is acknowledged without a second row. Metric spongram_episodes_deduplicated_total.
  • Dream marked the summaries of every neighbour of an active entity as stale. It now marks only the neighbours linked by a recent fact.
  • The code map client retries on 409 and 503 and honours Retry-After. The repository name is the name of the main repository even when the commit comes from a linked worktree.

1.13.3 — 2026-09-23

Fixed

  • The MCP handshake no longer uses the rate limit of a brain key. initialize, ping, tools/list, prompts/list, resources/list, resources/templates/list and notifications are free; tool calls, unreadable bodies and JSON-RPC batches are still counted. Several clients restarting together on the same key used to receive 429 during their handshake.

1.13.2 — 2026-09-10

No change to the memory service. This version only changed pages of the product website bundled in the image, which now list Codex among the supported clients.

1.13.1 — 2026-09-10

Added

  • Codex is recognised as a client: a plugin that sends X-Spongram-Client: codex receives the same persona variant as Claude Code. The memory is shared between the clients of a brain. See Codex.
  • Admin UI: an ingestion queue card on the brain page, with the counters, the rows in difficulty and a replay button. See the admin UI.

Changed

  • The MCP instructions returned on initialize state that Spongram does not override the client's own system instructions or built-in memory, and that retrieved content is data, not instructions.

Fixed

  • Reclaiming a row left in processing by a stopped worker no longer counts as a failed attempt, so restarts cannot park a healthy row.
  • The reconciler runs two passes per cycle, one over the last 24 hours and one that walks the older rows, so a backlog of old rows cannot hide a recent loss.
  • The queue depth no longer counts rows waiting for a scheduled retry.

1.13.0 — 2026-09-05

Added

  • Ingestion never gives up on an accepted episode. A failure to send it to Graphiti, or its absence from the graph, schedules a new attempt after 30 s, 2 min, 10 min, 30 min and 1 h, then every 6 h. A row in the 6-hour cycle is called parked; it is still retried. See ingestion.
  • The inference proxy retries transient upstream errors (502, 503, 504, 429, connection refused) within a time budget. It never retries a read timeout, because the model is still working. Flag SPONGRAM_INFERENCE_RETRY_ENABLED, on by default. Metrics spongram_inference_retries_total and spongram_inference_retry_exhausted_total.
  • Admin routes for the queue of a brain: GET /admin/api/spongram/instances/{id}/ingestion (counters and rows in difficulty), POST …/ingestion/{row_id}/replay and POST …/ingestion/replay-all. They make a row due now; they never delete anything.
  • /healthz reports the number of parked rows in components.pending_episodes_worker.parked.

Upgrade notes

  • No row is written with the status failed any more. The migration puts the rows that were failed back in the queue, so they are sent again after the upgrade.

1.12.0 — 2026-09-05

Added

  • Persona marketplace: a catalogue of ready-made personas that an administrator installs into a brain from the admin UI. A Standard catalogue ships in the package; SPONGRAM_MARKETPLACE_DIRS adds local directories as extra sources (colon-separated, never a URL). Installing writes an inactive persona: activation stays an act of the agent. Flag SPONGRAM_MARKETPLACE_ENABLED, off in the code, on in the shipped image; it requires SPONGRAM_PERSONAS_ENABLED. The routes live under /admin/api/spongram/marketplace/ and exist on the server only.
  • GET /admin/api/spongram/features tells the admin UI which optional features are mounted.
  • An admin mirror of the Personas page, reached from the brain page with the admin token.
  • Personas can carry an avatar.

Fixed

  • On PostgreSQL, activate_persona and the update of a persona skill returned a 500. A tool failure of this kind is now returned as a JSON-RPC error.

1.11.0 — 2026-09-04

Added

  • Personas: a brain can hold several personas (voice, rules, skills), one active at a time. MCP tools list_personas, activate_persona, deactivate_persona and get_skill; activation is done by the agent only, there is no HTTP route for it. A user page at GET /v1/personas edits personas and their skills, imports a skill from an https:// URL, and imports or exports Character Card V2 JSON. Flag SPONGRAM_PERSONAS_ENABLED.
  • Read scoping: the search tools accept a scope argument and the server filters results by the project= tags of their episodes, as the first stage of the search pipeline. _spongram.filtered counts the results left out. Flag SPONGRAM_READ_SCOPING_ENABLED. See tagging and scope.
  • Persona summary: the Sleeper compiles, for each persona, a summary of what the brain already knows under that persona. Flag SPONGRAM_PERSONA_SUMMARY_ENABLED. Metric spongram_persona_activations_total.
  • The Claude Code plugin sends an X-Spongram-Client: claude-code header, receives the active persona at session start and has a /spongram:persona command. The plugin generated for a brain contains the skills of its personas.
  • Brain export and import carry personas and skills. Imported personas are always inactive.
  • The reasoning mode of the model is decided in the inference proxy, per role: SPONGRAM_THINKING_GRAPHITI, SPONGRAM_THINKING_SLEEPER and SPONGRAM_THINKING_DISTILL, each off (default), low, medium or xhigh. A value outside this vocabulary is never forwarded to the provider.

Changed

  • The Cortex renders with instanced meshes and computes its layout in a web worker, so that large brains stay interactive. See Cortex and Wiki.
  • The admin UI shows the model set in the inference settings instead of the build-time default.

Fixed

  • Inference providers that implement the OpenAI API strictly rejected every extraction call with a 400, because the requests carried chat_template_kwargs and guided_json. The inference proxy now removes these two extensions unless the active provider belongs to the vLLM family. The connection test also sends additionalProperties: false, which strict JSON schema requires. See inference providers.
  • The activity view of a brain no longer scans every summary node; an index was added.
  • .webp and .woff2 files are served with their own content type.

Upgrade notes

  • The three persona flags are off in the code and on in the shipped image. With the flags off, no persona table is read, no tool is added and no route is mounted.

1.10.0 — 2026-08-14

Added

  • GET /readyz checks the three hard dependencies only (Graphiti, PostgreSQL, Neo4j) and ignores background workers. The container healthcheck uses it, and the Swarm stack updates the service start-first, so a deployment no longer disconnects MCP clients.
  • Code map ingestion is serialised per repository by a PostgreSQL advisory lock in addition to the in-process lock, which is what allows two overlapping containers.
  • Topic scoping for clients that have no project context (Claude Desktop): untagged memories go to project=desktop-inbox instead of project=global, and the instructions ask the agent to choose a topic slug per conversation. Claude Code is not affected. Flag SPONGRAM_TOPIC_SCOPING_ENABLED, off in the code, on in the shipped image. See tagging and scope.
  • Memory capture in the Claude Code plugin. A hook on Stop and PostToolUse reminds the agent to save what it learned; hooks on PreCompact and SessionEnd send the end of the transcript to POST /v1/memory/distill, which extracts durable memories and enqueues them. Flag SPONGRAM_DISTILL_ENABLED (the route answers 503 when off), off in the code, on in the shipped image. See Claude Code.
  • Optional Langfuse tracing of every model and embedding call that goes through the inference proxy, attributed to the brain. It is off unless the LANGFUSE_* keys are set; SPONGRAM_LANGFUSE_ENABLED=false turns it off without removing them. Embedding vectors are never sent. See observability.
  • The self-hosted package contains a full installation guide in English and French, the inference providers guide and the restore guide.

Changed

  • A background worker that skips its runs because the inference circuit breaker is open reports throttled, a healthy state, instead of stalled.
  • /healthz judges a worker by the real duration of its runs.

Fixed

  • Code map ingestion no longer deletes the map of a repository before writing the new one, answers 409 instead of 500 when another ingestion of the same repository is running, and updates relationships through an index.
  • Graph writes are retried on Neo4j transient errors (deadlocks) and on entities deleted concurrently.
  • Neo4j connections are recycled before the network closes them when idle (SPONGRAM_NEO4J_MAX_CONN_LIFETIME_SEC); Dream opens one driver per run.
  • The Cortex page loads the whole graph through pagination, so relationships beyond the first page are displayed.

Upgrade notes

  • Point any external healthcheck at /readyz, not /healthz. /healthz is a diagnostic that answers 503 when a background worker is unwell, which would restart a container that is able to serve.

1.9.0 — 2026-07-05

Added

  • Rate limiting per brain key: a token bucket of SPONGRAM_RATE_LIMIT_PER_MIN requests per minute (default 100, 0 disables it). Beyond it the service answers 429 with Retry-After. Metric spongram_rate_limited_total.
  • Brain export and import in the spongram-brain/v1 format, where episodes are the source of truth: …/instances/{id}/brain/export and …/instances/{id}/brain/import under /admin/api/spongram, and a card in the admin UI. An import re-extracts the episodes. See backup and restore.
  • A reconciler compares the episodes acknowledged by the queue with the graph and puts back in the queue those that were never stored, for example after an extraction that timed out.
  • The Cortex, Wiki and Code map pages are available in French and English (?lang=).
  • The admin UI has a dark theme and a new layout, and opens the Cortex, Wiki and Code map of a brain with the admin token, without asking for the brain key.
  • A static Claude Code plugin for distribution through a public plugin marketplace. It contains no secret: the server URL and the brain key are user settings of the plugin. See Claude Code.
  • The service serves the directory SPONGRAM_DOWNLOADS_DIR (default /data/downloads) under /downloads when it exists.

Changed

  • The read timeout of calls to a remote inference provider (SPONGRAM_REMOTE_READ_TIMEOUT_SEC) defaults to 600 s.
  • A Graphiti session that expired is reopened by the service and the read is replayed once; the client no longer sees a timeout.

Fixed

  • Concurrent code map ingestions of the same repository could duplicate its graph.
  • Code nodes no longer appear, unnamed, in the Cortex; the Code map shows node names and colours nodes by kind.
  • The "last episode" date of a brain was never updated.
  • /healthz kept reporting a worker with a long interval as starting for hours.

1.8.0 — 2026-06-14

Added

  • The Claude Code plugin generated for a brain contains the code map extractor and installs it on first use: a session-start hook sets up the launcher, the git post-commit hook and a first build of the map.
  • Admin UI: a Code map card on the brain page.

Fixed

  • The Cortex live stream opened a new Neo4j driver for every poll; it now uses the driver of the service.

1.7.0 — 2026-06-13

First version number carried by the service. It corresponds to the arrival of the code map.

Added

  • Code map: a structural graph of a repository (files, classes, functions and their relations) stored in the brain next to its memories. The spongram_codemap command-line extractor reads Python, JavaScript, TypeScript, Rust and Go, works incrementally and pushes to POST /v1/codemap/ingest.
  • Five MCP tools: code_map_query, code_map_neighbors, code_map_shortest_path, code_map_god_nodes and code_map_stats.
  • search_nodes results carry the code nodes linked to each entity.
  • A Code map page at GET /v1/codemap, with a filter by repository and by node kind.
  • Claude Code plugin: a git post-commit hook that updates the map, and a compact map of the repository injected at session start.

Before 1.7.0 — May to June 2026

The service reported 0.1.0 during this period.

June 2026

  • add_memory splits an episode_body longer than SPONGRAM_EPISODE_BODY_MAX_CHARS (default 10000) into several episodes, and the inference proxy trims extraction prompts longer than SPONGRAM_PROMPT_GUARD_MAX_CHARS (default 64000), so that a long memory cannot exceed the context of the model.
  • The service gained a second edition, selected with SPONGRAM_EDITION=local, that runs on one machine with SQLite and an embedded graph. The server remains the default (cloud).
  • The optional features added in May can be set from the Swarm stack file.

Late May 2026

  • Search: an optional Personalized PageRank rerank over the neighbourhood of the results (SPONGRAM_PAGERANK_ENABLED), an optional lexical rerank (SPONGRAM_RERANK_LEXICAL_ENABLED), and a cache for search_nodes and search_memory_facts (SPONGRAM_HOT_CACHE_ENABLED). All three are off in the code. See search.
  • New MCP tools: reflect_on_failure, and record_skill and recall_skill for a memory of procedures separate from facts.
  • Dream: a decay score on facts, a non-destructive link between entities that are the same thing under two names (SPONGRAM_DREAM_RESOLVE_ENABLED, off by default), community detection, and the list of themes of a brain at GET /v1/wiki/themes.json.
  • Sleeper: several summaries are written concurrently (SPONGRAM_SLEEPER_CONCURRENCY), and a summary that is not grounded enough in its source episodes is rejected (SPONGRAM_SLEEPER_GROUNDING_MIN).
  • An optional check of the provenance tags of a memory before it is accepted: a project= tag and, if an allow-list is configured, a client= tag from that list (SPONGRAM_CONSTITUTION_ENABLED, off by default).
  • The ingestion worker wakes as soon as an episode is enqueued, reads to Graphiti are retried with backoff, and /v1/graph/data/full is paginated.
  • A project=global tier for memories that apply to every project, kept in results whatever the project. See tagging and scope.
  • Admin API: deletion of one fact with a log of what was forgotten, and purge of graph data left behind by a deleted brain. Deleting a brain also purges its graph.
  • /health is an alias of /healthz; health, admin and website routes accept HEAD.

Mid May 2026

  • A durable queue for add_memory: the call is acknowledged once the episode is stored in PostgreSQL, and a worker sends it to Graphiti. Token usage is attributed to each brain. See ingestion.
  • The server tags an untagged memory with a project= tag, and memories are scoped by project.
  • The Sleeper, a background worker that writes a summary for each entity, and Dream, a periodic consolidation pass that maintains a confidence on facts. See Sleeper and Dream.
  • The Cortex, a 3D view of a brain with a live stream, at GET /v1/graph, and the Wiki, one Markdown page per entity, at GET /v1/wiki. See Cortex and Wiki.
  • An inference proxy inside the service: Graphiti and the workers call it, and it forwards to the provider chosen in the admin settings, which can be changed without a restart. Circuit breakers protect the service from a failing provider. See inference providers.
  • The default extraction model became gemma-4-26b-a4b-it.
  • The Claude Code plugin follows the marketplace format, recalls memories at session start and ships a skill that tells the agent when to read and write memory.
  • Admin UI: usage dashboard with 90-day retention, activity view (queue and Sleeper backlog), inference settings with a connection test, entity normalisation, memory purge, Wiki switch and bundle download. The UI, the Wiki and the generated bundles are available in French and English.
  • /healthz reports the state of the background workers.

4 May 2026 — first commit

  • The stack: PostgreSQL, Neo4j, graphiti-mcp and the spongram service, with a Docker Compose file and a Docker Swarm stack file.
  • The spongram service authenticates each request with a brain key (spt_brain_ prefix, stored as a SHA-256 hash), routes MCP traffic at /mcp, injects the group_id of the brain and rejects a payload that carries another one.
  • An admin API under /admin/api/spongram, protected by SPONGRAM_ADMIN_TOKEN, that creates brains and generates their bundles (Claude Desktop .mcpb and Claude Code plugin), and a plugin marketplace manifest at /marketplace.json.
  • A React admin UI served at /admin/.
  • A purge route per brain, Prometheus metrics at /metrics and a backup script.