LBrain

ai.lbrain由 lbrain.ai 發布v0.1.3更新於 Oct 24, 2026

Local-first agent memory. Source, date, bind/abstain. Permanent name: lbrain.ai/claim.html

發布方自己的服務:BrainDog

已驗證STDIO僅桌面知識與記憶開發者工具

概覽

AI 產生的概覽

把編碼代理接上本地優先的 LBrain 記憶引擎,讓它能召回、綁定或在無相符時棄答。

可以做什麼
這個套件負責安裝並把各宿主接上 LBrain 記憶引擎的 stdio MCP 伺服器,讓助理可以查詢個人記憶庫。它會偵測支援的編碼代理,把 lbrain 的 MCP 項目寫進其設定,將搭配的技能複製到各宿主的技能目錄,並可注入工作階段啟動時的召回呼叫。另提供 Python 包裝器,讓 OpenAI 風格的用戶端先召回、無相符時棄答,寫入需明確開啟。
適用情境
適合在本地保存筆記或文件、並希望編碼代理跨工作階段從該庫召回內容的情境,且傾向於無相符時棄答而非猜測。也適合已執行 LBrain 引擎、想把多個代理宿主統一接上的使用者。
執行需求
需要本地 Python 環境:先用 pip install "lbrain[local]" 安裝 LBrain 引擎,指定來源目錄初始化,匯入並產生嵌入,然後安裝本套件並執行其安裝器。MCP 伺服器透過 stdio 在本地執行;未宣告遠端端點、帳號、API 金鑰或環境變數。
安裝前請注意
安裝器會寫入代理設定檔,但只合併 lbrain 鍵,保留其他 MCP 伺服器,並在首次寫入前備份一次設定。除非明確指定,否則不會設定 LBRAIN_HOME。引擎的 HTTP 傳輸沒有身分驗證,不應暴露到網路;本安裝器只啟用 stdio。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 LBrain,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

LBrain coding-agents

Install LBrain where the agent already lives.

The free name is generic. Make it permanent: https://lbrain.ai/claim.html

Native MCP + companion skill + fail-closed session-start for Claude Code, Codex, Cursor, Copilot, Grok Build, Gemini CLI, Antigravity, and OpenClaw.

This package does not modify the LBrain engine. It wires hosts to lbrain mcp. The Official MCP Registry / VS Code @mcp gallery entry also execs that same stdio server.

VS Code: search LBrain in Extensions, or @mcp lbrain. Marketplace: https://marketplace.visualstudio.com/items?itemName=metavolve-labs.lbrain

Install the engine first

bash
pip install "lbrain[local]"lbrain init --source ~/noteslbrain import && lbrain embed --stale

Wire your coding agents

bash
pip install lbrain-coding-agentspython3 -m lbrain_agents statuspython3 -m lbrain_agents install            # lists detections, changes nothingpython3 -m lbrain_agents install all        # every detected harnesspython3 -m lbrain_agents install claude-code grok-buildpython3 -m lbrain_agents install all --dry-run

A bare install is a no-op. That is deliberate: wiring every agent on the machine never happens by accident.

Paste to a desktop AI (no terminal)

Some people never open a shell. They paste this into Claude, Cursor, Codex, Copilot, or Grok and the agent does the work:

Install LBrain as my local memory.
pip install "lbrain[local]" lbrain-coding-agentsIf python3 -m lbrain_agents works here, run: python3 -m lbrain_agents install allOtherwise add an MCP server named lbrain: command lbrain, args ["mcp"], stdio.
Then call whoami. Prefer binds. Near-miss is not an answer. Abstain if nothing binds. SUPERSEDED must not govern. Leave LBRAIN_HOME alone if it is already set.
https://lbrain.ai/integrations.html

Existing lbrain MCP entries are left untouched unless you pass --force. Skills are copied to each host's skills directory. Session-start injects lbrain whoami (Claude Code).

Two-line wrap

python
from openai import OpenAIfrom lbrain_agents.wrap import wrap_openai
client = wrap_openai(OpenAI(), home="~/.lbrain")

Recall first. If nothing binds, the model is told to abstain. Writes are opt-in (remember=True).

Agent Plugin

lbrain_agents/share/agent-plugin/ is a portable bundle (plugin.json + mcp.json + skill) for hosts that speak the Agent Plugins spec.

Cookbooks

  1. Abstain when the record does not bind
  2. SUPERSEDED does not govern
  3. Model swap, same mind

See lbrain_agents/share/cookbooks/.

Safety

  • Merges only the lbrain key. Other MCP servers stay.
  • Backs up a config once as *.lbrain-backup before the first write.
  • Does not set LBRAIN_HOME unless you pass --home. A working seat mount is not overwritten.
  • HTTP MCP is not enabled by this installer. stdio only. The engine's HTTP transport has no auth; do not bind it to the world.

What this package is not

This is the free installer and the serve-boundary skill. It is not LBrain Connect, Managed LBrain, or LBrain Govern. It does not issue gcx:// names, inscribe permanence, or ship study gold sets. The engine's resolver client is open; registrar issuance is not in this tree.

License

BSD-3-Clause. Metavolve Labs, Inc.

Patents pending. The licence covers the code; it does not grant patent rights.

來源:README.md,提交 3ca1a1c

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.3最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Brain 整合