Skip to main content
ClaudeWave

Open-source control plane and runtime for organisational agents: shared company context, isolated execution, approvals and MCP.

MCP ServersOfficial Registry197 stars25 forksTypeScriptApache-2.0Updated today
Install in Claude Code / Claude Desktop
Method: NPX · @lobu/cli
Claude Code CLI
claude mcp add lobu -- npx -y @lobu/cli
claude_desktop_config.json (Claude Desktop)
{
  "mcpServers": {
    "lobu": {
      "command": "npx",
      "args": ["-y", "@lobu/cli"]
    }
  }
}
1. Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
2. Replace any <placeholder> values with your API keys or paths.
3. Restart Claude. The MCP server and its tools appear automatically.
Use cases

MCP Servers overview

# Lobu — Open-source backend for AI teammates

**Lobu** is open-source infrastructure for autonomous agents that **watch**, **remember**, and **act** where your team already works. Connect company tools, build living memory, and let agents run on schedules, in Slack threads, or over MCP — with sandboxed execution per user or channel and credentials agents never see.

Under the hood, workers run Lobu's Pi-based agent loop (bash, files, MCP tools, skills) inside an isolated sandbox per conversation. One Node process serves many agents and channels; shared memory and connectors live in Postgres (pgvector). Embed agents in your product, or give your team their own without running a separate instance per person.

https://github.com/user-attachments/assets/d72a9286-0325-4b8b-afc0-c1efe9c96f4e

## Three ways in

Lobu is not a harness you have to build on. It is the data layer your agents
work against — a durable event log and a typed ontology over your org's tools.
Bring your own agent and reach it over MCP, the CLI, or the TypeScript SDK; or
run Lobu's own agents on top. The same org-scoped graph backs all of them.

### 1. Full agent — Slack, Telegram, behaviors, connectors

Scaffold and run locally with the CLI. Lobu boots as a single Node process with zero-config embedded Postgres by default (or bring your own — pgvector required — via `DATABASE_URL`). `lobu run` opens the web UI on `:8787` and can wire Slack via the hosted bot or your own app.

```bash
npx @lobu/cli@latest init my-bot
cd my-bot
npx @lobu/cli@latest run                      # boots the stack and applies your agent
npx @lobu/cli@latest chat -c local "hello"    # talk to it
```

`lobu run` auto-applies your `lobu.config.ts`, so the scaffolded agent is usable immediately. To use an external Postgres, set `DATABASE_URL` in `.env`; to push later config changes, run `lobu apply`.

