Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

Tenacity

Retry library for Python that simplifies adding retry logic with exponential backoff.

UtilitiesPYPI

GitHubWebsite

1. License

License from PyPI license expression.

github.com/jd/tenacity

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What Tenacity does

Retry library for Python that simplifies adding retry logic with exponential backoff.

Tenacity popularity

77 / 100
Gid Score, #143 overall
104M
downloads a week, pypi
8,839
GitHub stars
84
agent projects use it
Tenacity: downloads per weekPyPI, tenacity 103,409,819
Tenacity: GitHub starsjd/tenacity 8,839

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How Tenacity is used

  • Tenacity is a dependency in 84 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (5.2% of the 1,623 Python ones), #13 of 408 in utilities.
  • Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 1,324; those are left out of every share on this page.
  • Projects that use it most often also use Pydantic (83.3%), python-dotenv (71.4%), FastAPI (65.5%).

By coding agent

49 projects, 1.5%
42 projects, 1.4%
35 projects, 1.4%
10 projects, 2.1%
6 projects, 1.8%

Often used with

In 83.3% of its projects
In 71.4% of its projects
In 65.5% of its projects
In 65.5% of its projects
In 58.3% of its projects
In 53.6% of its projects
In 53.6% of its projects
In 52.4% of its projects

More about Tenacity

Funding
  • GitHub Sponsors: https://github.com/jd
  • 2 GitHub sponsors

See all

More in Utilities

Alternatives

Tenacity This page

Apache-2.0Gid 77104M/wk

Compare Tenacity with another tool

Get started

Install it.

pip install tenacity

No step-by-step start for Tenacity yet: we have not written its hand-checked card.