Convex Agents Rate Limiting

Installation
SKILL.md

Purpose

Rate limiting protects against abuse, manages LLM costs, and ensures fair resource allocation. Covers message frequency limits and token usage quotas.

When to Use This Skill

  • Preventing rapid-fire message spam
  • Limiting total tokens per user
  • Implementing burst capacity
  • Global API limits to stay under provider quotas
  • Fair resource allocation in multi-user systems
  • Billing based on token usage

Configure Rate Limiter

import { RateLimiter, MINUTE, SECOND } from "@convex-dev/rate-limiter";

export const rateLimiter = new RateLimiter(components.rateLimiter, {
Related skills

More from sstobo/convex-skills

Installs
GitHub Stars
23
First Seen