Manage and optimize Lindy AI rate limits.Use when hitting rate limits, optimizing API usage,or implementing rate limit handling.Trigger with phrases like "lindy rate limit", "lindy quota","lindy throttling", "lindy API limits".
The Lindy Rate Limits skill is a comprehensive developer utility designed to monitor, manage, and optimize interactions with the Lindy AI API. It provides structured guidance and production-ready TypeScript code to handle API quotas, implement client-side throttling, and manage error recovery, ensuring high availability and cost-effective usage of AI agent resources.
Use Cases
Real-time usage monitoring: Implementing dashboards or logs to track API requests, agent runs, and concurrency against plan limits (Free, Pro, or Enterprise).
Client-side traffic shaping: Using the provided Token Bucket rate limiter to regulate the flow of outgoing requests and prevent hitting server-side triggers.
Resilient error handling: Integrating automated retry logic with exponential backoff to gracefully recover from 'LINDY_RATE_LIMITED' errors without crashing the application.
High-concurrency management: Utilizing queue-based rate limiting to organize and process large volumes of agent tasks while respecting strict per-minute request constraints.
name
lindy-rate-limits
description
|
allowed-tools
Read, Write, Edit
version
1.0.0
license
MIT
author
Jeremy Longshore <jeremy@intentsolutions.io>
Lindy Rate Limits
Overview
Comprehensive guide to understanding and managing Lindy API rate limits.
Prerequisites
Lindy SDK installed
Understanding of your plan's limits
Access to usage dashboard
Rate Limit Tiers
Free Tier
Resource
Limit
Window
API Requests
100/min
Rolling
Agent Runs
50/day
Daily
Concurrent Runs
2
Instant
Pro Tier
Resource
Limit
Window
API Requests
1000/min
Rolling
Agent Runs
1000/day
Daily
Concurrent Runs
10
Instant
Enterprise
Resource
Limit
Window
API Requests
Custom
Rolling
Agent Runs
Unlimited
-
Concurrent Runs
100+
Instant
Instructions
Step 1: Check Current Usage
import { Lindy } from '@lindy-ai/sdk';
const lindy = new Lindy({ apiKey: process.env.LINDY_API_KEY });
async function checkUsage() {
const usage = await lindy.usage.current();
console.log('Current Usage:');
console.log(` API Requests: ${usage.apiRequests.used}/${usage.apiRequests.limit}`);
console.log(` Agent Runs: ${usage.agentRuns.used}/${usage.agentRuns.limit}`);
console.log(` Concurrent: ${usage.concurrent.active}/${usage.concurrent.limit}`);
return usage;
}