Lobu

io.github.lobu-ai由 GitHub 帳號 lobu-ai 發布v0.2.0更新於 Nov 2, 2026

Shared, permission-aware company context for AI agents, with provenance, approvals and audit.

已驗證Streamable HTTP可網頁執行效率與工作流知識與記憶溝通與協作

概覽

AI 產生的概覽

Lobu 是需要 OAuth 授權的遠端情境層,讓 AI 助理共用有權限控管的企业記憶、查詢實體,並把任務委派給常駐專家。

可以做什麼
  • 在呼叫者權限範圍內搜尋並儲存跨來源的共用組織記憶
  • 查詢公司、專案、客戶、事故等具型別實體及其歷史與來源
  • 檢視已連接的來源,並依核准策略執行受控管的連接器操作
  • 探索並委派任務給常駐 Lobu 專家,專家擁有獨立身分、工具與對話歷史
  • 透過受控管工具執行 SDK 與 SQL 查詢,並記錄到活動流
適用情境
適合多個助理(Claude Code、Codex、ChatGPT、Cursor 或自建用戶端)需要從同一份持久企業情境接續工作,而不必每次工作階段重新抓取來源;也適合把長期職責交給常駐專家處理。
執行需求
透過 streamable HTTP 存取 lobu.ai 的遠端 MCP 端點,首次使用時在用戶端完成 OAuth 登入。連接資料來源與建立專家需在 Lobu 網頁應用或 CLI 中完成。自架執行環境需要 Postgres(含 pgvector)與 ENCRYPTION_KEY。
安裝前請注意
此服務代為管理已連接來源的憑證,並把組織資料保存在伺服器端,安裝前應確認要連接哪些來源以及組織的 Auto、Ask、Block 操作策略。助理可寫入記憶、執行 SDK/SQL 查詢,並觸發會發通知、開工單或啟動任務的連接器操作。內建 shell 執行只是策略界線,並非隔離惡意程式的虛擬機器。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Lobu,將其新增到工作區。
  2. 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.lobu-ai%2Flobu/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。

{
  "mcpServers": {
    "lobu": {
      "type": "http",
      "url": "https://lobu.ai/mcp"
    }
  }
}

README

Lobu — Give every agent a live model of your world

Lobu is an open-source, event-sourced context layer for AI agents. Every tool call, data change, device signal, API event, and conversation becomes an event, linked to the entities and identities it belongs to — a person, a project, a customer, a home, a company. That gives agents a live, queryable model of your world instead of a transcript they forget when the session ends.

ChatGPT, Claude, Codex, and your own agents read and write that same permission-aware history and current context, whether you're wiring up your own accounts or an entire company's stack. When a responsibility should outlive one chat, any agent can discover and hand it to a persistent Lobu specialist over MCP.

Connect your tools once. Every agent resumes from the same live context.

text
WITHOUT LOBU                         WITH LOBU
Agent A -> Slack / GitHub / CRM      Slack  GitHub  CRM  DBs  DevicesAgent B -> Slack / GitHub / CRM         \      |     |    |     /Agent C -> Slack / GitHub / CRM          +-----+-----+----+----+                                                     |Each agent re-fetches.                               vEach session forgets.                       +-------------------+                                             |       LOBU        |                                             | events + entities |                                             | history + policy  |                                             +---------+---------+                                                       |                                                shared context                                     +-----------------+-----------------+                                     |                 |                 |                                  ChatGPT         Claude / Codex      Your agents

See it in ChatGPT

The 86-second muted demo shows ChatGPT using Lobu over MCP to pull connected context and call governed tools without leaving the conversation. The same shared context remains available to Claude, Codex, and custom agents.

https://github.com/user-attachments/assets/26e6329a-1bc6-4480-8e57-e9388e38dde9

Start with the agent you already use

Point any MCP client at Lobu. No Lobu agent runtime or lobu.config.ts is required.

bash
# Claude Codenpx @lobu/cli@latest connect claude-code
# Codexnpx @lobu/cli@latest connect codex
# OpenCodenpx @lobu/cli@latest connect opencode

