Skip to content

Vision and roadmap

Vision

AgentPlay is a model-agnostic simulation and benchmarking platform that allows developers to build environments, connect AI agents, run experiments, and evaluate their intelligence, strategies, and behaviour.

  • Model-agnostic: no AI vendor is built into the core. Every model gets the same prompt, rules and limits, so results can be compared fairly (ADR-0003).
  • Build environments: a world is a small Python class: who acts, what each agent sees, which moves are legal, and what happens. Worlds load from a file, a project or an installed plugin.
  • Connect AI agents: hosted models, local models, any program in any language, or your own Python class.
  • Run experiments: seeds, repeated runs, tournaments, budgets, live watching and replays, all from one scenario file.
  • Evaluate intelligence, strategies and behaviour: outcomes and pass rates, ratings with confidence intervals, full move-by-move logs, and judges that tag behaviour.

Where AgentPlay stands

Pillar Available now Still to build
Model-agnostic chat_api for any OpenAI-compatible API; presets for OpenAI, OpenRouter, Groq, DeepSeek, Gemini, Mistral, Together, Hugging Face and Ollama; anthropic; transformers for local models; command, http and mcp for any program; constrained output and model check for small models Images in observations for vision models; adapters for agent frameworks
Build environments A small world interface and world helpers, agentplaykit new, worlds from files and plugins, a test kit with sloppy models; built-in tic-tac-toe, rock-paper-scissors, chess, blank and sandbox (Docker) worlds; scripted chess opponents at three levels; debate, negotiation and trust examples; 120+ OpenSpiel games, with hidden information, chance and cooperation; worlds without code: games of choices, quizzes and conversations in one YAML file Formulas in world files; board and story worlds without code; computer opponents and move analysis for OpenSpiel games; PettingZoo environments
Connect AI agents The same prompt for every model, chat between agents, limits, retries and forfeits; wrappers for memory, instructions and format hints; lenient reading of imperfect replies, the same for every model; playing a world yourself, in the terminal or the browser (play --human) Nothing planned yet
Run experiments Scenarios, seeds, --runs N, tournaments, cost budgets, live view, replays, sandboxed tasks; experiment files that sweep agents, worlds, settings and seeds, in parallel and resumable Running workers on other machines; stopping a cell early once results are clear
Evaluate intelligence Outcomes, pass rates, ratings with intervals (Bradley–Terry), leaderboards; versioned benchmark suites with a combined score, verification and static leaderboards Held-out seeds; publishing boards to the Hugging Face Hub
Evaluate strategy Move-by-move analysis with accuracy, regret and blunders (tic-tac-toe exactly, chess approximately); openings, learning over a series of games and exploiting a weak opponent Analysts for more worlds; strategy summaries in words
Evaluate behaviour Behaviour metrics from logs (illegal moves, recovery, forfeits, messages); labels a world reports; says versus does, judged with agreement between judges; consistency across runs Behaviour labels for more worlds

Released

Version What it added
v0.1 The engine: worlds, agents, runner, message bus, scenarios, registry, CLI, run log, evaluators
v0.2 The tic-tac-toe world renamed from ox
v0.3 Provider presets: use: openai, gemini, ollama and more, with only model to set
v0.4 The viewer: replays and live watching in the browser
v0.5 Reports, tournaments and ratings
v0.6 Sandbox worlds: real tasks in locked-down containers
v0.7 chat_api, the generic agent for any OpenAI-compatible API
v0.8 Hugging Face models: hosted (huggingface) and local (transformers)
v0.9 Build your own: agent wrappers, world helpers, agentplaykit new and the sloppy model
v0.10 Experiments: scenarios × agents × settings × seeds from one file, parallel and resumable
v0.11 Errors and diagnostics: a code, a plain sentence and a fix for every problem, everywhere
v0.12 Benchmarks: versioned suites, one comparable score with intervals, verification and leaderboards
v0.13 Chess: a built-in chess world with the full rules, talk between players and a board in the viewer
v0.14 Behaviour and strategy: behaviour metrics from logs, judged consistency, and move-by-move analysis with blunders
v0.15 Small models and chess opponents: constrained output, lenient reading, model check, and scripted/chess at three levels
v0.16 Play it yourself: a human agent for any world, in the terminal or by clicking in the browser
v0.17 Game library: OpenSpiel's 120+ games as worlds, eight of them with written rules
v0.18 Worlds without code: games of choices, quizzes and conversations in one YAML file
v0.19 Shared workspace: agents in one isolated computer on any task, with who changed what and hidden checks

The changelog lists every change.

Next

Each release starts with a spec, as every part of AgentPlay does. The order may change with feedback.

