Skip to content
API Blog

Getting Started

Lobu is the open-source backend for organizational agents. One agent definition serves team chat, the web app, and your own application — with shared memory, permissions, and automations across every surface.

The fastest way to try Lobu is to install its skill into a coding agent you already use. The skill teaches Claude Code, Cursor, Codex, OpenCode, or OpenClaw how to scaffold and drive a Lobu project.

Terminal window
npx skills add lobu-ai/lobu --skill lobu

That adds a Lobu skill your assistant can invoke — it knows the project layout, config API, connectors, memory, automations, and evals. See Skills.

You’ll usually develop through that agent: it scaffolds the project, then edits config, skills, connectors, memory, and automations as you ask. Nothing it does stays hidden — every change is a file in your project you can open and inspect, and you can run the app locally (or in Docker) whenever you want to see it live.

Install the CLI for an interactive project, or self-host the whole app in a container.

1. Install the CLI

# Run directly — no install
npx @lobu/cli@latest <command>

# Or install globally
npm install -g @lobu/cli

See the CLI reference.

2. Scaffold and run a project

npx @lobu/cli@latest init my-agent
cd my-agent
npx @lobu/cli@latest run

init writes lobu.config.ts with the agent defined and scaffolds agents/my-agent/. run boots the gateway on http://localhost:8787, signs you into a local context, and provisions the agent.

3. Talk to it

npx @lobu/cli@latest chat "Hello, what can you do?"

chat resolves my-agent from the config and talks to the local gateway. Run init and run first — chat on its own fails with "No agent specified".

Connectors bring events in, memory keeps durable context, and agents and automations read and act — replies and actions become new events, closing the loop. Concepts →