Complete OAuth when prompted, connect the sources you want to share, and ask your agent to use Lobu when it needs shared context.

The same MCP endpoint works with Claude Code, Codex, OpenCode, Antigravity, ChatGPT, Claude Desktop, Cursor, and custom MCP clients. Run lobu connect to detect a client, install the supported MCP and skill bundle, or get the exact native handoff when the host requires UI setup. Authentication happens in that agent on first use.

Setup guides: Claude · ChatGPT · Codex · Grok

Download Lobu: Mac app · Chrome extension

Upgrading a Mac install made before the ai.lobu.mac app identity? Install the DMG by hand — the in-app updater does not carry an install across the bundle identifier change. It replaces /Applications/Lobu.app in place; also delete /Applications/Owletto.app if a pre-rename build is still there, since that one sits at its own path. From 20.0.1 your settings and the app's device identity carry across the rename, so device-pinned Automations keep running against the same worker. Login Items and privacy grants cannot come with them — macOS keys both to the bundle identifier — so the new app asks about Open at Login once and re-prompts for each permission on first use.

To test changes merged to main, run bunx @lobu/cli@canary --help. The canary tag moves only when a maintainer runs Publish Packages from main in GitHub Actions with channel canary; that run requires the commit's CI and image checks and smokes the packed CLI before publishing. The published version is then exercised across the Linux runtime matrix, so check the run's result before depending on it. Use @latest for stable releases. Canary versions include the full commit SHA so you can pin a preview when reproducing a bug. Package managers can cache the moving tag: copy the exact version from the successful workflow run, use it in place of canary, and confirm the installed version with lobu --version.

Recall what the company knows

Ask from Claude Code, Codex, or ChatGPT:

What did we decide about enterprise onboarding, and what changed since the last release?

Lobu searches shared, durable organizational memory under the caller's permissions, regardless of which agent asks. The answer can combine connected discussions, project activity, customer records, saved decisions, and typed company entities without rebuilding that context from scratch in every chat.

Hand work to a persistent Lobu specialist

Ask your primary agent:

Ask our customer-researcher specialist to review the latest feedback and propose the next three interviews.

The agent discovers the specialists available to you, selects the right one, delegates the task, and brings the result back. The specialist has its own identity, instructions, tools, durable conversations, and access policy.

To the user this stays one conversation in their primary agent. The specialist itself persists: it remains available to other authorized people and agents instead of disappearing with the current chat.

Why Lobu

Instead of every agent rebuilding the same state through per-session tool calls, Lobu runs a shared data layer:

  • Connect once. Polls, webhooks, APIs, and agent-written connectors feed one append-only event log.
  • Know once. Events can be indexed as searchable knowledge and linked to typed entities such as companies, projects, incidents, and customers.
  • Use from any agent. Authorized MCP clients read and contribute to the same organizational state according to their grants.
  • Delegate when useful. Persistent Lobu specialists can own a role, conversation history, tools, and recurring responsibilities.
  • Keep control. Identity, source permissions, approvals, credential brokering, provenance, and audit stay server-side.
mermaid
flowchart TD    Sources["Connectors / webhooks / devices / APIs"] --> Log[("append-only log")]    Log -->|"resolve identities<br/>attach provenance"| Graph["context graph<br/>entities + links<br/>current + history"]    Graph -->|"query"| Agents["agents + specialists"]    Graph -->|"watch / subscribe"| Agents    Agents -->|"sandbox + scoped tools / MCP<br/>policy + approvals"| Actions["actions on systems"]    Actions -->|"action events"| Log

MCP is for doing. Lobu's event graph is for knowing.

One context layer, personal or company

The primitives don't change between a single person's accounts and an entire company's stack — only what's connected does. Identities, entities, events, history, and policy work the same way at either scope.

text
PERSONAL                               COMPANY
WhatsApp  Gmail  Calendar  Mac        Slack  GitHub  CRM  DB    \       |       |      /              \      |     |   /     +------+-------+-----+                +------+-----+---+                    \                      /                     +------- LOBU -------+                     | identities         |                     | entities + events  |                     | history + policy   |                     +---------+----------+                               |                      shared agent context                  +------------+------------+                  |                         |       "When is Alice home?"      "Why is Acme at risk?"

