---
title: "PufferLib - Air Market"
description: "You have a reinforcement-learning environment and you want it running under PufferLib, but the guidance you find may not match the version you are on. This covers environments, vectorization, policie…"
canonical: "https://airmarket.ai/app/pufferlib"
---

[Air Market](/) / [Developer Tools](/category/devtools) / PufferLib

Skill by [K-Dense](/@k-dense-ai)

# PufferLib

Bring an existing RL environment into PufferLib without guessing the version

## What this does

You have a reinforcement-learning environment and you want it running under PufferLib, but the guidance you find may not match the version you are on. This covers environments, vectorization, policies, training, evaluation and checking checkpoints, and it keeps the published release and the redesigned newer line straight.

### Top 3 things it does for you

- Adapt a Gymnasium or PettingZoo environment
- Set up vectorization and policies
- Train and evaluate with PuffeRL

## Information

**PufferLib at a glance**

|  |  |
| --- | --- |
| Kind | Skill |
| Publisher | [K-Dense](/@k-dense-ai) |
| Category | [Developer Tools](/category/devtools) |
| Works with | Agent Skills - an open standard supported by 40+ agents |
| Version | 1.1 |
| Size | 123 KB |
| Licence | MIT |
| Repository | [k-dense-ai/scientific-agent-skills](https://github.com/k-dense-ai/scientific-agent-skills/tree/81e316bc89f7fda176b092d2bceb959204710b0a/skills/pufferlib) |
| GitHub stars | 34,239 (as of Nov 2026) |

## Security report

**Verified.** AIR scanned this exact version of PufferLib and flagged nothing. AIR's verdict: **safe**.

**What PufferLib's check was run against**

|  |  |
| --- | --- |
| Commit | 81e316bc89f7fda176b092d2bceb959204710b0a |
| Content hash | a8094ded021fcc0a2ddf826c2227317ebd44de36df3236cada5e41ada95fd05e |
| Files read | [Browse the files at this exact commit](https://github.com/k-dense-ai/scientific-agent-skills/blob/81e316bc89f7fda176b092d2bceb959204710b0a/skills/pufferlib/SKILL.md) |

A scan is named by the exact content it read, not by a version number. A different version is a different artifact, and nothing here applies to a version AIR has not scanned.

[Read the full security report for PufferLib](/security/pufferlib)

## About PufferLib

Guidance for PufferLib that stays aware of which version you are on: the published PufferLib 3.0.0 release, or the redesigned native 4.0 source line.

It covers environments, vectorization, policies, training with PuffeRL, and evaluation, along with safe checkpoint review.

The typical starting point is an environment you already have - a Gymnasium or PettingZoo one - that needs adapting to work here.

## What's inside

- SKILL.md - instructions
- references/environments.md - reference
- references/integration.md - reference
- references/policies.md - reference
- references/training.md - reference
- references/vectorization.md - reference
- scripts/__init__.py - script
- scripts/_common.py - script
- scripts/benchmark_vectorization.py - script
- scripts/env_contract_validator.py - script
- scripts/env_template.py - script
- scripts/inspect_checkpoint.py - script
- scripts/repro_plan.py - script
- scripts/train_template.py - script
- scripts/validate_plan.py - script

## Questions

### Is PufferLib safe to install?

AIR scanned this exact version of PufferLib and flagged nothing. AIR's verdict: safe. The verdict is named by the content that was read, at commit 81e316bc89f7, so it cannot drift onto a version nobody scanned. The full report is at https://airmarket.ai/security/pufferlib.

### How do I install PufferLib?

Open https://airmarket.ai/app/pufferlib on Air Market and use the install action: Air Market hands Claude a prompt naming this exact skill, and Claude sets it up. Source, pinned to the exact commit this listing describes: https://github.com/k-dense-ai/scientific-agent-skills/tree/81e316bc89f7fda176b092d2bceb959204710b0a/skills/pufferlib. Install from that link, not the branch.

## Related on Air Market

- [More Developer Tools listings](/category/devtools)
- [Everything by K-Dense](/@k-dense-ai)

---

Canonical URL: <https://airmarket.ai/app/pufferlib>
