Predict what your environment does next, and how surprised you were.
An agent that cannot anticipate its environment can only react. Every framework that offers this makes you adopt its whole training stack to find out whether a learned model beats the lookup table you already have.
pip install awpredict
Wrap an environment you already have and ask it what happens next.
Pairing is composition, never dependency โ awpredict installs and runs on its own.
Every brick below is live, drawn from that repository's own published manifest.