Repolode
lobu-ai

lobu-ai/lobu

Open-source, event-sourced context layer that gives AI agents a shared, permission-aware model of your tools, data and organisation.

Open-source alternative to:Glean

Stars
228
Forks
31
Open issues
64
Last commit
3 hours ago

What is it?

Lobu collects events from connected tools, data sources, webhooks and APIs into one append-only log, then links them to entities such as people, projects, customers and companies. Agents can query this live model instead of re-fetching data or losing context when a session ends.

Agents like Claude Code, Codex, ChatGPT and Cursor connect to Lobu over MCP and read or write the same permission-aware history. Teams can also run persistent Lobu specialists with their own instructions, tools and conversation history, which other authorized agents and people can reach through Slack, Telegram, Teams, the web app or a REST API.

Identity, source permissions, approvals and credential handling stay on the Lobu server, and the project can be run locally with an embedded Postgres or self-hosted with external Postgres via Docker or Kubernetes.

Key features

  • 01Ingests polls, webhooks, APIs and custom connectors into one append-only event log.
  • 02Links events to typed entities such as companies, projects, incidents and customers.
  • 03Exposes shared memory and tools to MCP clients including Claude Code, Codex and ChatGPT.
  • 04Runs persistent specialist agents that can be reached from chat channels or other agents.
  • 05Keeps permissions, approval policies and credential brokering on the server side.
  • 06Provides a CLI and TypeScript SDK for querying memory and entities.

Use cases

  • Giving several coding or chat agents a shared view of company decisions and recent project activity.
  • Running a persistent customer-research or support-triage specialist that teams reach from Slack.
  • Triggering background automations when a connected source emits a matching event.
  • Self-hosting an organisation's context layer with its own Postgres and access controls.

Quick start

  1. 1

    Connect Lobu to Claude Code with the CLI

    npx @lobu/cli@latest connect claude-code
  2. 2

    Complete OAuth when prompted, then connect the sources you want to share

  3. 3

    Ask your agent to use Lobu when it needs shared context

Things to know

  • Running the full local stack needs an external Postgres with pgvector, or the embedded default, and a managed ENCRYPTION_KEY that must stay the same across restarts.
  • The canary CLI downloads runtime components on first use, and local embedding model weights can also download on first use.
  • Shared context depends on connecting and authorizing your sources, and the Mac app upgrade path has bundle-identifier caveats.

Topics

FAQ

What is lobu?
Open-source, event-sourced context layer that gives AI agents a shared, permission-aware model of your tools, data and organisation. Lobu collects events from connected tools, data sources, webhooks and APIs into one append-only log, then links them to entities such as people, projects, customers and companies. Agents can query this live model instead of re-fetching data or losing context when a session ends.
Is lobu free to use? What license does it have?
lobu is open source under the Apache-2.0 license. Check the license terms before using it in commercial products.
Is lobu still maintained?
Actively maintained. The last commit to lobu was on Oct 22, 2026.
What can I use lobu for?
Giving several coding or chat agents a shared view of company decisions and recent project activity. Running a persistent customer-research or support-triage specialist that teams reach from Slack. Triggering background automations when a connected source emits a matching event. Self-hosting an organisation's context layer with its own Postgres and access controls.
How do I install lobu?
Connect Lobu to Claude Code with the CLI: npx @lobu/cli@latest connect claude-code Complete OAuth when prompted, then connect the sources you want to share Ask your agent to use Lobu when it needs shared context
Where can I get lobu?
The source code and installation instructions are on GitHub: https://github.com/lobu-ai/lobu

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects