Install
Node.js installs the launcher; Docker runs every application service. No host Python, Postgres or Redis installation is required.
npx kemory-community@latest init --runtime docker
npx kemory-community@latest up
The launcher creates local configuration and starts the pinned Compose stack. API access is protected by X-API-Key.
npx kemory-community@latest doctor
npx kemory-community@latest bundle
The bundle command lists the exact required components and the admission gates for optional integrations.
Docker runtime
| Service | Host port | Purpose |
|---|---|---|
| API | 8111 | REST and MCP backend |
| Dashboard | 5175 | Local management interface |
| Postgres + pgvector | 5434 | Memory and vector storage |
| Redis | Internal only | Local coordination |
Artifacts use local filesystem storage and telemetry uses the no-op adapter. Runtime data stays in Docker volumes and the local SeKondBrain configuration directory.
Connect an agent
Point any MCP client at http://127.0.0.1:8111/mcp/v1 and send the configured key in the X-API-Key header. Tool discovery advertises canonical kemory_* names; legacy s9nmem_* and kora_* names remain dispatch aliases.
Measure your own sessions
Community Edition stores captured chats in the same tables as hosted SeKondBrain, so the context-compaction benchmark runs against a local install. It replays every stored session two ways — the full history re-sent on each turn, and the tiered context SeKondBrain assembles — and reports how many reader tokens the tiered context saves, by session length, with what the compaction itself costs.
The measurement package lives in the Community Edition repository, under benchmarks/context_compaction_empirical/. It is read-only against your database and writes only counts and salted pseudonyms.
Edition boundaries
Community Edition is an independent downstream repository, not a GitHub fork. Compatible hosted behaviour is selectively ported by feature cohort and tested against the local adapters.
Hosted Keycloak/OIDC, billing, teams and organisations, Gatekeeper evaluation, managed KMS, PostHog, MinIO, Weaviate, FalkorDB, executive analytics and CogOS/L5 runtime paths are not part of Community Edition.
The default bundle does not require Core AI Backend, Core Backend or Keycloak. Scheduled upstream intake detects hosted changes daily and refreshes one redacted review pull request. It never imports hosted source, advances the accepted baseline, merges itself or automatically crosses the Community boundary.
The Product x Features database uses Community Edition as a hard checkbox gate: only checked Kemory or Chrome Extension features may enter a porting cohort. Community status then records Shipped, Adapted, Planned, Excluded or Review, with implementation evidence. A hosted feature is not marked Shipped until its Community pull request, tests and release tag are recorded.
Privacy
SeKondBrain Community Edition does not send local memories to hosted SeKondBrain and includes no hosted telemetry. External calls occur only for model or embedding providers you explicitly configure, plus the first download of a selected local embedding model.
Keep API keys out of source control and review logs before sharing them publicly.
Source documents
The complete versioned documentation lives in this repository:
Discussions and issues
Use GitHub Discussions for questions, ideas and community help. Use the issue tracker for reproducible bugs and scoped feature requests.
Report security vulnerabilities privately to security@sekondbrain.ai.