
ellmos Homebase
io.github.ellmos-aiPublished by GitHub account ellmos-aiv0.1.0-alpha.28Updated Oct 26, 2026
Local-first LLM orchestration: memory, knowledge, state, routing, swarm, API discovery, plugins.
Overview
Local-first LLM orchestration server giving an assistant SQLite-backed memory, knowledge search, task state, model routing, swarm planning and API probing.
- What you can do
- Store and search persistent memory facts and knowledge entries with full-text search
- Create and page through persistent state and tasks, with per-agent attribution
- Get credential-free model-routing recommendations and swarm planning blueprints
- Probe HTTP API schemas passively and keep a local history
- Stage connector queues, automation chain plans and plugin discovery as dry-run records only
- Run built-in metadata and smoke self-tests, and read policy, ticket and lock views
- When to use it
- Worth adding when you run local or offline models and want a shared, persistent scratchpad of memory, knowledge and tasks across sessions or several agents. Also useful for planning multi-agent swarm patterns or probing APIs without handing over credentials.
- Requirements
- Runs locally over stdio, typically via npx or a global npm install; the npm package is a Node wrapper that still needs Python 3.10+ and the Python package mcp>=1.0.0. Data is stored in SQLite under the user's home directory. Optional config via HOMEBASE_CONFIG, HOMEBASE_LANG or HOMEBASE_LOCALE, and HOMEBASE_AGENT_ID or AGENT_ID. Local LLMs need an MCP-capable harness.
Installation
In SourceWeft
- Open ellmos Homebase in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
ellmos-homebase-mcp
Alpha MCP server for local-first LLM orchestration: memory, knowledge, routing, swarm patterns, API probing, persistent state, tests, automation planning, and plugin discovery in one stdio server.
Homebase is designed primarily for local LLMs (Ollama, Qwen, Llama, or any locally-hosted model via a MCP-capable harness). All persistent storage uses SQLite with no cloud dependency. External LLM providers (Claude, Codex, Gemini, OpenAI) can also connect as MCP clients, but local, offline-capable setups are the primary target.
German README: README_de.md
Part of the ellmos-ai family under the open-bricks umbrella.
[Ecosystem: open-bricks] [Organization: ellmos-ai] [License: MIT] [Attribution: NOTICE] [npm version] [Python Matrix] [Node.js] [Platforms] [Privacy] [Storage] [MCP] [Status: alpha] [Tests] [Security SLA] [Security: RunAsInvoker] [Level 1 SBOM: Plain Text] [Audit] [Last-Checked] [Code style: ruff] [LLMs-Ready] [Homebase tests]
Discoverability: Published on npm as ellmos-homebase-mcp and maintained in the ellmos-ai organization.
[!NOTE] For AI Assistants & LLM Agents: Machine-readable architecture summary, index, and tool capabilities are published in llms.txt. MCP registry metadata is available in server.json.
Quick Navigation / Schnellnavigation
- System Architecture (
#sec-01) - Sequence Flow & Lifecycle (
#sec-02) - Core Capabilities & Security Invariants (
#sec-03) - Governance & Runtime Invariants (
#sec-04) - Target Personas & Discoverability (
#sec-05) - Comparative Matrix vs. Alternatives (
#sec-06) - Start Here (
#sec-07) - Status (
#sec-08) - Install (
#sec-09) - MCP Client Configuration (
#sec-10) - Server Configuration (
#sec-11) - Tools (
#sec-12) - Discovery Context (
#sec-13) - ellmos-ai Ecosystem (
#sec-14) - Third-Party Licenses (THIRD_PARTY_LICENSES.md) (
#sec-15) - Security & Vulnerability Reporting (
#sec-16) - Development (
#sec-17) - License & Statutory Liability Disclaimer (§ 521 BGB) (
#sec-18) - Marketing Log (MARKETING-LOG.txt) | Changelog (CHANGELOG.md) | Legal Attribution (NOTICE) | Deutsche Version (README_de.md)
System Architecture
Four-View Architectural Topology Projection
Sequence Flow & Lifecycle
Core Capabilities & Security Invariants
Governance & Runtime Invariants
Target Personas & Discoverability
Homebase is purpose-built to solve architectural and operational challenges across four core technical audiences:
[PERSONA-01] Local LLM & Edge AI Developers
- Profile & Objective: AI engineers building offline or edge applications with Ollama, Qwen, or Llama models who need a robust orchestration harness.
- Pain Points: Cloud memory APIs introduce unwanted latency, privacy leaks, subscription billing, and network failure modes.
- Homebase Solution: Zero-cloud dependency, local SQLite WAL persistence (
~/.homebase/), and 51 standard stdio tools providing memory, FTS5 knowledge search, and task tracking. - Reference Workflow:
[PERSONA-02] Multi-Agent Swarm Orchestrators & Swarm Architects
- Profile & Objective: System architects orchestrating multi-agent collectives (Claude Code, Codex, Antigravity, local agents) operating concurrently on shared codebases.
- Pain Points: State collisions, lack of origin tracking, race conditions in shared memory, and uncoordinated task delegation.
- Homebase Solution: Native
agent_idprovenance across all facts, memories, and task states; built-in swarm templates (boss/worker, chunked parallel, consensus voting viahb_swarm_*). - Reference Workflow:
[PERSONA-03] Enterprise Security & Data Governance Officers
- Profile & Objective: CISOs, SecOps teams, and compliance auditors in regulated industries (healthcare, finance, defense) evaluating developer agent toolchains.
- Pain Points: Silent cloud telemetry, unvetted remote side-effects, privilege escalation risks, and missing SLA assurances.
- Homebase Solution: Strict zero-egress architecture, fail-closed canonical engine seams (
MODE-CONTRACT.md), unprivilegedRunAsInvokeroperation, and formal 48h Security Response SLA (SECURITY.md). - Reference Workflow:
Guaranteed fail-closed behavior: raises
CanonicalEngineUnavailableinstead of silently falling back to insecure stubs.
[PERSONA-04] Cross-Framework AI Assistants & Pair Programmers
- Profile & Objective: Developers utilizing multiple AI coding assistants (Claude Desktop, Codex, Cursor, Gemini) seeking uniform context and tool parity across environments.
- Pain Points: Incompatible custom tool APIs, fragmented scratchpads, and lack of multilingual developer schemas.
- Homebase Solution: Standard stdio MCP transport, machine-readable project metadata (
llms.txt,server.json,glama.json), and 100% complete schema localization across 6 languages (en,de,es,zh,ja,ru). - Reference Workflow:
High-Intent Search & SEO Keywords
- English Intent:
local-first LLM orchestration MCP server,offline agent memory SQLite WAL,stdio Model Context Protocol Ollama Qwen,multi-agent swarm planning persistent state,zero-egress MCP server enterprise AI,fail-closed engine seams MODE-CONTRACT,team-memory agent_id provenance. - German Intent:
Local-First LLM-Orchestrierung MCP-Server,Offline Agenten-Memory SQLite WAL,Model Context Protocol Stdio-Server Ollama,Multi-Agenten Schwarmplanung persistenter Zustand,Zero-Egress MCP-Server Unternehmens-KI,Fail-Closed Schnittstellen MODE-CONTRACT,Team-Memory Agenten-Provenienz.
Comparative Matrix vs. Alternatives
Homebase provides a uniquely comprehensive, local-first MCP capability stack compared to specialized or cloud-bound alternatives:
Start Here
Status
- Transport: stdio via the Python MCP SDK
- Package status: public alpha package under
ellmos-ai - Release metadata: MIT
LICENSE,NOTICE,CHANGELOG.md,llms.txt, and MCP Registry metadata inserver.json - Test gate: GitHub Actions covers Python 3.10/3.11/3.12/3.13 plus Node.js 20/22/24 smoke and npm package checks
- Current core: module discovery, MCP tool listing, MCP tool dispatch, config fallbacks, local planning/probing/queue/dry-run adapters
- Real local SQLite modules:
hb_mem_*,hb_kb_*,hb_garden_*,hb_state_* - Engine seams:
hb_garden_*,hb_state_task_*,hb_mem_*,hb_kb_*andhb_route_*can delegate to the real canonical Gardener/Rinnsal/USMC/KnowledgeDigest/clutch engines instead of the bundled copies via[engines].mode = "canonical"(default remains"bundled"for a zero-dependency install). No silent fallback: if you requestcanonicaland the engine is unreachable, those tools return an error rather than quietly using the bundled DB — the server still starts and lists its tools. The public APIs of KnowledgeDigest and clutch are narrower than thehb_kb_*/hb_route_*families: under a reachable canonical enginehb_kb_search,hb_route_selectandhb_route_statsdelegate, whilehb_kb_ingest/get/listandhb_route_evaluatereportnot_supported(gaps are reported, not worked around). Binding rule and migration notes: MODE-CONTRACT.md; mechanism: KONZEPT.md. - Canonical-only seams (no bundled alternative at all):
hb_policy_*(policy-registry),hb_ticket_*(ticket-master),hb_lock_*(lock-master) — all read-only in v1. A locally faked copy of live policy/ticket/lock state would mislead rather than help, so these three always attempt the canonical module and fail closed unconditionally if it is unreachable. - Team-memory basics:
agent_idprovenance and filters for memory, knowledge, state memory, and tasks; SQLite uses WAL plus a busy timeout for safer concurrent agents - Credential-free alpha adapters:
hb_route_*,hb_swarm_*,hb_api_*,hb_test_*,hb_conn_*,hb_auto_*,hb_plug_* - i18n: fully localized MCP tool descriptions, input-schema field descriptions, and unknown-tool errors for
en,de,es,zh,ja,ru(English fallback for any unset key) - Roadmap: optional real LLM/API integrations and explicit execution backends
Install
The npm package contains a Node wrapper that starts the Python server. You still need Python 3.10+ and the Python package mcp>=1.0.0.
Option 1: Install From npm
Option 2: Install From Source
Avoid creating a .venv inside cloud-synced folders if your sync client locks files. If you need an isolated environment, create it outside that folder.
Start From Source
MCP Client Configuration
Homebase uses the standard stdio mcpServers configuration format. The same snippet works in any MCP-capable client or harness: BACH/Buddha (local Ollama), Claude Code, Codex, Cursor, or any other MCP host.
Note on local LLMs: A bare Ollama instance does not speak MCP natively — you need a MCP-capable harness on top of it (e.g., BACH, an open-source MCP proxy, or another orchestration layer). Configure that harness to include Homebase as an MCP server using the snippet below.
Global npm Install
Source Checkout
Replace /absolute/path/to/ellmos-homebase-mcp with your local checkout path.
Server Configuration
Example: config/homebase.example.toml
Machine-readable project context: llms.txt
MCP Registry metadata: server.json
Default paths:
%USERPROFILE%\.homebase\homebase.toml%USERPROFILE%\.config\homebase\homebase.toml- override with
HOMEBASE_CONFIG
Language can be configured with [server].language, HOMEBASE_LANG, or HOMEBASE_LOCALE.
The writing agent can be passed per tool call as agent_id; otherwise modules use
HOMEBASE_AGENT_ID, AGENT_ID, a module-level agent_id, or unknown.
Modules with missing optional dependencies are skipped without blocking server startup.
Tools
Important tool groups:
hb_mem_*for SQLite-backed memoryhb_kb_*for SQLite-backed knowledge entrieshb_state_*for persistent SQLite state and taskshb_garden_*for a small SQLite garden storehb_route_*for credential-free model-routing recommendations and feedback statshb_swarm_*for credential-free swarm planning patternshb_api_*for passive HTTP API discovery with SQLite historyhb_test_*for built-in metadata and smoke self-testshb_conn_*for a local connector registry plus SQLite-backed inbox/outbox queues without network sendshb_auto_*for local automation chain definitions and queued plan-only runs without backend executionhb_plug_*for local plugin discovery and dry-run records without executing plugin codehb_policy_*(read-only, canonical-only) for resolving/listing policy-registry ruleshb_ticket_*(read-only, canonical-only) for listing/showing ticket-master tickets by lifecycle folderhb_lock_*(read-only, canonical-only) for checking/listing active lock-master locks
hb_state_task_list returns one task page. Optional status and agent_id filters
apply before pagination; limit defaults to 200 and accepts 1–500, while
cursor is the exclusive task ID returned as next_cursor by the prior page.
The response keeps count (tasks on this page) and tasks, and adds total
(all matches for the filters, regardless of cursor), truncated, next_cursor,
limit, and cursor. Continue while truncated is true. Pages use ascending
task IDs; each call is a fresh read, so concurrent edits may change later
totals or membership. In canonical mode this requires Task-Master's
TaskClient.list_page API (PR #22, commit ac2c681c); until that API is
installed, the tool returns status: unavailable with
error.code: task_pagination_unavailable instead of an incomplete list.
Discovery Context
Use ellmos-homebase-mcp when searching for a local-first, offline-capable MCP server that gives local LLMs (Ollama, Qwen, Llama, or similar) persistent memory, knowledge management, routing, and orchestration — without requiring any cloud dependency. External LLM providers can also use it as an MCP server, but local-first setups are the primary design target.
Good search phrases:
ellmos Homebase MCP serverlocal-first LLM orchestration MCPMCP server SQLite memory knowledge routingoffline agent orchestration MCP serverMCP swarm planning persistent state API discovery
Not the same as Elmo/ELMO voice tools, AllenAI ELMo embeddings, Eclipse LMOS, generic cloud agent platforms, or single-purpose MCP memory servers.
ellmos-ai Ecosystem
This MCP server is part of the ellmos-ai ecosystem — AI infrastructure, MCP servers, and intelligent tools.
MCP Server Family
AI Infrastructure
Desktop Software & Sibling Ecosystem
Our partner umbrella organization open-bricks and sister organizations maintain local-first, privacy-centric desktop software and developer tools:
Third-Party Licenses & Level 1 SBOM
ellmos-homebase-mcp is verified to contain 0% copyleft dependencies. All runtime dependencies are permissively licensed (MIT, BSD-2-Clause, Apache-2.0, PSFL).
Full inventory, Level 1 SBOM Invariant Cross-Reference Matrix, and non-elevation certifications are documented in THIRD_PARTY_LICENSES.md and plain-text companion THIRD_PARTY_LICENSES.txt. Canonical copyright and author attribution is maintained in NOTICE.
Security & Vulnerability Reporting
ellmos-homebase-mcp strictly adheres to local-first, zero-egress, and non-elevation security principles. Full policies, SLAs, and security guarantees are documented in SECURITY.md:
- Supported Versions:
0.1.0-alpha.x - Response SLA: Initial acknowledgment and triage within 48 hours. Detailed triage within 5 business days; remediation within 30 calendar days.
- Security Contacts:
[email protected],[email protected], and[email protected]. - Private Advisory: GitHub Security Advisories.
Development
Next useful step: add optional execution backends behind explicit configuration.
License & Statutory Liability Disclaimer (§ 521 BGB)
Software License
ellmos-homebase-mcp is open-source software licensed under the MIT License.
Canonical attribution to Lukas Geiger, the ellmos-ai family, and the open-bricks ecosystem is formally preserved in NOTICE.
Third-party component licenses are cataloged in THIRD_PARTY_LICENSES.md.
Statutory Notice & Liability Limitation (§ 521 BGB - German Law)
This software is made available free of charge as an open-source project. Under German statutory law governing gratuitous software provision (§ 521 BGB Gefälligkeitsrecht):
- Liability Limitation: The author and contributors are liable only in cases of intentional misconduct (Vorsatz) or gross negligence (grobe Fahrlässigkeit).
- Warranty Limitation: In accordance with §§ 523, 524 BGB, warranty claims for material and legal defects (Sach- und Rechtsmängel) are excluded, except in cases where defects have been fraudulently concealed (arglistiges Verschweigen).
- Local-First & Non-Elevation Principle:
ellmos-homebase-mcpis provided on an "as is" and "as available" basis without any express or implied warranty. Operators run Homebase in unprivileged user mode (RunAsInvoker) at their own discretion.
Coordinated Security Response SLA
For vulnerability reporting or security inquiries, our coordinated disclosure policy guarantees an initial response within 48 hours and triage within 5 business days:
- Security Contact:
[email protected]|[email protected]|[email protected] - Advisory Portal: GitHub Security Advisories
- Policy Documentation:
SECURITY.md
Bundles and partners
Homebase MCP remains a standalone local-first MCP server. In the V4
composition it is an optional MCP access surface of the
ellmos-memory-human-context-bundle: a configured system may use it to reach
memory and human-context capabilities. This access role does not make Homebase
the canonical owner of every memory, knowledge, state, routing or automation
function; the selected host and system manifests retain those bindings.
Canonical or bundled engines are integration partners selected by explicit configuration, not implicit replacements for this server. Authoritative bundle membership, versions, profiles and private composition recipes remain in the corresponding bundle manifests. This public section is discovery-only.
Source: README.md at commit a5cfaae
Tools
0Version history
2- v0.1.0-alpha.28LatestOct 26, 2026
- v0.1.0-alpha.17Sep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts