Skip to content
API Blog

Comparison

Lobu is multi-tenant agent infrastructure. It handles sandboxing, persistence, platform delivery, and network isolation so you can ship agents to your users without building that plumbing yourself.

This page compares Lobu against alternatives for deploying agents to production.

LobuOpenClaw (direct)DeepAgents DeployClaude Managed Agents
What it isSelf-hosted multi-tenant gatewaySingle-user agent runtimeHosted agent deployment (LangSmith)Hosted managed agents
Multi-tenantPer-user/channel isolationSingle userPer-thread sandboxPer-conversation
PlatformsSlack, Telegram, WhatsApp, Discord, Teams, Google Chat, REST APICLI and APIAPI endpoints (MCP, A2A, Agent Protocol)API
EmbeddableMount inside Next.js, Express, Hono, FastifyNoNoNo
Self-hostedSingle Node process (BYO Postgres)Single processLangSmith hosted (self-host option)Cloud only
Model supportAny provider via configAny providerAny LangChain-compatible providerAnthropic only
RuntimeOpenClawOpenClawLangGraphClaude
Network isolationGateway-mediated egress, domain filteringHost networkSandbox-levelPlatform-managed
Secrets handlingGateway proxy, workers never see credentialsDirect env varsEnvironment variablesPlatform-managed
MCP supportProxied through gateway with secret injectionDirectHTTP/SSE onlyYes
Agent Protocol / A2ANot yetNoYesNo
Built-in evalsYAML eval framework with model comparisonNoNoNo
MemorySelf-hosted Owletto pluginLocalLangSmith APIsPlatform-managed
Scale-to-zeroBuilt-in idle timeoutAlways runningManaged by LangSmithManaged
Config formatlobu.toml + IDENTITY/SOUL/USER.mdCLI flagsdeepagents.toml + AGENTS.mdDashboard
LicenseOpen sourceOpen sourceMIT (harness), proprietary (hosting)Proprietary

Lobu’s bundled memory system is benchmarked against Mem0 and Supermemory on public datasets. Same answerer (glm-5.1 via z.ai), same top-K, same questions.

Single-session knowledge retention.

SystemOverallAnswerRetrievalLatency
Lobu87.1%78.0%100.0%237ms
Supermemory69.1%56.0%96.6%702ms
Mem065.7%54.0%85.3%753ms

Multi-session conversational memory.

SystemOverallAnswerRetrievalLatency
Lobu57.8%38.0%79.5%121ms
Mem041.5%28.0%66.9%606ms
Supermemory23.2%14.0%36.5%532ms

See the memory benchmarks methodology for fairness guardrails and reproduction steps.

Lobu runs as a single Node process. Each user/channel gets its own worker subprocess that the gateway spawns on demand.

Uses just-bash (virtual bash) + Nix for reproducible packages. Each user gets an isolated virtual filesystem and bash session at ~50MB memory footprint. Tested at 300 concurrent instances on a single machine.

  • Subprocess boundary per userchild_process.spawn per session; SIGKILL recoverable.
  • Workspace persistence./workspaces/{agentId}/ survives gateway restarts.
  • Egress through gateway proxy — workers run with HTTP_PROXY=http://localhost:8118; allowlist/blocklist + LLM egress judge enforced at the proxy.
  • Linux production hardening — when systemd-run is available, the worker spawn becomes a transient unit with MemoryMax, CPUQuota, IPAddressDeny=any (kernel-level egress), capability drops, and NoNewPrivileges. macOS dev hosts fall back to plain spawn.
LobuE2BDeepAgents Deploy
IsolationSubprocess + just-bash + isolated-vm + (Linux) systemd-runFirecracker microVMDaytona/Modal/Runloop
Self-hostedYes (single Node process)Cloud APILangSmith hosted
Network controlGateway proxy + domain filtering + IPAddressDeny on LinuxSandbox-levelSandbox-level
Startup timeInstant (in-process gateway, subprocess workers)<200msVaries by provider
PersistenceDirectory per agent24hr maxThread-scoped, resets on restart
Per-user isolationYes (per-channel/DM subprocess)Per-sandboxPer-thread

Workers call MCP tools through the gateway. The gateway resolves ${env:VAR} secrets and injects OAuth tokens before forwarding to the upstream MCP server. Workers never see credentials — they receive opaque proxy URLs.

LobuDeepAgents DeployClaude Managed AgentsDirect MCP
Secret injectionGateway proxy resolves at request timeEnvironment variablesPlatform-managedDirect env vars
OAuth managementLobu handles token refreshManualPlatform-managedManual
Transport supportHTTP, SSE, stdio (proxied)HTTP/SSE only (no stdio)YesAll
Worker sees credentialsNeverYes (env vars)N/AYes
Audit trailGateway logs all MCP callsNoNoNo

For compliance-bound deployments, agent code never touches API keys or OAuth tokens — even if the agent is compromised.

