| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Source for agentmodels.org, an interactive online book on modeling rational and biased agents for (PO)MDPs and reinforcement learning using probabilistic programs. Code examples run directly in the browser via WebPPL.
By Owain Evans, Andreas Stuhlmüller, John Salvatier, and Daniel Filan.
With Docker (no Ruby setup needed):
docker compose up
Or with a local Ruby (3.x):
bundle install bundle exec jekyll serve
Either way, the site is served at http://localhost:4000.
assets/js/webppl.min.js is a 2019 build of WebPPL bundled with the packages the book uses (webppl-agents, webppl-dp, webppl-timeit, webppl-nn). WebPPL is no longer actively maintained, so the bundle is frozen on purpose: the goal is keeping the book's examples working, not tracking upstream.
If you ever need to regenerate it, the historical recipe is in scripts/update-webppl (uses the dependencies pinned in package.json); expect to need an old Node version.
The site is published with GitHub Pages from the gh-pages branch — pushing to gh-pages deploys. The Gemfile pins the github-pages gem so local builds match production. CI (GitHub Actions) builds the site and checks internal links on every push.
chapters/ Book chapters (Markdown) index.md Landing page and table of contents bibliography.bib Citations, rendered client-side assets/css Site stylesheet assets/js Site JS + frozen WebPPL bundle assets/vendor Vendored third-party assets assets/img Figures assets/tex LaTeX sources for some figures _layouts, _includes Jekyll templates notes/, scratch/ Old planning notes (not published) scripts/ Historical build scripts for the WebPPL bundle
| Back | FazBrowse Home | New Git URL |