Next steps: [Getting started](https://lobu.ai/getting-started/) (project layout, develop with your coding agent, evals) · [Memory](https://lobu.ai/getting-started/memory/) · [Skills](https://lobu.ai/getting-started/skills/) · [Channels](#channels)

### 2. Bring your own agent — memory over MCP

Point any MCP client at Lobu and it gets durable, structured memory — the same
graph your Lobu agents read. No `lobu.config.ts` or local Lobu agent runtime is
required.

```bash
claude mcp add --transport http lobu https://lobu.ai/mcp   # or http://localhost:8787/mcp locally
```

Complete the OAuth flow when prompted, then enable the connector. Pair it with a project instruction or skill that tells the agent when to search memory and when to save what it learned.

`lobu memory init` can detect and configure **Claude Code**, **Codex**,
**Gemini CLI**, and **Cursor**, and provides manual setup instructions for
**Claude Desktop** and **ChatGPT**. It accepts a Lobu Cloud, local, or custom
MCP endpoint. Setup guides:
[Claude](https://lobu.ai/connect-from/claude/) ·
[ChatGPT](https://lobu.ai/connect-from/chatgpt/).

### 3. Your own code — CLI and TypeScript SDK

The data layer is reachable without an agent at all. From the terminal:

```bash
npx @lobu/cli@latest memory run                     # list the memory tools
npx @lobu/cli@latest memory run search_memory '{"query":"onboarding"}'
npx @lobu/cli@latest memory exec \
  'export default async (_ctx, client) => client.entities.list({ limit: 5 })'
```

Or from any Node/TypeScript program, with no sandbox in the loop:

```ts
import { client, searchMemory } from "@lobu/client";

// Defaults to http://localhost:8787 — point it at your instance and add a token.
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 and typed SDK operations share the server-side tool registry, while the
CLI dispatches those same MCP operations by name.

## Architecture

```mermaid
flowchart LR
  Slack[Slack] <--> GW[Gateway]
  Telegram[Telegram] <--> GW
  WhatsApp[WhatsApp] <--> GW
  Discord[Discord] <--> GW
  API[REST API] <--> GW
  MCP[MCP clients] <--> GW

  GW <--> PG[(Postgres)]
  GW -->|spawn| W[Worker]

  subgraph Sandbox
    W
  end

  W -.->|HTTP proxy| GW
  W -.->|MCP proxy| GW
  GW -->|domain filter| Internet((Internet))
  GW -->|scoped tokens| ExtMCP[MCP Servers]
```

## Capabilities

Most agent stacks treat MCP as the memory: every turn, the agent calls GitHub, Slack, and CRM tools to reconstruct what happened. That knowledge stays siloed in the session and disappears when the chat ends.

Lobu runs a **data pipeline** instead. Connectors poll and webhooks push into one durable, append-only event log. Behaviors and chat agents read the same org-scoped knowledge graph — typed entities, relationships, searchable events — so anyone can resume where the organization left off, not where one conversation left off.

### Memory — ingest, entities, behaviors

**Ingest.** [Connectors](https://lobu.ai/sdks/connectors/) pull on a schedule; webhooks and the [REST API](https://lobu.ai/sdks/rest-api/) push. Stripe charges, GitHub PRs, form submissions, and connector polls all land as rows in the same log — a stable record of what happened in the world, not something the agent has to re-fetch through MCP every turn.

**Entities.** You define the schema (`Company`, `Project`, `Incident`, …) in `lobu.config.ts`. Events attach to entity instances (`Company:Acme`) and build a live knowledge graph the whole org shares. Corrections supersede old facts; nothing is deleted, so provenance and time-travel stay intact.

**Behaviors.** Standing goals on a cron or tight interval: read new rows in the log (including webhook-fed events like `pull_request.opened`), extract structured memory onto dynamic entities, and optionally run a [reaction](https://lobu.ai/sdks/reactions/) to notify Slack, open a ticket, or kick off agent work — while nobody is in chat.

Docs: [Memory](https://lobu.ai/getting-started/memory/) · [Connectors](https://lobu.ai/sdks/connectors/) · [Reactions](https://lobu.ai/sdks/reactions/)

### Agents — read the graph, branch to act

Chat agents **look up** what the pipeline already captured — search entities, read the event log, pull thread history — then **branch** into an isolated sandbox ([just-bash](https://www.npmjs.com/package/just-bash) + Nix) to run bash, edit files, and call MCP tools for side effects. MCP is for *doing*; the knowledge graph is for *knowing*. Pick any of [16 LLM providers](https://lobu.ai/reference/providers/); credentials stay on the gateway.

Behavior comes from a **role file model** — `IDENTITY.md` (who), `SOUL.md` (rules), `USER.md` (context). **Guardrails** gate input, output, and tool calls (`secret-scan`, `pii-scan`, inline LLM judges) so policy holds even when the prompt doesn't. Destructive MCP calls wait for in-thread approval; every action writes back to the log.

Docs: [Agent workspace](https://lobu.ai/guides/agent-prompts/) · [Guardrails](https://lobu.ai/guides/guardrails/) · [Security](https://lobu.ai/guides/security/)

### Channels

One instance serves **Slack, Telegram, WhatsApp, Discord, Teams, Google Chat**, and a [REST API](https://lobu.ai/reference/api-reference/) [![API Docs](https://img.shields.io/badge/API_Docs-0096FF?style=for-the-badge&logo=readme&logoColor=white)](https://lobu.ai/reference/api-reference/). Each channel/DM gets its own runtime, model, tools, credentials, and Nix packages. Platform setup: [Slack](https://lobu.ai/platforms/slack/) · [Telegram](https://lobu.ai/platforms/telegram/) · [Discord](https://lobu.ai/platforms/discord/) · [WhatsApp](https://lobu.ai/platforms/whatsapp/) · [Teams](https://lobu.ai/platforms/teams/) · [Google Chat](https://lobu.ai/platforms/google-chat/).

## How Lobu Differs

Lobu is the **infrastructure layer** for autonomous agents. Frameworks like LangChain or CrewAI help you *write* agent logic; Lobu is the delivery layer that runs those agents at scale — sandboxing, persistence, and messaging connectivity.

**vs OpenClaw:** OpenClaw is [single-tenant by design](https://x.com/steipete/status/2026092642623201379) — every user shares the same filesystem and bash session. Lobu keeps the same autonomous loop but runs it **multi-tenant**: one gateway, an isolated sandbox per channel or DM, and org-scoped memory your whole team can share. Full write-up: [lobu.ai/getting-started/comparison](https://lobu.ai/getting-started/comparison/).

| | Lobu | Claude Tag | OpenClaw |
| --- | --- | --- | --- |
| Tenancy | Multi-tenant — per-channel/DM isolation | Per-channel @Claude | Single-tenant — one shared runtime |
| Open source / self-host | Yes | No | Yes |
| Model choice | 16 providers | Claude only | Per setup |
| Multi-platform | Slack, Telegram, WhatsApp, Discord, Teams, Google Chat, REST API, MCP | Slack (beta) | [15+ chat platforms](https://openclaw.ai/integrations) |
| Custom connectors / behaviors | Yes (`lobu.config.ts`) | Admin-provisioned tools | Skills + local setup |
| Secrets & network | Gateway proxy, domain-filtered egress | Managed | Direct from agent, no built-in isolation |

## Agent configuration

Runtime configuration is managed through the web app or the same org-scoped REST API used by the CLI. See the [CLI reference](https://lobu.ai/reference/cli/) and [`lobu apply`](https://lobu.ai/reference/lobu-apply/).

```bash
npx @lobu/cli@latest login
npx @lobu/cli@latest org set my-org
npx @lobu/cli@latest agent list
```

Local `lobu.config.ts` projects are still useful for `lobu validate` and `lobu apply` workflows.

## Deployment

The quick start above is the fastest path. For production self-hosting, see the [deployment docs](https://lobu.ai/deployment/docker/): [Docker](https://lobu.ai/deployment/docker/) · [Cloud](https://lobu.ai/deployment/cloud/) · [Kubernetes](https://lobu.ai/deployment/kubernetes/).

## Security and Privacy

Secrets, egress policy, 
agentagent-infrastructureagent-memoryai-agentschatbotclawdbotevent-sourcingknowledge-graphmcpmodel-context-protocolmulti-agentopenclawpersonal-assistantself-hostedslack-bottypescript

What people ask about lobu

What is lobu-ai/lobu?

+

lobu-ai/lobu is mcp servers for the Claude AI ecosystem. Open-source control plane and runtime for organisational agents: shared company context, isolated execution, approvals and MCP. It has 197 GitHub stars and was last updated today.

How do I install lobu?

+

You can install lobu by cloning the repository (https://github.com/lobu-ai/lobu) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.

Is lobu-ai/lobu safe to use?

+

lobu-ai/lobu has not been audited yet by our security agent. Review the original repository on GitHub before using it in production.

Who maintains lobu-ai/lobu?

+

lobu-ai/lobu is maintained by lobu-ai. The last recorded GitHub activity is from today, with 24 open issues.

Are there alternatives to lobu?

+

Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.

Deploy lobu to your cloud

Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.

Maintain this repo? Add a badge to your README

Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.

Featured on ClaudeWave: lobu-ai/lobu
[![Featured on ClaudeWave](https://claudewave.com/api/badge/lobu-ai-lobu)](https://claudewave.com/repo/lobu-ai-lobu)
<a href="https://claudewave.com/repo/lobu-ai-lobu"><img src="https://claudewave.com/api/badge/lobu-ai-lobu" alt="Featured on ClaudeWave: lobu-ai/lobu" width="320" height="64" /></a>

More MCP Servers

lobu alternatives