v0.9: Build your own (environments and agents), released · specs: SPEC-016 agent wrappers, SPEC-017 world helpers, SPEC-018 starters and the sloppy model

  • Agent wrappers: add memory, a persona or format hints to any agent with wrap: in a scenario.
  • World helpers: turn-based play and text moves, so a new world takes about 20 lines.
  • agentplaykit new world|agent|wrapper: a working starting point with a test.
  • A "sloppy model" test double that makes the mistakes small models make, to test worlds with.
  • Debate and negotiation example worlds, built with the helpers.

v0.10: Experiments (run experiments), released · spec: SPEC-019 experiments

  • One experiment file: models × worlds × settings × seeds.
  • Parallel and resumable runs, and a cost estimate before starting.
  • One report for the whole experiment.

v0.11: Errors and diagnostics (every pillar), released · spec: SPEC-023 errors and diagnostics

  • One error form everywhere: a stable code, what happened, where, the fix and a docs link.
  • Provider errors read properly (Gemini, OpenRouter, Anthropic and others), with fixes.
  • Every run says why it ended and what to try; the judge retries once; crashes say "bug" and where the log is.
  • A Troubleshooting page with a section for every code.

v0.12: Benchmarks (evaluate intelligence), released · spec: SPEC-020 benchmark suites

  • Versioned benchmark suites: a fixed set of worlds, seeds and limits with a combined score and confidence intervals; the built-in agentplay-basics suite needs no key.
  • bench verify recomputes any submission from its logs.
  • Leaderboards as static pages, for GitHub Pages or a Hugging Face Space.

v0.13: Chess (build environments), released · spec: SPEC-024 chess

  • A built-in chess world with every rule, its own rules engine (no extra package) and a board in the replay and live pages.
  • Moves in SAN or UCI, endings named in plain words, and talk: true for players that argue while they play.

v0.14: Behaviour and strategy (evaluate strategy and behaviour), released · specs: SPEC-021 behaviour metrics, SPEC-022 strategy analysis

  • Behaviour metrics computed from logs: whether what an agent says matches what it does, rule-following and consistency.
  • Strategy analysis for worlds that provide an analyst: tic-tac-toe exactly, and chess with a short search that finds blunders such as a hanging piece.

v0.15: Small models and chess opponents (every pillar), released · specs: SPEC-025 small-model reliability, SPEC-026 chess opponents

  • Constrained output: the model server only lets a model reply with a legal move.
  • Lenient reading of clear but imperfect replies, the same for every model, with the log saying how each reply was read.
  • agentplaykit model check: how reliably a model plays, and which settings help.
  • scripted/chess opponents at three levels, and a ladder experiment to place a model between them.

v0.16: Play it yourself (connect AI agents), released · spec: SPEC-027 play it yourself

  • A built-in human agent: take a seat in any world, against a model or a scripted opponent.
  • In the terminal (play --human), with the board drawn as text, or in the browser (play --human --live), clicking moves on the board.
  • The person sees exactly what a model sees, and nothing hidden from them.

v0.17: Game library (build environments), released · spec: SPEC-028 OpenSpiel games

  • Any of OpenSpiel's 120+ games as a world: world: {use: openspiel/kuhn_poker}.
  • Games with hidden information, chance, simultaneous moves and cooperation, each player seeing only what OpenSpiel says they may see.
  • Featured games with written rules and readable observations: Connect Four, Kuhn and Leduc poker, Liar's Dice, Goofspiel, Battleship, Hanabi and the Prisoner's Dilemma.

v0.18: Worlds without code (build environments), released · spec: SPEC-029 worlds without code

  • A world in one YAML file, no Python: a game of choices and payoffs, a quiz from a CSV file, or a conversation with private briefs and a final choice.
  • Checked like a scenario, with every problem and a hint; no code ever runs.
  • agentplaykit new world NAME --kind matrix|quiz|conversation writes a starter that runs.

v0.19: Shared workspace (build environments, evaluate behaviour), released · spec: SPEC-030 shared workspace

  • One or more agents in one isolated computer with a shared folder, roles and messages, on any task: build a web page, write a tool and its tests, analyse data, fix a bug.
  • Checked by commands, by clicking through a page in a headless browser, or by a judge; or each agent alone on the same task, to compare them.
  • Who changed what, turn by turn; the files they made kept, and the page they built viewable in the replay.
  • You control the computer: offline or online, install and start anything before they begin, root or not, ports to watch their work, and a shell into it during or after the run.

Later

  • A browser world for testing websites, with an allow-list of sites.
  • External worlds over HTTP, and Minecraft.
  • Training data from logs, and publishing results to the Hugging Face Hub.