AI teammates for contract review.
Review new contracts for risk, flag clauses that need counsel approval, and file a review ticket.
From source changes to shared memory.
Connect the systems this teammate can read, define its goal, and keep every result grounded in current, scoped context.
Connect your data
Pick the systems it can read. Lobu turns those updates into live customer memory.
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.”
Lobu works autonomously
It scans memory on schedule, spots the account at risk, and keeps the evidence attached.
You review and approve
You can edit the draft, send it, or leave it.
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.
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],
});Explore agent workflows.
Each example shows the sources, the memory, and the action for one AI teammate. Same loop — connect, watch, act — pointed at a different job.
Tracks account health, rollout progress, and renewal signals across the customer base.
Reviews incoming contracts, summarizes risk, and surfaces missing protections before sign-off.
Reconciles data across systems, explains variance, and prepares recurring reporting runs.
Local, self-hosted, or managed.
The same project runs on your laptop, in your cloud, or fully managed by lobu — your data and controls stay wherever you need them.
Run in your cloud.
Docker, a cloud VM, or Kubernetes when data and controls need to stay with you.
Let lobu run it.
The same project with managed isolation, secrets, and upgrades — nothing to operate.
Latest blog posts
The Agent Loop Is the New SaaS
The business logic SaaS sold you is now an agent loop that watches your data and acts. Here is how to build and own one with Lobu.
Read post →Shopify's Aquifer, in the Open
Shopify treats an agent's corpus as the compounding asset. Lobu keeps the signal—not the chat—and makes that architecture work across companies.
Read post →Filesystem vs Database for Agent Memory
Agents need a workspace to think in and a warehouse to remember in. The filesystem is for ephemeral work. The memory layer is for durable organizational knowledge.
Read post →Give every teammate a colleague.
Paste the setup prompt into Claude Code — lobu.config.ts, role files, and channels land in your repo. Ship it today.