| name | lindy-performance-tuning |
| description | Optimize Lindy AI agent execution speed, reliability, and cost efficiency.
Use when agents are slow, consuming too many credits,
or producing inconsistent results.
Trigger with phrases like "lindy performance", "lindy slow",
"optimize lindy", "lindy latency", "lindy speed".
|
| allowed-tools | Read, Write, Edit |
| version | 1.15.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
| tags | ["saas","lindy","performance"] |
| compatibility | Designed for Claude Code, also compatible with Codex and OpenClaw |
Lindy Performance Tuning
Overview
Lindy agents execute as multi-step workflows where each step (LLM call, action
execution, API call, condition evaluation) adds latency and credit cost. Optimization
targets: fewer steps, smaller models, faster actions, tighter prompts.
Prerequisites
- Lindy workspace with active agents
- Access to agent Tasks tab (view step-by-step execution history)
- Understanding of agent workflow structure
Instructions
Step 1: Profile Agent Execution
In the Tasks tab, open a completed task and review:
- Total task duration: Baseline for improvement
- Per-step timing: Identify the slowest steps
- Credit consumption: Which steps cost the most
- Step count: Total actions executed per task
Common bottlenecks:
| Bottleneck | Symptom | Fix |
|---|
| Large model on simple task | High credit cost, slow | Switch to Gemini Flash |
| Too many LLM steps | Long total duration | Consolidate into fewer steps |
| Agent Step with many skills | Unpredictable path | Reduce to 2-4 focused skills |
| Knowledge Base over-querying | Multiple KB searches | Increase Max Results per query |
| Sequential when parallel possible | Unnecessary waiting | Use loop with Max Concurrent > 1 |
Step 2: Right-Size Model Selection
The single biggest performance lever. Match model to task complexity:
| Task | Recommended Model | Speed | Credits |
|---|
| Route email to category | Gemini Flash | Fast | ~1 |
| Extract fields from text | GPT-4o-mini | Fast | ~2 |
| Draft short response | Claude Sonnet | Medium | ~3 |
| Complex multi-step analysis | GPT-4 / Claude Opus | Slow | ~10 |
| Simple phone call | Gemini Flash | Fast |