Skip to content
API Blog

SDKs

Lobu ships a handful of developer surfaces. Which one you reach for depends on whether you’re calling an agent from your own app or extending what an agent can see and do.

You want to…UseLanguage
Call agents from a TypeScript/Node app: create a session, stream the reply@lobu/clientTypeScript
Call agents from any language, a webhook, or a cron job over HTTPREST APIany (HTTP)
Feed external events (Slack, GitHub, a custom source) into an agent’s memoryConnectorsTypeScript
Run code after a watcher extracts data: notify, derive, mutateReactionsTypeScript
Give an OpenClaw / coding agent persistent Lobu memoryMemory pluginnpm + MCP
Run automated quality checks against an agentEvalspromptfoo

The split is client/REST vs connectors/reactions:

  • Client and REST API are the outside-in surface: your code on the outside, talking to a running agent over the wire. The client is the typed wrapper around the same HTTP endpoints the REST API exposes; use it from TypeScript, drop to raw HTTP from anything else.
  • Connectors and reactions are the inside-out surface: TypeScript you author into a Lobu project, compiled and run by the runtime. Connectors bring events in; reactions act on them after a watcher extracts. Both ship from @lobu/connector-sdk.
Terminal window
# Call agents from your own app
bun add @lobu/client
# Author connectors and reactions inside a Lobu project
bun add @lobu/connector-sdk

The REST API needs no install; it’s HTTP. The connector/reaction packages are authoring-time types; the runtime injects the live client at execution.