Skip to content

lobu-ai/lobu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1,098 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Lobu - Multi-tenant OpenClaw for Organizations

Lobu is an open-source multi-tenant gateway for OpenClaw. One sandbox and filesystem per user/channel. Shared memory across contexts. Agents never see secrets.

OpenClaw is an incredible agent runtime (800k LOC) but it's single-tenant by design. Every user shares the same filesystem and bash session. Lobu rewrites only the gateway layer (~40k LOC) to be multi-tenant and keeps OpenClaw's Pi agent harness untouched inside each worker.

Embedded mode uses just-bash (virtual bash) + Nix for reproducible packages. Each user gets an isolated virtual filesystem and bash session at ~50MB memory footprint. We've tested 300 concurrent instances on a single machine. No Docker needed.

Embed OpenClaw-powered agents into your product, or give your team powerful agents without managing separate instances for everyone.

demo-readme.mp4

Channels & API

REST API β€” Programmatic agent creation, control, and state management.

API Docs

Slack β€” Multi-channel/DM agents with rich interactivity.

Telegram β€” Long-polling bot integration with interactive agent workflows.

WhatsApp β€” WhatsApp Business Cloud API integration.

Discord β€” Bot integration with channel and DM support.

Teams β€” Microsoft Teams bot integration.

Quick Start

Self-host in under a minute

The quickest way to start is the CLI scaffold:

npx @lobu/cli@latest init my-bot
cd my-bot && npx @lobu/cli@latest run -d

Deployment modes

  • Docker Compose β€” docker compose up (One-click, production single-machine)
  • Kubernetes β€” Install via OCI Helm chart (no clone needed):
helm install lobu oci://ghcr.io/lobu-ai/charts/lobu \
  --namespace lobu \
  --create-namespace
  • Local Development β€” For contributing to Lobu itself:
    1. Clone this repo
    2. make setup
    3. make dev (Uses Docker Compose Watch for hot-reloading)

Architecture

flowchart LR
  Slack[Slack] <--> GW[Gateway]
  Telegram[Telegram] <--> GW
  WhatsApp[WhatsApp] <--> GW
  Discord[Discord] <--> GW
  API[REST API] <--> GW

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

  subgraph Sandbox
    W
  end

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

Capabilities

Every Lobu agent comes equipped with a suite of tools for autonomous execution and persistence:

Feature Description Built-in Tools
Autonomous Scheduling Schedule one-time or recurring execution via cron. ScheduleReminder, ListReminders, CancelReminder
Human-in-the-Loop Pause for user input via buttons and resume when answered. AskUserQuestion
Full Linux Toolbox Sandboxed shell access, file editing, and advanced search. bash, read, write, edit, grep, find, ls
Conversation Context Pull earlier thread messages when the user references prior work. GetChannelHistory
File & Media Delivery Share reports, charts, or generated voice messages. UploadUserFile, GenerateAudio
Skills Extend agent capabilities via skills configured in lobu.toml or the admin settings page. lobu.toml, Settings UI
Connected APIs Access third-party APIs (GitHub, Google, etc.) through Owletto MCP tools with managed OAuth. MCP tools via Owletto
Managed MCP Proxy Securely connect to any MCP server with secret injection. MCP Proxy
Advanced Capabilities Extend agent abilities with web browsing, headless UI interaction, and specialized utilities via Nix packages or external MCP servers. bash (Nix), MCP servers

Popular MCP Integrations

Workers access third-party APIs through MCP servers. OAuth and credential management is handled by Owletto:

  • Productivity: Google Calendar, Slack, Jira, Notion
  • Development: GitHub, GitLab, Postgres, Docker
  • Knowledge: Wikipedia, Brave Search, YouTube, PDF Search

Gateway as single egress. All worker traffic β€” internet and MCP β€” routes through the gateway. Workers have no direct network access. Domain filtering controls which external services workers can reach.

MCP Proxy. Workers call MCP tools via the gateway. The gateway resolves ${env:VAR} secrets and routes to upstream MCP servers. OAuth credentials for third-party APIs are managed by Owletto β€” workers never see tokens directly.

Multi-platform, multi-tenant. One bot instance serves Slack, Telegram, WhatsApp, Discord, Teams, and REST API. Each channel/DM gets its own isolated runtime, model, tools, credentials, and Nix packages.

OpenClaw runtime. Workers run OpenClaw Pi Agent, with per-agent model selection via the settings page. Supports OpenClaw skills, IDENTITY.md, SOUL.md, and USER.md workspace files.

Multi-provider auth. 16 LLM providers (OpenAI, Gemini, Groq, DeepSeek, Mistral, etc.) via config-driven provider registry. API keys resolved at the gateway β€” workers never see credentials.

How Lobu Differs

Lobu is the infrastructure layer for autonomous agents. Unlike frameworks (LangChain, CrewAI) that help you write agent logic, Lobu is the delivery mechanism that runs those agents at scale β€” handling the sandboxing, persistence, and messaging connectivity.

Lobu OpenClaw
Scale to zero Workers scale down when idle Requires always-on computer
Multi-tenant Single bot, per-channel/DM isolation One instance per setup
Multi-platform Slack, Telegram, WhatsApp, Discord, Teams, REST API 15+ chat platforms
Runtime OpenClaw engine (sandboxed/proxied) Native OpenClaw runtime
User onboarding Configure page with OAuth login per provider CLI setup required
MCP access Proxied through gateway, secrets isolated Direct from agent
Network isolation Workers sandboxed, domain-filtered egress No built-in isolation
Deployment K8s, Docker Single node

Security and Privacy

Support & Consultancy

Lobu is designed for high-stakes, persistent agents. While the platform is open-source, the true value of an agent lies in its soul, identity, and integration.

If you want to deploy agents for your organization but need expert implementation and infrastructure maintenance, I provide end-to-end support for:

  • Employee AI Assistants β€” Deploy persistent, sandboxed agents across Slack that have access to your internal tools and documentation.
  • Automated Customer Support β€” Build agents that handle complex, multi-step support tickets autonomously while keeping a human in the loop.
  • Autonomous Workflows β€” Use Lobu to automate background tasks that require persistent state, long-running execution, and scheduled cron jobs.
  • Infrastructure Maintenance β€” Let me manage your private Lobu deployment on your own Kubernetes cluster, ensuring 99.9% uptime, security updates, and automated scaling.
  • Custom Tooling & Skills β€” I build specialized MCP servers, Nix-powered runtimes, and OpenClaw skills tailored to your business needs.

Expert Implementation. I'm a second-time technical founder. Previously, I founded rakam.io, an enterprise analytics PaaS acquired by LiveRamp (NYSE: RAMP). I help organizations move beyond chatbots by building the secure, scalable infrastructure required for production-grade autonomous agents.

Tip

Interested in launching persistent agents for your team or customers? I'm happy to help you architect a reliable deployment for your specific use case. πŸ—“οΈ Talk to Founder or reach out on X/Twitter.

About

Add autonomous agents to your product. Multi-tenant OpenClaw 🦞

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors