
ellmos Homebase
io.github.ellmos-ai由 GitHub 帳號 ellmos-ai 發布v0.1.0-alpha.28更新於 Oct 26, 2026
Local-first LLM orchestration: memory, knowledge, state, routing, swarm, API discovery, plugins.
概覽
本地優先的 LLM 協調伺服器,讓助理擁有以 SQLite 儲存的記憶、知識檢索、任務狀態、模型路由、群體規劃與 API 探測能力。
- 可以做什麼
- 儲存並全文檢索持久化的記憶事實與知識條目
- 建立並分頁查詢持久化狀態與任務,並記錄各代理的歸屬
- 取得免憑證的模型路由建議與群體協作規劃藍圖
- 被動探測 HTTP API 結構並保留本機歷史
- 以僅規劃、試執行的方式登錄連接器佇列、自動化鏈與外掛探索紀錄
- 執行內建的詮釋資料與冒煙自我測試,並讀取政策、工單與鎖定的唯讀檢視
- 適用情境
- 適合在本機或離線模型環境中使用,希望跨工作階段或多個代理共用一份持久的記憶、知識與任務紀錄。也適合規劃多代理協作模式,或在不交出憑證的情況下探測 API。
- 執行需求
- 以 stdio 方式在本機執行,通常透過 npx 或全域 npm 安裝;npm 套件只是 Node 包裝器,仍需 Python 3.10+ 與 Python 套件 mcp>=1.0.0。資料存放在使用者家目錄下的 SQLite。可選設定透過 HOMEBASE_CONFIG、HOMEBASE_LANG 或 HOMEBASE_LOCALE,以及 HOMEBASE_AGENT_ID 或 AGENT_ID 指定。本機 LLM 需要具備 MCP 能力的執行框架。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 ellmos Homebase,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
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.
來源:README.md,提交 a5cfaae
工具
0版本歷史
2- v0.1.0-alpha.28最新Oct 26, 2026
- v0.1.0-alpha.17Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分