算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
lindy-reference-architecture【设计与创意】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".
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
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.20.0 license: MIT author: Jeremy Longshore jeremy@intentsolutions.io tags:
Choose an integration shape for Lindy workflows without inventing a public SDK or control-plane API. The supported application boundary in these patterns is a dashboard-created Lindy webhook trigger, optionally paired with Lindy's HTTP Request or callback action for outbound delivery.
https://public.lindy.ai/api/v1/webhooks/... shape. Validate https: and the exact
public.lindy.ai hostname before attaching its Lindy-generated trigger secret.Single agent triggered by your application, results sent via callback.
┌─────────────┐ POST (webhook) ┌──────────────┐
│ Your App │ ─────────────────────────→ │ Lindy Agent │
│ │ │ │
│ /callback │ ←───────────────────────── │ HTTP Request │
│ │ POST (callback) │ Action │
└─────────────┘ └──────────────┘
Implementation:
Best for: Simple automations (email triage, lead scoring, content generation)
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:
authenticated producer
-> schema and size validation
-> field allowlist and redaction
-> idempotent durable queue
-> route chosen from a static event-to-trigger map
-> exact HTTPS/public.lindy.ai sink check
-> attach only that route's trigger secret
-> bounded delivery and response validation
-> receipt with event ID, route, attempt count, and status (never payload/secret)
Keep the event-to-trigger map in trusted configuration rather than request data. The downloadable implementation guide contains a secure sender boundary; it deliberately uses documented webhook primitives rather than an assumed SDK client.
Best for: Multiple event sources, different agents per event type
Specialized workflows collaborate through the agent-to-agent actions or webhook edges that are visibly available in the current workspace. Do not assume an action name, delivery guarantee, or universal delegation entitlement from this document.
┌─────────────────┐
│ Orchestrator │
│ Lindy │
│ (receives │
│ initial task) │
└───┬────────┬────┘
│ │
▼ ▼
┌────────┐ ┌────────┐
│Research│ │Analysis│
│ Lindy │ │ Lindy │
└───┬────┘ └───┬────┘
│ │
▼ ▼
┌─────────────────┐
│ Writer Lindy │
│ (synthesizes │
│ final output) │
└─────────────────┘
Setup in Lindy:
Key decisions:
| Decision | Option A | Option B |
|---|---|---|
| Context passing | Full context (accurate, expensive) | Selective context (cheap, focused) |
| Error handling | Agent retries | Orchestrator retry logic |
| Parallelism | Sequential delegation | Parallel delegation with merge |
Best for: Complex tasks requiring multiple specialties (research + analysis + writing)
Agents run on schedules, each feeding data to the next.
Schedule: Daily 6 AM
│
▼
┌──────────────┐
│ Data Fetch │ Pulls from APIs/databases
│ Lindy │
└──────┬───────┘
│ Agent Send Message
▼
┌──────────────┐
│ Analysis │ Processes & summarizes
│ Lindy │
└──────┬───────┘
│ Agent Send Message
▼
┌──────────────┐
│ Report │ Formats & delivers
│ Lindy │
│ → Slack │
│ → Email │
└──────────────┘
Best for: Daily reports, weekly digests, scheduled data processing
Agent exposed through a chat surface currently supported by the workspace and grounded in an approved knowledge base.
┌──────────────┐ ┌──────────────┐ ┌──────────────┐
│ Website │ │ Lindy Agent │ │ Knowledge │
│ (Embed │◀──▶ │ │◀──▶ │ Base │
│ Widget) │ │ Chat Trigger │ │ PDFs, Docs, │
└──────────────┘ │ + KB Search │ │ Websites │
│ + Condition │ └──────────────┘
│ + Escalate │
└──────────────┘
│
▼ (if escalation needed)
┌──────────────┐
│ Slack DM to │
│ human agent │
└──────────────┘
Deployment boundary:
Best for: Customer support, FAQ bots, internal knowledge assistants
| Pattern | Choose when | Measure before approval | Primary risk |
|---|---|---|---|
| Simple webhook | One bounded async workflow | end-to-end latency, duplicate rate | callback spoofing |
| Event-driven pipeline | Multiple producers or replay required | queue lag, retry volume | event/data fan-out |
| Multi-agent workflow | Specialist boundaries improve quality | completion rate, context size | authority drift |
| Scheduled pipeline | Work is naturally periodic | freshness, missed-run recovery | silent schedule gaps |
| Chat + knowledge base | Users need interactive retrieval | answer quality, escalation rate | sensitive retrieval |
| Pattern | Failure Mode | Recovery |
|---|---|---|
| Simple webhook | Agent fails or callback is rejected | retain receipt; retry within budget; escalate |
| Event-driven | Router or downstream unavailable | keep durable event; replay idempotently |
| Multi-agent | Specialist times out or returns invalid data | stop synthesis or use approved partial-result policy |
| Scheduled | Run is missed | alert; perform an explicit catch-up run if safe |
| Chat + KB | Evidence is absent or access is denied | say no answer; escalate without exposing hidden data |
Return two reviewable artifacts:
No output may contain webhook URLs, bearer values, customer payloads, or copied runtime configuration. Use route names and redacted identifiers in diagrams and receipts.
For an order-triage workflow, choose the event-driven pattern and record:
decision: event-driven-webhook
event: order.created.v1
allowed_fields: [event_id, order_id, country_code, risk_band]
durable_before_ack: true
idempotency_key: event_id
trigger_route: lindy-order-triage
trigger_sink: https/public.lindy.ai
callback_auth: distinct-from-trigger
retry_budget: "3 attempts within 5 minutes"
rollback: "pause consumer and retain queued events"
evidence: "authorized task created; unauthorized request created no task"
The record names the sink class, not the unique webhook path, and includes no order contents or credentials. A reviewer can reproduce both the accepted and rejected paths with synthetic IDs before production traffic is enabled.
Proceed to Flagship tier skills for enterprise features: multi-env, observability, incident response, data handling, RBAC, and migration.