Three ways to use Lobu

1. Add shared context to existing agents

Agents can search and save memory, query structured entities, inspect connected sources, and delegate to Lobu specialists without moving to a new chat interface or adopting Lobu's runtime.

Docs: Memory · Claude · ChatGPT · Codex

2. Run persistent Lobu specialists

Create a specialist for a durable responsibility: customer research, support triage, release coordination, incident follow-up, or an internal domain. People can talk to it from the Lobu web app or Slack, while other agents can call the same specialist over MCP.

Scaffold and run one locally:

bash
npx @lobu/cli@latest init my-specialistcd my-specialistnpx @lobu/cli@latest runnpx @lobu/cli@latest chat -c local "hello"

lobu run starts the local stack with an embedded Postgres database by default and opens the web UI on :8787. It applies the project's lobu.config.ts automatically only in embedded mode. To use external Postgres, set DATABASE_URL, ensure pgvector is available, then authenticate and apply the project to that runtime separately.

The current canary CLI downloads the required runtime components on first use and caches them for later runs. --help, --version, and commands that only connect to a remote runtime do not install the local stack. Docker images include their runtime dependencies at build time and start directly; local embedding model weights can still download on first use. See Docker deployment for the separate database and service configuration.

lobu init, including init -y, generates ENCRYPTION_KEY in the project's .env. A manual setup must supply this key before starting: generate a 32-byte base64 value with openssl rand -base64 32. Keep the same key with the persistent database; replacing it makes previously encrypted secrets unreadable.

Docs: Getting started · Agent workspace · Skills · Slack

3. Build with the CLI and TypeScript SDK

The same governed data and operations are available without an agent:

bash
npx @lobu/cli@latest memory run                     # list the memory toolsnpx @lobu/cli@latest memory run search_memory '{"query":"onboarding"}'npx @lobu/cli@latest call run_sdk --arg title='List recent entities' \  --arg script='export default async (_ctx, client) => client.entities.list({ limit: 5 })'

Or from Node and TypeScript:

ts
import { client, searchMemory } from "@lobu/client";
client.setConfig({  baseUrl: "https://lobu.ai",  headers: { Authorization: `Bearer ${process.env.LOBU_TOKEN}` },});
const hits = await searchMemory({  path: { orgSlug: "my-org" },  body: { query: "onboarding" },});

Mint a token with lobu token create. The MCP tools and typed SDK operations share the server-side tool registry and access rules; lobu memory run dispatches through the MCP endpoint, and lobu call through the REST tool route by default (MCP when LOBU_API_TOKEN and LOBU_MEMORY_URL are set). lobu call run_sdk, query_sdk, and query_sql require a title arg, which names the call in the activity feed.

Core concepts

Shared context

Connectors collect activity on a schedule or through webhooks. Discussions, project changes, customer records, API events, and saved agent knowledge land in the same append-only history.

Typed entities connect that history to the things you care about: Company, Project, Customer, Incident, or schemas you define. Corrections supersede old facts rather than erasing their provenance.

Connectors are extensible. You can build them in TypeScript, and coding agents can use Lobu's connector contract and validation flow to create integrations for sources Lobu does not ship with.

Docs: Memory · Connectors · API

Persistent specialists

A Lobu specialist has a stable role, instructions, memory, tools, and conversation history. It can be reached from web chat or Slack and called by external agents through client.conversations.send.

Specialists use role files for identity and instructions: IDENTITY.md, SOUL.md, and USER.md. Guardrails can inspect input, output, and tool calls. Connector actions follow organization Auto, Ask, or Block rules in Settings → Policies; guardrails still apply under Auto, and action results return to the shared event log.

External agents do not ask users to write delegation code. They pass scripts like these to Lobu's query_sdk and run_sdk MCP tools:

Scripts must default-export an async function. Lobu passes the execution context as the first argument and the ClientSDK as the second; keep await and return inside that function. A bare top-level await or return fails compilation. The same function format works with lobu call run_sdk --arg title='…' --arg script='…'.

