# PufferLib

- **ID:** 713
- **Kind:** code
- **URL:** https://puffer.ai/
- **Authors:** Joseph Suarez (PufferAI)
- **Venue:** puffer.ai (docs); GitHub PufferAI/PufferLib
- **Source:** web
- **Language:** en
- **Access:** public
- **Tags:** reinforcement-learning, simulation, environments, open-source, ppo
- **Topics:** reinforcement learning, simulation, environments, open source, PPO
- **Added:** 2026-09-29
- **Verified:** 2026-09-29
- **Research status:** done
- **Page:** https://papers.projxon.ai/entries/713

## Summary

PufferLib is an open-source (MIT) reinforcement learning library focused on fast, compatible simulation. It offers one-line wrappers making complex environments (NetHack, Neural MMO, Griddly) compatible with Gymnasium/PettingZoo-style libraries, drop-in vectorization, and Puffer Ocean — 12 C environments each simulating at over 1M steps/second on a single CPU core. A PPO demo trains Ocean envs at 300K–1.2M steps/second on a single RTX 4090.

## Research notes

- Key findings: PufferLib 2.0 paper: 'PufferLib 2.0: Reinforcement Learning at 1M steps/s' (Joseph Suarez); 30x faster than CleanRL on Atari (30K steps/s); Works with CleanRL and SB3; supports Atari, Procgen, NetHack, Neural MMO 3
- puffer.ai is the documentation site; the library is at github.com/PufferAI/PufferLib. Site fetch rate-limited; details from web search (RLJ 2025 paper summary, OpenReview, GitHub READMEs).

## Similar entries

- [EasyPPO: Stabilizing the Critic Is Key](https://papers.projxon.ai/entries/792) (paper, #792)
- [Continual Reinforcement Learning with Neuroevolution](https://papers.projxon.ai/entries/1284) (paper, #1284)
- [Open-Reasoner-Zero](https://papers.projxon.ai/entries/684) (code, #684)
- [Unslopping AI: Reinforcement Learning from eXpert-Aligned Rubrics (RL-XAR)](https://papers.projxon.ai/entries/742) (thread, #742)
- [daVinci-Env: Open SWE Environment Synthesis at Scale](https://papers.projxon.ai/entries/1126) (paper, #1126)
- [Periodic Neon ('Nature Is Our Learning Environment')](https://papers.projxon.ai/entries/715) (model, #715)