Hosted platforms (DeepAgents Deploy, Claude Managed Agents) require sending your data, prompts, and agent memory to a third party. For regulated industries (finance, healthcare, government) or organizations with data residency requirements, this is a non-starter.

Lobu runs entirely on your infrastructure:

  • Data stays in your network — Postgres, workspaces, and memory are all self-hosted
  • No external dependencies — the gateway, workers, and MCP proxy run on your machines
  • Network-level isolation — workers use gateway-mediated egress, with kernel-level loopback-only enforcement on Linux production hosts
  • Credential separation — secrets never leave the gateway process
  • Audit everything — gateway logs all LLM calls, MCP tool invocations, and network requests
  • Air-gapped compatible — with local LLM providers (Ollama, vLLM), Lobu can run fully disconnected

Lobu is the right choice when you need to give multiple users their own agents:

  • SaaS products — embed agents in your app where each user gets isolated persistence, tools, and context.
  • Internal teams — deploy a single bot to Slack or Teams where every employee gets their own sandboxed agent.
  • Customer support — agents that handle tickets autonomously with human-in-the-loop approval gates.
  • Managed agent services — operate agents for clients with per-tenant isolation and network controls.

If you need a single personal agent for yourself, use OpenClaw directly.

Lobu and OpenClaw are complementary. OpenClaw is the agent runtime — the execution engine that runs tools, manages sessions, and talks to LLM providers. Lobu is the infrastructure layer that deploys, isolates, and delivers that runtime to multiple users.

OpenClaw (~800k LOC) was designed as a single-tenant, single-user system. Production deployments need multi-tenant isolation, platform routing, credential separation, network control, and scale-to-zero — concerns OpenClaw doesn’t have opinions about.

CapabilityLobuOpenClaw
ArchitectureMulti-tenant gateway + isolated workersSingle-tenant, single-user
Platform deliverySlack, Telegram, WhatsApp, Discord, Teams, Google Chat, REST APICLI and API
Worker isolationSubprocess + just-bash + (Linux) systemd-run hardeningRuns on host
Secret handlingGateway proxy injects credentialsDirect env vars
Egress controlDomain allowlists via HTTP proxyHost network
Scale-to-zeroBuilt-in idle timeout and wakeAlways running
DeploymentSingle Node process (BYO Postgres)Single process

Inside each Lobu worker, the full OpenClaw runtime runs untouched. Lobu rewrites only the gateway layer (~40k LOC) to be multi-tenant.

DeepAgents Deploy (LangChain) deploys a single agent to a hosted LangSmith server with 30+ API endpoints.

Where they overlap: both use a TOML config file, support MCP, and offer model-agnostic provider selection.

Where they differ:

LobuDeepAgents Deploy
HostingSelf-hosted (you own the infra)Hosted on LangSmith
Multi-tenantPer-user sandboxed workersPer-thread sandbox
Platform deliveryNative Slack/Telegram/WhatsApp/Discord/Teams/Google ChatAPI endpoints only
EmbeddableYes — mount in Node.js frameworksNo
Network isolationGateway-mediated domain filteringSandbox-level
ProtocolsMCPMCP, A2A, Agent Protocol
EvalsBuilt-in YAML frameworkNot included
Memory ownershipFully self-hosted (Owletto)LangSmith APIs (self-host option)
RuntimeOpenClawLangGraph

Choose DeepAgents Deploy if you want zero-ops hosted deployment and need A2A multi-agent orchestration.

Choose Lobu if you need multi-tenant isolation for your users, platform-native messaging, embeddability in your app, or full infrastructure control.

Claude Managed Agents is Anthropic’s hosted agent platform.

LobuClaude Managed Agents
Model supportAny providerAnthropic only
Self-hostedYesCloud only
Open sourceYesProprietary
Platform deliverySlack, Telegram, WhatsApp, Discord, Teams, Google ChatAPI
EmbeddableYesNo
Network isolationDomain-filtered egressPlatform-managed
EvalsBuilt-inNot included

Choose Claude Managed Agents if you’re committed to Anthropic models and want a fully managed experience.

Choose Lobu if you need model flexibility, self-hosting, platform delivery, or the ability to embed agents in your product.

What “we’ll build it ourselves” entails:

  • Sandboxing: per-user worker lifecycle with workspace persistence
  • Platform adapters: Slack Events API, Telegram long-polling, WhatsApp webhooks, each with their own auth flows
  • Credential isolation: proxy layer that injects secrets without exposing them to agent code
  • Network policy: domain-filtered egress through a gateway proxy
  • MCP proxy: secret injection, OAuth token refresh, and routing for MCP servers
  • Scale-to-zero: idle detection, teardown, and wake-on-message
  • Eval framework: automated quality testing across models
  • Admin UI: per-agent configuration, connection management, status monitoring

Lobu handles all of this out of the box. The gateway is ~40k lines of TypeScript that took months to build and harden.