Repository navigation
Releases
v0.5.1: Stability
A stability release. No new features: it fixes what a Docker restart, parallel use, a fresh install and a real model exposed. No data migration.
Upgrading from 0.5.0
Pull the new images and start the stack as usual (docker compose pull && docker compose up -d). Two things to know:
- ClickHouse, existing installs. The first start with this version renames each old ClickHouse system log table to
<name>_0and starts new ones that expire old rows. The old data stays and no longer grows. To get the space back, drop the_0tables: the command is in docs/operations.md. New installs need nothing. On the stack this was found on, the system logs held 6.3 GB of a 6.9 GB volume after 13 days. - Audit without access.
GET /replay/workflowsnow answers403with a reason for a user who has no audit access to any knowledge base, where it used to answer200with an empty list.
Existing .env files keep their values. .env.example now ships a rate limit of 600 requests a minute, and documents CORS_ORIGINS and NEXT_PUBLIC_BACKEND_URL.
Published with this release
| Artifact | Version |
|---|---|
Containers: spaider-backend, spaider-worker, spaider-frontend (GHCR) |
0.5.1 |
The Python packages are unchanged: spaider-cli 0.2.0, spaider-client 0.2.0, spaider-edge 0.1.0, spaider-ros2 0.1.0. The ClickHouse log fix is in the repository's compose file and reaches spaider-cli users with its next release.
Fixed
Restarts and start order
- Kafka was reported as unavailable for as long as the API ran if it was not up in the first seconds. The API now connects in the background and
/healthasks the broker. - After a restart of Docker, Neo4j, Redis, ClickHouse and Postgres that were slower than the API stayed missing: no vector index (semantic search broken), no swarm listener, no analytics, no connector tables. Each is retried until it answers. Restarting the Docker daemon five times in a row left nothing broken, and every one of the ten services can be stopped and started on its own.
- On a new database, the API and the worker could create the same schema at the same moment and the loser's error was swallowed, which left the vector index missing. It is retried.
- The worker crashed in a loop while Kafka was not up, and it skipped semantic duplicate matching for every message.
- Kong answered
502for minutes after the backend container was recreated.
Audit and analytics
- The audit log lost rows under parallel use (25 of 40 query rows and 27 of 80 workflows in a test), because one shared ClickHouse session refused parallel queries and a failed insert was logged only at debug level. Failed rows are now kept and written again, and failures are logged.
- Filtering the audit log by knowledge base failed in ClickHouse and fell back to a seven-day Kafka scan. A fallback or an unavailable audit store is now reported as
complete: falseor503, instead of an empty list with status 200. - The audit page asked for its list twice and the later answer won, so results appeared and vanished.
/analytics/overviewand/analytics/top-agentsalways answered 503, andGET /graph/statsreturned 0 for every type.- A reader without audit access to any knowledge base saw an empty audit log. The API answers
403with the reason and the page shows it. - ClickHouse's own system logs were never deleted and grew by about 0.5 GB a day. They now expire after three days (the busy ones) or two weeks.
Fresh installs
- A fresh install had a rate limit of 60 requests a minute and hit "API rate limit exceeded" within a minute.
- The Studio called the API at a fixed
localhost:8000and the allowed origins were fixed in the code.CORS_ORIGINSandNEXT_PUBLIC_BACKEND_URLreplace both. - The live feed stayed dead after the connection dropped because its single-use ticket was reused. It reconnects with a new one.
Studio
- Three knowledge base pickers that did not know about each other are one, in the header, and a pick no longer loads a graph on pages that do not show one.
- Cmd+K (Ctrl+K) did not open the command palette on the Studio and the Multiverse.
- The Settings page listed services that do not exist and showed services that are switched off as failed.
/healthreportsdisabledfor them, andspaider doctorno longer says "All clear" while a service is down. - Every page now passes the axe accessibility checks: low contrast text and the primary button, buttons and sliders without a name, and labels that were not tied to their fields. The memory and supersession switches say which side is on.
npm run lintdid not work and CI did not run it.
Answers
- An answer that cited its evidence as
[Evidence: n4]or[n3, n5], as real models often do, came back with no citations. Both forms are read now.
Added
/healthreportsclickhouseandpostgres, and astatusofok,degradedordown.- Audit list and event responses carry
completeandsource. - A test rig (
backend/tests/rig) with a README: a throwaway full stack in Docker for browser, load and restart tests. 126 Playwright tests run on it, with a stub model and with a real local one. CI checks every API call the Studio makes against the OpenAPI file.
Changed
- Docker images and CI use Node 24. Dependency updates include FastAPI 0.162, Uvicorn 0.54, the Neo4j driver 6.4, Next.js 16.4, React 19.3, framer-motion 14 and ESLint 10.
backend/uv.lockis regenerated, and Dependabot now updates the lock files ofbackend/andbenchmarks/together with their manifests.
Full changelog: v0.5.0...v0.5.1
v0.5.0: Identity, learning and federation
Identity and governance, a learning loop, federation, fast memory paths, robotics, fine-tuning and a Lite mode.
Upgrading from 0.4
Existing installs need a data migration. Back up Neo4j and Redis first, then follow the migration guide. New installs can start from the Quickstart.
Published with this release
| Artifact | Version |
|---|---|
Containers: spaider-backend, spaider-worker, spaider-frontend (GHCR) |
0.5.0 |
spaider-cli (PyPI) |
0.2.0 |
spaider-client (PyPI) |
0.2.0 |
spaider-edge (PyPI) |
0.1.0 |
spaider-ros2 (PyPI) |
0.1.0 |
Breaking changes
- Authentication is always on and JWT is removed. Use API keys (
sk-for users,ss-for service accounts).SPAIDER_INSECURE_DEVopts out for local use. - Organizations, workspaces, users, groups and roles now live in Neo4j. Agent records and API key hashes moved there from Redis.
?token=on WebSocket and event-stream URLs is replaced by single-use tickets./swarm/connections*,/agents/connect,/agents/linksand/agents/linkare replaced by federation grants.- Node ids are unique per knowledge base.
DELETE /node/{id}takesagent_idwhen the key has no default KB. docker compose upneeds theliteorfullprofile. Compose publishes ports on loopback only, Redis needs a password, Kong's admin API is not published, and images run as uid 10001.- Python SDK 0.2.0 removes
create_swarm_connection.
Added
- Short-term memory:
POST /episodes,POST /recall, MCPspaider.rememberandspaider.recall, with no LLM call, plus idempotency keys and spatial search. - Bi-temporal edges and
as_ofqueries. - One
IngestPipelinefor every ingest path, with a job queue when Kafka is absent. - Learning loop:
[nK]citations,query_id, feedback where the latest verdict wins, co-activation links and a per-KBRecallRanker. - A ten-pass sleep cycle under a per-KB lease, with lessons, on-demand skills and compaction, and MCP
spaider.sleep_report,spaider.compactand resources. - Federation grants with scope, expiry and approval, enforced inside the Cypher, and Knowledge Pull Requests with overlap-safe revert.
- Fine-tuning through OpenAI, Together and Tinker, a
ModelVersionregistry and a server-side evaluation gate. Adapters are verified only against reconstructed API fixtures. spaider-edge0.1.0 for on-device memory andspaider-ros20.1.0. ROS 2 and LeRobot are tested only with fakes.- CLI 0.2.0 with eight client installers,
@spaider/client0.1.0, MCP over stdio, and Studio pages for sign-in, members, sharing, learning and training. - GDPR purge across graph, episodes, connector state, datasets and model artifacts.
benchmarks/latency, a deterministic robotics simulation and runners for LongMemEval, LoCoMo and MemoryAgentBench-style datasets.
Changed
- The entity resolver uses the full-text index, so its cost follows the batch and not the size of the graph.
- Clearance applies to every read path, including traversal and exports. Answers use the lower of the caller's and the KB's clearance.
- Queries have a deadline and return 504 past it.
LLM_FAST_MODELserves routing and background work.
Fixed
- Two facts from one document could supersede each other.
- Orphan pruning never matched because it compared dates with an integer.
- Node energy never decayed below 1.0.
- Fusion rewrote knowledge edges as
RELATED_TO, which retrieval ignores. - The streaming ingest route dropped FACT nodes and skipped supersession.
feedbackandsystem_settingsopened a new Neo4j driver on every call.- Dataset generation and download used different directories.
spaider initstarted only the API, so Studio and the worker never ran. It now builds the checkout and starts the whole stack.- On a new database, the API and worker could collide while creating the schema and leave vector search off until a restart. Startup now retries.
Security
- Connectors check every URL hop, DSN and stdio command against private networks and pin connections to the checked address.
- Raw Cypher is limited by an allow-list to knowledge labels and is dev-only once an instance has more than one organization.
- Connector secrets are bound to their owner with AES-GCM associated data.
- Rate limiting and security headers are on, and the default Neo4j password is refused outside development.
Full Changelog: v0.4.0...v0.5.0
v0.4.0: Faster ingestion
Highlights
Faster ingestion. A 10-node / 17-edge document with supersession enabled went from ~32s to ~13s (measured on a live stack). Supersession resolves contradictions, which is consolidation work rather than perception, so it no longer blocks the write. It is scheduled after the response returns and its per-edge LLM passes now run concurrently instead of one after another.
MCP server works again. On v0.3.1 tools/list crashed (_on_list_tools() takes 1 positional argument but 2 were given) because mcp 2.2.0 calls the handler with (context, params). The handler now matches, and a regression test exercises the real two-argument dispatch so this cannot break silently again. If you run v0.3.1 and use SpAIder over MCP, upgrade.
Entity dedup restored. Ingestion was creating duplicate entities because its graph service skipped initialization, which silently disabled semantic merging. It now reuses the initialized service, so the same entity mentioned across documents merges into one node again.
Dependencies
- Backend: uvicorn 0.53.0, neo4j driver 6.3.1
- Frontend: Next.js 16.3, React 19.3, TypeScript 7, ESLint 10, lucide-react 1.x, three 0.186
- Tailwind CSS 3 to 4: migrated to the CSS-first setup (
@import "tailwindcss"+@tailwindcss/postcss), keeping the existing theme via@config. Global base styles moved into@layer base, which v4 requires so utilities are not overridden. - CI: setup-python / setup-node v7, dorny/paths-filter 4.0.3
Full detail is in CHANGELOG.md.
What's Changed
Other changes
Full Changelog: v0.3.1...v0.4.0
v0.3.1: Security hardening
Security release
v0.3.1 closes broken access control and namespace isolation gaps in the REST API. It only affects deployments running with REQUIRE_API_KEY_AUTH=true (multi-tenant or network exposed); single tenant local setups with auth off are unchanged. Upgrading is strongly recommended for any shared deployment.
Highlights:
- Every agent management route now enforces authentication and ownership. Rotating a key, deleting an agent, exports/imports, and per-agent config are no longer reachable without a valid key, and a non-admin key acts only on its own namespace.
- Raw Cypher (
/query/cypher) is admin only and runs in a read transaction, so a non-admin cannot read another agent by UUID and APOC write bypasses are rejected by the database. - Ingestion, feedback, analytics, graph, replay, and synthesize routes are authenticated and namespace scoped; fleet-wide views (multiverse graph, top agents, swarm health and live log) are admin only.
- Node deletion no longer trusts a spoofable header; WebSocket and the swarm SSE log authenticate via a
?token=key; deleting an agent now revokes its keys; privilege escalation via agent create/update is closed. - The backend logs a loud warning at startup when
REQUIRE_API_KEY_AUTHis off. The first admin is provisioned withbackend/scripts/bootstrap_admin.py.
Full detail is in CHANGELOG.md.
What's Changed
Bug fixes
Full Changelog: v0.3.0...v0.3.1
v0.3.0: Vision ingest
What's Changed
Bug fixes
Dependencies
- chore(deps): bump the backend-deps group across 1 directory with 4 updates by @dependabot[bot] in #31
- chore(deps): bump the frontend-deps group across 1 directory with 18 updates by @dependabot[bot] in #30
- chore(deps): bump dorny/paths-filter from 4.0.1 to 4.0.2 in the actions group by @dependabot[bot] in #24
- build(deps): bump actions/checkout from 6 to 7 by @dependabot[bot] in #16
- build(deps): bump docker/setup-qemu-action from 3 to 4 by @dependabot[bot] in #15
- Bump actions/github-script from 8 to 9 by @dependabot[bot] in #6
Maintenance
Other changes
- Feat/rlhg utility rejected by @MYCL94 in #23
- Feat/mcp v2 compat by @MYCL94 in #34
- Feat/vision ingest by @MYCL94 in #33
New Contributors
- @dependabot[bot] made their first contribution in #31
Full Changelog: v0.2.0...v0.3.0
v0.2.0: Cognitive memory tiers
What's Changed
Features
Maintenance
Other changes
- Feat/phase2 continual learning benchmarks by @MYCL94 in #20
- Feat/phase2.5 contradiction resolution by @MYCL94 in #21
Full Changelog: v0.1.2...v0.2.0
v0.1.1
Second release. Focus: broader agent compatibility and a fully open-source default.
Highlights
- Modern MCP transport. The MCP server now speaks Streamable HTTP at
/api/v1/mcp(replacing the legacy SSE transport), so current MCP clients connect cleanly. Per-agent bearer auth and namespace isolation are unchanged. - First-class OpenCode support.
spaider mcp install --for opencodewires SpAIder into OpenCode in one command (writesopencode.json+AGENTS.md). The Claude Code and Cursor targets move to the new endpoint too. Shipped inspaider-cli0.1.2. - Runs 100% local by default. The shipped
.env.examplenow defaults both the LLM and embeddings to local Ollama (no API key). Pair with OpenCode on a local model for a fully self-hosted agent + memory stack. - Multi-arch images.
spaider-backend,spaider-worker, andspaider-frontendare published forlinux/amd64andlinux/arm64.
Also in this line
- Head-to-head benchmark vs Mem0 and Cognee published (statistical parity; same corpora, questions, and judge).
- Replaced deprecated redis
setexcalls; CI test config pinned for determinism.
Run it
docker compose pull # ghcr.io/spaider-studio/spaider-* :0.1.1 / :latest
docker compose up -dv0.1.0 — initial public release
Initial public release.
Added
- MCP-native knowledge-graph memory backend (FastAPI, Neo4j, Kafka, Redis,
Postgres, ClickHouse): ingest unstructured text, extract entities and
relationships, answer questions grounded in the graph. - Hybrid retrieval: dense vector search plus keyword full-text search fused
with reciprocal-rank fusion, an agentic retrieve-verify loop, and concise
direct answers for factoid questions. - Cognitive memory layer: ACT-R energy decay with retrieval-based
consolidation, Hebbian edge feedback (spaider.feedback), and scheduled
graph consolidation (orphan pruning, duplicate fusion). - Verbatim fact preservation: every ingested text is kept as a FACT node,
including texts the extractor finds no entities in, so literal values are
never lost. spaiderCLI: one-commandinitwizard (Docker check, provider key
validation, secret generation, stack startup, agent provisioning, MCP +
skill install; re-run safe),doctorhealth audit, and agent management.spaider-clientPython SDK with sync/async clients, a typed OpenAPI
contract guard, and LangChain/LlamaIndex integrations.- Studio web UI: 3D knowledge-graph canvas, cross-agent Multiverse view,
agent management, training-data export, and a ClickHouse-backed audit log
of every ingest and query. - Training-data export: ChatML (SFT) streaming export and DPO preference
pairs labeled by the graph's own usage signal (RLHG), via UI, REST, and CLI. - Connector framework (upload, URL, SQL, MCP) with incremental sync state and
a Kafka dead-letter queue. - Public vanilla-vs-with-memory benchmark suite: independent LLM judge,
multi-sweep runs, bootstrapped confidence intervals, published scorecards. - CI/CD: consolidated path-filtered CI workflow, grouped release workflows
with PyPI trusted publishing (OIDC) and GHCR container images, weekly
dependabot with majors isolated, coverage reporting to Codecov.