ts
// Discover specialists through query_sdk.export default async (_ctx, client) => {  const { agents } = await client.agents.list();  return agents;};
ts
// Delegate through run_sdk and wait for the specialist's reply.export default async (_ctx, client) => {  return client.conversations.send({    agent_id: "customer-researcher",    thread: "enterprise-onboarding",    text: "Review the latest customer feedback and propose the next three interviews.",  });};

Docs: Agent workspace · Guardrails · Security

Automations

Automations are versioned background responsibilities activated manually, on a schedule, by a connector event, or by another Automation's durable output. They read governed sources, persist structured results, and can notify Slack, open a ticket, or start agent work while nobody is in chat.

Collection and activation stay independent: connect a source once, keep its durable history useful to every authorized agent, then choose whether a responsibility should run on a schedule or immediately when a matching event arrives. Polling connectors, authenticated webhooks, and Automation outputs use their appropriate ingestion paths but converge on the same durable Automation run lifecycle. Initial syncs establish a baseline without flooding subscribers; repeated deliveries are deduplicated.

See the activation and chaining model.

Optional execution

Shared context and delegation over MCP do not require Lobu to execute code for the calling agent. When a Lobu specialist needs a shell, the built-in runtime provides lightweight just-bash execution. Remote sandbox providers such as Vercel Sandbox can be connected for workloads that need stronger isolation or more compute.

Which sandbox runs the code is a deployment choice. Lobu provides the shared context, permissions, and governance around it.

Channels

Lobu specialists can serve Slack, Telegram, WhatsApp, Discord, Teams, Google Chat, the web app, and a REST API. Channel conversations remain separate while reading the same authorized organizational context.

Setup: Slack · Telegram · Discord · WhatsApp · Teams · Google Chat

How Lobu differs

  • Agent frameworks help developers implement an agent loop. Lobu gives agents and people a shared organizational state and a place to keep persistent specialists.
  • Direct MCP integrations expose tools from one provider. Lobu continuously builds durable, cross-source context that every authorized agent can reuse.
  • Agent runtimes host a particular agent. Lobu lets people keep using Claude Code, Codex, ChatGPT, or their own runtime and add Lobu only where shared context or delegation is useful.
  • Workflow engines encode a graph of predetermined steps. Lobu Automations handle durable triggers and background responsibilities, while agents decide how to complete open-ended work.

Agent configuration

Runtime configuration is managed through the web app or the same org-scoped REST API used by the CLI. Local lobu.config.ts projects support validation and repeatable apply workflows.

bash
npx @lobu/cli@latest loginnpx @lobu/cli@latest org set my-orgnpx @lobu/cli@latest agent list

Docs: CLI reference · lobu apply

Deployment

Use the embedded runtime locally or self-host Lobu with external Postgres. Production guides: Docker · Cloud · Kubernetes

Security and privacy

Permissions and audit stay on Lobu's gateway. Lobu MCP servers and the credential-brokering layer handle provider and connector credentials, OAuth and token refresh, and third-party API proxying. Workers receive scoped placeholders or short-lived provider-derived access, never OAuth tokens or durable stored credentials. Connector actions follow organization approval policies, and connected data remains organization-scoped.

The built-in just-bash and embedded execution modes are policy and convenience boundaries, not VMs for hostile code. Use a remote sandbox provider when the workload needs a stronger isolation boundary.

Docs: Security · Secret proxy · Guardrails · Threat model

Design partners

We are working with technical teams that already use Claude Code, Codex, ChatGPT, or custom agents and want those agents to share company context or delegate to persistent specialists.

The best starting point is one team, one or two connected sources, and one repeated responsibility. Talk to the founder or reach out on X/Twitter.

來源:README.md,提交 a8d0bd2

工具

0
該伺服器需要登入,因此 SourceWeft 無法在沒有帳號的情況下讀取其工具,也未收錄。已連接帳號所能看到的內容可能因帳號及其權限而異。

版本歷史

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

評分

已滿足適用檢查項的 85%

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

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具15 分

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

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