Skip to content
API Blog

Lobu Memory CLI Reference

Lobu memory commands live under lobu memory. Authentication is shared with the rest of the CLI: run lobu login once, then memory commands reuse that session.

  • Hosted: app.lobu.ai
  • Default MCP endpoint: https://lobu.ai/mcp
Terminal window
# Run without installing
npx @lobu/cli@latest <command>
# Or install globally
npm install -g @lobu/cli
lobu <command>
# Authenticate once for all Lobu CLI commands
lobu login

Use lobu token --raw when another local tool needs a bearer token command.

lobu run is the only local boot path. There is no separate memory runtime command.

Terminal window
lobu run

Configures local MCP-capable clients to use a Lobu memory MCP endpoint.

Terminal window
lobu memory init
lobu memory init --url http://localhost:8787/mcp

The wizard detects supported clients and auto-configures them when possible. Browser-managed clients fall back to manual setup instructions.

Writes OpenClaw plugin config for @lobu/owletto-openclaw. The generated plugin config uses lobu token --raw, so it reuses top-level lobu login authentication.

Terminal window
openclaw plugins install owletto-openclaw-plugin
lobu login
lobu memory configure --url https://lobu.ai/mcp --org my-org
lobu memory health --url https://lobu.ai/mcp --org my-org

Checks that the current Lobu login can authenticate to the MCP endpoint and list available tools.

Terminal window
lobu memory health
lobu memory health --org my-org
lobu doctor --memory-only

Stores the default memory organization for commands that need an org-scoped MCP URL.

Terminal window
lobu memory org current
lobu memory org set my-org

You can also override per-command with:

  • --org <slug>
  • --url <mcp-url>
  • LOBU_MEMORY_ORG
  • LOBU_MEMORY_URL

Lists tools when called without arguments, or executes a tool when given a tool name and JSON params.

Terminal window
# List available tools
lobu memory run --org my-org
# Search knowledge
lobu memory run search_knowledge '{"query":"Acme"}' --org my-org
# Save new knowledge
lobu memory run save_knowledge '{"content":"Prefers weekly summaries","semantic_type":"preference","metadata":{}}' --org my-org
# Discover SDK methods
lobu memory run search '{"query":"watchers.create"}' --org my-org
# Run a TypeScript script over the typed client SDK
lobu memory run execute '{"script":"export default async (ctx, client) => client.entities.list({ entity_type: \"company\", limit: 5 })"}' --org my-org

Provisions a memory workspace from [memory.owletto] in lobu.toml, ./models, and optional ./data.

Terminal window
lobu memory seed
lobu memory seed --dry-run
lobu memory seed --org my-org --url https://lobu.ai/mcp

Captures browser cookie state for connectors that rely on a real browser session.

Terminal window
lobu memory browser-auth --connector x --auth-profile-slug my-profile
lobu memory browser-auth --connector x --auth-profile-slug my-profile --check

Useful flags:

  • --chrome-profile <name> chooses a local Chrome profile
  • --launch-cdp launches a dedicated remote-debugging Chrome profile
  • --dedicated-profile <name> names the dedicated profile

The old standalone Owletto starter skills are folded into the bundled Lobu starter skill:

Terminal window
lobu skills add lobu

Local skills are still discovered from skills/<id>/SKILL.md and agents/<agent-id>/skills/<id>/SKILL.md.