← All projects
Developer building blocks

Pyro

A Python library for probabilistic programming: building AI models that reason about uncertainty.

New this week

What it does

Pyro is a code library for probabilistic programming, a way of building models that deal with chance and uncertainty rather than giving a single fixed answer.

It is built on PyTorch, a popular AI framework, and its makers say it can represent any probability model while scaling to large datasets. It offers simple building blocks for experts who want fine control.

Pyro was first developed at Uber AI and is now maintained by community contributors, including a team at the Broad Institute. It is a Linux Foundation project.

Who it's for

Researchers and data scientists who build statistical and probabilistic AI models in Python.

Can I use it without coding?

Developers only. It is a Python library, so you use it by writing code. New to this? Start here.

Can I run it?

Cost
FreeNothing to pay or sign up for.
Computer
An ordinary computer is fine
Privacy
Runs on your own device: your data stays with you
API key
Not needed

Try it

Using Claude Code, Cursor or another AI coding assistant? Paste the prompt and it will walk you through the setup.New to this?

Before you install

  • Only download from the official GitHub page. Copies with similar names exist for many popular projects.
  • License (Apache-2.0): Permissive: free to use, change and share, including for business.
  • More on staying safe

Where people are talking about it