A tiny and simple Open Source library to call LLM APIs with in-built rate-limiting, retries, circuit breaker...
github.com·2d·
Discuss: r/LocalLLaMA
Flag this post

ResilientLLM

A minimalist but robust LLM integration layer designed to ensure reliable, seamless interactions across multiple LLM providers by intelligently handling failures and rate limits.

ResilientLLM makes your AI Agents or LLM apps production-ready by dealing with challenges such as:

  • ❌ Unstable network conditions
  • ⚠️ Inconsistent error handling
  • ⏳ Unpredictable LLM API rate limit errors

Key Features

  • Token Estimation: You don’t need to calculate LLM tokens, they are estimated for each request
  • Rate Limiting: You don’t need to manage the token bucket rate algorithm yourself to follow the rate limits by LLM service providers, it is done for you automatically
  • Retries, Backoff, and Circuit Breaker: All are handled internally by the ResilientOperation

##…

Similar Posts

Loading similar posts...