| name | lindy-local-dev-loop |
| description | Set up local development workflow for testing Lindy AI agent integrations.
Use when building webhook receivers, testing agent callbacks,
or iterating on Lindy-connected applications locally.
Trigger with phrases like "lindy local dev", "lindy development",
"test lindy locally", "lindy webhook local".
|
| allowed-tools | Read, Write, Edit, Bash(npm:*), Bash(node:*), Bash(npx:*) |
| version | 1.15.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
| tags | ["saas","lindy","testing","workflow"] |
| compatibility | Designed for Claude Code, also compatible with Codex and OpenClaw |
Lindy Local Dev Loop
Overview
Lindy agents run on Lindy's managed infrastructure — you do not run agents locally.
Local development focuses on building and testing the webhook receivers, callback
handlers, and application code that Lindy agents interact with. Use ngrok or
similar tunnels to expose local endpoints for Lindy webhook triggers.
Prerequisites
- Node.js 18+ or Python 3.10+
- ngrok or Cloudflare Tunnel for HTTPS tunneling
- Lindy account with at least one agent configured
- Completed
lindy-install-auth setup
Instructions
Step 1: Create Webhook Receiver
import express from 'express';
import dotenv from 'dotenv';
dotenv.config();
const app = express();
app.use(express.json());
const WEBHOOK_SECRET = process.env.LINDY_WEBHOOK_SECRET;
function verifyWebhook(req: express.Request): boolean {
const auth = req.headers.authorization;
return auth === `Bearer ${WEBHOOK_SECRET}`;
}
app.post('/lindy/callback', (req, res) => {
if (!(req)) {
.();
res.().({ : });
}
.(, .(req., , ));
{ taskId, result, status } = req.;
.();
res.({ : });
});
app.(, res.({ : }));
app.(, .());