
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 分