# backoff — card for AI agents

Python decorator for implementing exponential backoff and retry logic.

Category: Utilities · PyPI package `backoff` · latest version 2.2.1 (checked 2026-11-01)
Install: `pip install backoff`
License: MIT (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Warnings
- The repository is archived: no more updates.

## Numbers (AgentGid data)
- Gid Score: 67.5 (#519 of all tools, 62 of 408 in its category)
- Used in 10 public projects set up for AI coding agents (0.2%)
- Downloads last week: 34,750,450 (as of 2026-11-24), +5.7% over 4 weeks
- GitHub stars: 2,694 (as of 2026-11-24)
- Last push: 2024-05-02

## Often used with
Pydantic 94.6%, AnyIO 94.4%, charset-normalizer 94.2%, OpenAI Python Library 93.6%, NumPy 93.3%, Requests 92.1%

## Checked alternatives (same job)
- Tenacity: https://agentgid.com/tools/tenacity/agent.md

## Links
- AgentGid page: https://agentgid.com/tools/backoff/
- Homepage: https://github.com/litl/backoff
- Repository: https://github.com/litl/backoff

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
