Build AI teammates that watch and act

Open-source infrastructure for AI teammates that watch, remember, and act. Connectors and webhooks build a live org knowledge graph; agents look it up and branch into a sandbox to do work.

Paste into your coding agent to scaffold a project.

Or start it yourself:

1

Connect your data

Pick the systems it can read. Lobu turns those updates into live customer memory.

DocuSignGoogle DriveGmailJira50+ more
Reuse a prebuilt connector, or point Lobu at any database you use.
Your agent writes code to parse contracts and clauses.
1,860 eventsConnector SDK
2

Define the goal

Tell it what to watch for and when to ask before acting.

“Review new contracts for risk, flag clauses that need counsel approval, and file a review ticket.”

Runs unattended · files to #legal-reviews.Watchers
3

Lobu works autonomously

It scans memory on schedule, spots the account at risk, and keeps the evidence attached.

Live contract memory · 26 contractscontract
Redwood NDA v2
Counterparty · Redwood
counsel review
clauses 9 · §7 flaggedstage pre-signature
Derived from recent events:
Uploaded NDA v2 for signature review
2h ago · Redwood
Updated indemnity language in §7
2h ago · DocuSign
Lena needs a readout before the call
1h ago · Slack
Acme MSAclear
Globex DPAclear
+ 24 more contractsMemory & entities
4

You review and approve

You can edit the draft, send it, or leave it.

L
Legal agent
online
Heads up: Redwood NDA §7 has uncapped indemnity, the same pattern that blocked the Acme NDA in September. It needs counsel sign-off before you countersign. Want me to file a review ticket?12:01
Yes, assign it to Priya.12:01
Filed REV-88 with Priya and linked §7 to the Redwood record. Posted to #legal-reviews.12:01
Replies in your team's chat, or your own app over the API:
For engineers

The whole agent, in code.

One project defines it end to end: the agent, its connectors, the memory schema, watchers, and skills. Write it yourself, or let your coding agent generate it. Pick a piece to read the code.

lobu.config.tslobu.config.ts
import {
  connectorFromFile,
  defineAgent,
  defineConfig,
  defineEntityType,
  defineRelationshipType,
  defineWatcher,
  secret,
} from "@lobu/cli/config";
import type DocuSignEnvelopesConnector from "./docusign-envelopes.connector.ts";

const legalReview = defineAgent({
  id: "legal-review",
  name: "legal-review",
  description:
    "Review contracts, summarize risk, and surface missing protections",
  dir: ".",
  providers: [
    {
      id: "anthropic",
      model: "claude/sonnet-4-5",
      key: secret("ANTHROPIC_API_KEY"),
    },
  ],
  network: {
    allowed: [
      "github.com",
      ".github.com",
      ".githubusercontent.com",
      "registry.npmjs.org",
      ".npmjs.org",
    ],
  },
});

// entity types and relationships defined here…

const contractReviewTracker = defineWatcher({
  agent: legalReview,
  slug: "contract-review-tracker",
  name: "Contract review tracker",
  schedule: "0 8 * * 1-5",
  notification: { priority: "high" },
  tags: ["legal", "contract", "daily"],
  minCooldownSeconds: 1800,
  reactionsGuidance:
    "For any contract with `status: needs_counsel`, route an entity-scoped event\nto the assigned reviewer. For contracts >90 days unsigned, escalate to the\ncounterparty owner; never auto-resolve risk items.\n",
  prompt:
    "Review active contracts for approaching deadlines, unsigned agreements, and unresolved risk items. Flag any clauses that still need counsel approval.\n",
});

export default defineConfig({
  connectors: [
    connectorFromFile<typeof DocuSignEnvelopesConnector>(
      "./docusign-envelopes.connector.ts"
    ),
  ],
  org: "legal-review",
  orgName: "Legal",
  orgDescription:
    "Review contracts, summarize risk, and surface missing protections",
  agents: [legalReview],
  entities: [clause, contract, counterparty, risk],
  relationships: [belongsToCounterparty, containsClause, createsRisk],
  watchers: [contractReviewTracker],
});
Examples

Explore agent workflows.

Each example shows the sources, memory, and actions for one AI teammate.

Run anywhere

Local, self-hosted, or managed.

Local

Run on your laptop.

Boot the gateway, workers, memory, and embeddings with one command.

Self-host

Run in your cloud.

Docker, cloud VM, or Kubernetes when data and controls need to stay with you.

Lobu Cloud

Let Lobu run it.

Use the same project with managed isolation, secrets, and upgrades.

Build your first
multi-user agent.