| name | lindy-reference-architecture |
| description | Reference architectures for Lindy AI agent integrations.
Use when designing systems, planning multi-agent architectures,
or implementing production integration patterns.
Trigger with phrases like "lindy architecture", "lindy design",
"lindy system design", "lindy patterns", "lindy multi-agent".
|
| allowed-tools | Read, Write, Edit |
| version | 1.15.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
| tags | ["saas","lindy","lindy-reference"] |
| compatibility | Designed for Claude Code, also compatible with Codex and OpenClaw |
Lindy Reference Architecture
Overview
Production-ready architecture patterns for integrating Lindy AI agents into
applications. Covers webhook integration, multi-agent societies, event-driven
pipelines, and high-availability patterns.
Prerequisites
- Understanding of Lindy agent model (triggers, actions, skills)
- Familiarity with webhook-based architectures
- Production requirements defined (throughput, latency, reliability)
Architecture 1: Simple Webhook Integration
Single agent triggered by your application, results sent via callback.
โโโโโโโโโโโโโโโ POST (webhook) โโโโโโโโโโโโโโโโ
โ Your App โ โโโโโโโโโโโโโโโโโโโโโโโโโโ โ Lindy Agent โ
โ โ โ โ
โ /callback โ โโโโโโโโโโโโโโโโโโโโโโโโโโ โ HTTP Request โ
โ โ POST (callback) โ Action โ
โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ
Implementation:
- Your app sends webhook with
callbackUrl field
- Lindy agent processes and responds via Send POST Request to Callback
- Your app receives results asynchronously
Best for: Simple automations (email triage, lead scoring, content generation)
Architecture 2: Event-Driven Pipeline
Multiple event sources feed agents through a central webhook router.
โโโโโโโโโโโโ
โ Stripe โโโwebhookโโโ
โโโโโโโโโโโโ โ
โผ
โโโโโโโโโโโโ โโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ
โ Shopify โโโโ โ Router โโโโ โ Lindy Agents โ
โโโโโโโโโโโโ โ Service โ โ โ
โโโโโโโโโโโโโ โ โข Order Bot โ
โโโโโโโโโโโโ โฒ โ โข Support Botโ
โ Your App โโโwebhookโโโ โ โข Analytics โ
โโโโโโโโโโโโ โโโโโโโโโโโโโโโโ
Implementation:
const agentWebhooks: Record<string, string> = {
'order.created': process.env.LINDY_ORDER_AGENT_WEBHOOK!,
'customer.support_request': process.env.LINDY_SUPPORT_AGENT_WEBHOOK!,
: process..!,
};
app.(, (req, res) => {
{ event, data } = req.;
webhookUrl = agentWebhooks[event];
(!webhookUrl) {
res.().({ : });
}
(webhookUrl, {
: ,
: {
: ,
: ,
},
: .({ event, data, : }),
});
res.({ : , : event });
});