Lobu
Open-source event-sourced context layer that gives every agent a shared, permission-aware model of your world.
- Source repo
- lobu-ai/lobu
- Stars
- ★ 235
- Last updated
- 5d ago
- FARS reviewed
- Nov 06, 2026
- License
- Apache-2.0
- Primary language
- TypeScript
- FA score
- 51/100 · Major gaps
At a glance
- Works with
- Universal · cross-platformChatGPT · Codex · Claude Code · Claude.ai
- You'll need
- Typical use
- Engineering teams already using Claude Code or Codex who want those agents to read shared company memory from Slack, GitHub and the CRM instead of re-fetching it every session.
- Main limitation
- Self-hosting is not one command: external mode needs Postgres with pgvector, DATABASE_URL and an ENCRYPTION_KEY that must never change, or existing encrypted secrets become unreadable.
- Website
- lobu.ai ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-11-18
- Source review
- 51/100 · Major gaps
What does this agent do, and when should you use it?
Lobu is an open-source, event-sourced context layer that gives AI agents a live, queryable model of an organisation instead of a transcript they forget when the session ends. 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, an incident, a company. One MCP endpoint serves Claude Code, Codex, OpenCode, Antigravity, ChatGPT, Claude Desktop, Cursor and custom clients, while a CLI and a TypeScript SDK expose the same server-side tool registry and access rules. On top of shared memory, Lobu runs persistent specialists with their own identity, instructions, tools and conversation history, reachable from a web app or Slack, Telegram, WhatsApp, Discord, Teams and Google Chat, and callable by other agents through client.conversations.send. You can run the whole stack locally with an embedded Postgres (web UI on :8787) or self-host against external Postgres, with Docker and Kubernetes guides provided. Identity, source permissions, approvals, credential brokering, provenance and audit stay on the server-side gateway, so workers only receive scoped placeholders or short-lived access. The code is Apache-2.0 licensed.
Connectors, authenticated webhooks, devices and APIs feed a single append-only event log; Lobu then resolves identities, attaches provenance and links events to typed entities such as Company, Project, Customer, Incident or schemas you define, producing a context graph that carries both current values and history. Authorised agents query or watch that graph: the MCP side exposes memory tools such as search_memory plus query_sdk and run_sdk, which execute a script you pass in — a default-exported async function receiving the execution context and the ClientSDK — so an external agent can call client.agents.list to discover specialists and client.conversations.send to delegate work and wait for the reply. Specialists define identity and instructions through IDENTITY.md, SOUL.md and USER.md; guardrails inspect input, output and tool calls, and connector actions follow the organisation's Auto, Ask or Block rules in Settings → Policies. Automations are versioned background responsibilities started manually, on a schedule, by a connector event or by another Automation's durable output, persisting structured results and optionally notifying Slack, opening a ticket or starting agent work. At runtime, lobu run boots the local stack with embedded Postgres and opens the web UI on :8787, applying lobu.config.ts automatically in embedded mode; shell work runs in lightweight just-bash or in a remote provider such as Vercel Sandbox, and action results flow back into the shared event log.
- Engineering teams already using Claude Code or Codex who want those agents to read shared company memory from Slack, GitHub and the CRM instead of re-fetching it every session.
- Teams answering historical questions such as “what did we decide about enterprise onboarding, and what changed since the last release?” by combining discussions, project activity, customer records and saved decisions.
- Organisations creating durable responsibilities: a customer-researcher or support-triage specialist that people talk to in Slack or the web app and other agents call over MCP.
- Security-conscious teams that want identity, source permissions, approvals and credential brokering governed by their own self-hosted gateway with organisation-scoped data.
- Background workflows that must run with nobody in chat: an Automation reads governed sources on a schedule or on a matching event, persists structured results and notifies Slack.
- Developers embedding shared context into their own systems through @lobu/client's searchMemory and typed SDK operations, with no chat interface involved.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
npx @lobu/cli@latest connect claude-codenpx @lobu/cli@latest connect codexnpx @lobu/cli@latest connect opencodenpx @lobu/cli@latest init my-specialist
- Environment variables
ENCRYPTION_KEYDATABASE_URLLOBU_TOKEN- Config files
.env- Install notes cover
- Docker
How do you install or deploy this agent?
Prerequisites: Node.js or Bun for the CLI, and — if you run a local Lobu runtime — Postgres with pgvector plus a stable 32-byte ENCRYPTION_KEY.
The quickest path points an existing MCP client at Lobu; no Lobu runtime and no lobu.config.ts are required:
npx @lobu/cli@latest connect claude-codeThe same command works for Codex and OpenCode:
npx @lobu/cli@latest connect codex
npx @lobu/cli@latest connect opencodeComplete OAuth when prompted and connect the sources you want to share. lobu connect detects the client, installs the supported MCP and skill bundle, and gives the exact native handoff when a host requires UI setup; authentication happens inside that agent on first use.
To run a persistent specialist locally, scaffold a project and start the embedded stack, which opens the web UI on :8787:
npx @lobu/cli@latest init my-specialist
cd my-specialist
npx @lobu/cli@latest run
npx @lobu/cli@latest chat -c local "hello"lobu init (including init -y) generates ENCRYPTION_KEY in the project's .env. A manual setup must supply it before starting, and replacing it makes previously encrypted secrets unreadable:
openssl rand -base64 32To use external Postgres instead of the embedded database, set DATABASE_URL, make sure pgvector is available, then authenticate and apply the project to that runtime separately. Docker and Kubernetes guides cover production deployment. To test changes merged to main, the canary channel is available:
bunx @lobu/cli@canary --helpHow do you use this agent?
From any MCP client, ask your agent to use Lobu when it needs shared context; the CLI exposes the same tools directly. List the memory tools and run a search:
npx @lobu/cli@latest memory run
npx @lobu/cli@latest memory run search_memory '{"query":"onboarding"}'Run an SDK script with run_sdk (the title argument names the call in the activity feed):
npx @lobu/cli@latest call run_sdk --arg title='List recent entities' \
--arg script='export default async (_ctx, client) => client.entities.list({ limit: 5 })'Scripts must default-export an async function: Lobu passes the execution context first and the ClientSDK second, and await/return stay inside the function. Discover the specialists available to you:
// Discover specialists through query_sdk.
export default async (_ctx, client) => {
const { agents } = await client.agents.list();
return agents;
};Delegate to one and wait for its reply:
// 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.",
});
};Use the typed client from Node or TypeScript:
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 and manage agents in an organisation:
npx @lobu/cli@latest token create
npx @lobu/cli@latest login
npx @lobu/cli@latest org set my-org
npx @lobu/cli@latest agent listSafety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
Inherits capabilities of connected MCP servers; audit third-party servers before enabling.
What are this agent's strengths and limitations?
- Append-only event log plus typed entities: corrections supersede old facts while keeping provenance, instead of overwriting history.
- MCP-native: one endpoint serves Claude Code, Codex, OpenCode, Antigravity, ChatGPT, Claude Desktop, Cursor and custom clients, so you keep your current chat interface.
- Persistent specialists carry their own identity, instructions, tools and conversation history, and are reachable both by people in Slack or the web app and by other agents via client.conversations.send.
- Governance stays server-side: identity, source permissions, Auto/Ask/Block approvals, credential brokering and audit, with workers receiving only scoped placeholders or short-lived access.
- Complete deployment story — embedded Postgres locally, external Postgres self-hosting, Docker and Kubernetes — under Apache-2.0.
- MCP tools, the CLI (lobu memory run / lobu call) and the @lobu/client SDK share one server-side tool registry and access rules, which makes scripting and embedding straightforward.
- Self-hosting is not one command: external mode needs Postgres with pgvector, DATABASE_URL and an ENCRYPTION_KEY that must never change, or existing encrypted secrets become unreadable.
- Built-in just-bash and embedded execution are policy and convenience boundaries, not VMs for hostile code; stronger isolation requires an external sandbox such as Vercel Sandbox.
- The desktop app ships only as a Mac DMG, and upgrading across the bundle identifier change must be done by hand; other platforms get the Chrome extension or the CLI.
- The canary tag moves and can be cached by package managers, so reproducing a bug means pinning the exact version from a successful workflow run.
- Value depends on an MCP-capable host agent; without Claude Code, Codex, ChatGPT or a custom client you are limited to the programmatic CLI/SDK path.
- Connector coverage is extensible but not universal — sources Lobu does not ship require writing a TypeScript connector against its contract.
How does this agent compare with similar options?
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| Lobu This agent | 51 · Major gaps | — | ★ 235 | 5d ago | TypeScript | ChatGPT · Codex · Claude Code · Claude.ai |
| Caura | 77 · Good | Self-hosted serviceFreemium | ★ 575 | today | Python | Codex · Claude Code · Claude.ai |
| Cognee Memory Platform | 76 · Good | Library / SDKFree + model costs | ★ 34k | today | Python | Claude Code · OpenAI API |
| OpenMemory Cognitive Memory Engine | 65 · Some gaps | Library / SDKFree + model costs | ★ 4.6k | 13d ago | TypeScript | Claude Code · OpenAI API |
How does FollowAgents rate this agent?
Why each dimension lost points
least_privilege: SECURITY.md documents secret-proxy placeholders, workers never seeing real keys, an egress proxy with allowlist/blocklist, and agent turns running in a V8 isolate with no Node bindings or fetch — a solid least-privilege design; deducted because just-bash and isolated-vm are self-described as policy layers not security boundaries, and allowing interpreters in nixPackages equals code execution, so 2. user_confirmation: connector actions follow Auto/Ask/Block policies with an approval queue and device-pinned org_shared turns force approval, but default policy values and the concrete UI confirmation flow are not shown in the files, 2. data_flow_transparency: README and SECURITY describe the data path (connectors to event log to graph to agents, egress proxy) clearly, but the device-pinned connector bypass of gateway egress policy is stated only in prose without verifiable config, 2. sensitive_data_handling: ENCRYPTION_KEY provides at-rest encryption and secret-proxy isolates credentials, but the install-operator design reuses ENCRYPTION_KEY as a sign-in credential that may enter the browser DOM, widening the exposure surface, deducted to 2. dependency_security: only a sharp override and a pinned squawk version are visible; SECURITY.md itself notes isolated-vm is in maintenance mode with historical RCE (CVE-2022-39266) and no dependency audit/SBOM/lockfile policy evidence is present, 1. external_effects: connectors and Automations can post to Slack, open tickets, and start agent work — real external side effects; policy layers exist but no default dry-run or global kill-switch evidence, 1. rollback: design docs describe Slack dual-write to backfill to dual-read to drop with old rows kept for audit/rollback, but that is a plan rather than a delivered general rollback mechanism; the append-only log preserves history but there is no user-facing one-click rollback, 1. source_attribution: events carry provenance, entity links, and source attribution, and design docs stress derived artifacts inheriting ACLs with provenance tracking, though parts are marked Partial, 2.
self_consistency: README claims canary publishing requires CI and image checks plus a packed-CLI smoke test, but no CI config or test inventory is present in the files; SECURITY.md openly states earlier docs describing Kubernetes/gVisor/systemd isolation are no longer shipped, showing documentation drift, 1. dependency_availability: depends on bun, nix, Postgres+pgvector, optional Vercel Sandbox, and first-use downloads of runtime components and embedding weights; offline availability is not addressed, 1. failure_messages: docs mention mint failure, unknown webhooks, and stale-ACL fail-closed paths, but no concrete error messages or user-facing diagnostics are shown, 1.
audience_and_scenarios: README clearly separates personal vs company scope and three usage modes (MCP into existing agents, persistent specialists, CLI/SDK), covering a broad scenario range, 2. capability_boundaries: SECURITY.md states the single-tenant model, non-protection against sandbox escapes, just-bash not being a VM, and device-pinned connectors bypassing egress policy — honest boundary statements, 2. trigger_precision: Automations support manual, scheduled, connector-event, and chained triggers, but event-trigger precision, dedupe, and initial-sync baselines are only summarized without verifiable trigger definitions, 1. environment_fit: supports macOS app, Chrome extension, Docker, Kubernetes, and embedded Postgres, but the macOS bundle-identifier rename forces manual reinstall and re-granting permissions, a friction point, 2.
information_architecture: README is well structured (concepts, three usage modes, channels, deployment, security) and docs include SECURITY, DOCKER, AUTOMATIONS, 2. install_notes: provides npx connect, init/run/chat, ENCRYPTION_KEY generation, external Postgres with pgvector, and Docker notes — reasonably complete install guidance, 2. naming_stability: the project went through Owletto to Lobu renaming, bundle id changes, and slack_installations to app_installations migration; names and package identities have shifted repeatedly, 1. examples_and_faq: README has multiple copyable commands and SDK examples plus script-format notes, but no dedicated FAQ, 2. known_limitations: SECURITY.md has a dedicated what-we-do-not-protect section and design docs mark Partial/Shipped status, so limitations are disclosed well, 2. license: full Apache-2.0 text at repo root and a matching package.json license field, 3. versioning_changelog: package.json is at 24.7.0 and README describes canary/latest channels with commit-SHA versions, but there is no CHANGELOG file, 1. maintenance_responsibility: publisher is unverified; README only points to the founder and an X account with no maintainer list, governance, or support commitment, 1.
output_usability: MCP tools, SDK, and CLI outputs target agents and developers with runnable examples, but output formats and structure are not demonstrated in the files, 2. marginal_value: addresses cross-agent shared context and session amnesia, with a clear differentiation from direct MCP integrations and agent frameworks; the value proposition is concrete, 2. cost_benefit: requires self-hosted Postgres+pgvector, ENCRYPTION_KEY management, first-use downloads of runtime and embedding models, and is single-tenant; cost is high for small teams and benefit depends on connecting multiple sources, 1.
claim_traceability: README makes many capability claims pointing to external lobu.ai docs; the repo contains only SECURITY and design docs, with no code-level references or test evidence, 1. cross_source_corroboration: SECURITY.md and design docs corroborate each other on ACLs, credential proxying, and device-pinned connectors, but README marketing claims (86-second demo, multi-platform support) have no in-repo corroboration, 1. fact_inference_separation: design docs distinguish Status: Partial/Shipped/PLAN and carry design-history notices, separating fact from plan well; however README mixes planned and delivered capabilities without per-item labeling, 1.
- SECURITY.md itself states just-bash and isolated-vm are policy layers, not security boundaries, and that isolated-vm is in maintenance mode with historical RCE; run untrusted code only behind a deployment-layer VM/gVisor/Firecracker.
- The install-operator design reuses ENCRYPTION_KEY as a sign-in credential that may enter the browser DOM, password managers, and screenshots; an exposure window exists until passkey mitigations land.
- Device-pinned connectors (Lobu for Mac/iPhone) bypass the gateway egress allowlist/blocklist and receive credentials on the device; evaluate against that device's network trust model.
- The project is single-tenant by design and explicitly not recommended as a multi-tenant SaaS; review the documented gaps before sharing an instance.
- Publisher identity is unverified; README offers only founder contact and a social account with no maintainer list, governance, or support commitment — confirm maintenance activity before production adoption.
- Several capabilities (derived-artifact ACLs, generic installation list, per-connector ACL compilers) are marked Partial or PLAN in design docs, and README does not separate shipped from planned features.
- First run downloads runtime components and embedding model weights; verify availability in offline or restricted-network environments.
FAQ
Is Lobu open source?
Is Lobu safe to use?
Is Lobu still maintained?
Who makes Lobu?
What is Lobu's official website?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.