h-a-forster

Mm Arena — AI skill for Claude Code

AI community

Market-making games as a benchmark for LLM agents, scored exactly against a Bayes-optimal quoter.

How to install Mm Arena

This entry records only its repository, not the path inside it, so there is no exact command to give. Open h-a-forster/mm-arena and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Mm Arena does

Market-making games as a benchmark for LLM agents, scored exactly against a Bayes-optimal quoter.

Alternatives in AI

  • Mem0 MCP Selfhosted — Self-hosted mem0 MCP server for Claude Code 78 ★
  • Scone Bench — Benchmark for evaluating LLM agents on smart-contract vulnerability discovery and exploitation 69 ★
  • Outsmart — An LLM Arena that pits AI models against each other in a battle of diplomacy and deviousness 58 ★

README

mm-arena

[![CI](https://github.com/h-a-forster/mm-arena/actions/workflows/ci.yml/badge.svg)](https://github.com/h-a-forster/mm-arena/actions/workflows/ci.yml) [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE) [![Python 3.11+](https://img.shields.io/badge/python-3.11%2B-blue.svg)](pyproject.toml)

A benchmark of Bayesian reasoning for LLM agents in market-making games with a fully disclosed trader model, scored exactly against a myopic Bayes quoter.

"Make me a market on the sum of three dice" is a standard trading-interview game. You quote a bid and an ask, information arrives, some counterparties know more than you, and you settle at the true value. Doing it well takes two skills: updating a belief from reveals *and from who trades with you*, and pricing the risk of trading against someone better informed (adverse selection).

mm-arena puts an LLM in the market maker's seat. The prompt states the trader model, including the informed share α and the noise scale s, and the hidden state is small enough to enumerate, so the simulator knows the exact public posterior at every step. Every quote gets an exact expected value, and every agent is compared with a myopic Bayes quoter on the same dice and the same counterparties.

So the scores measure Bayesian bookkeeping and quote pricing under full disclosure, not market making at large: nobody has to estimate α or s from the flow, and the score is expected P&L, so inventory risk goes unpriced. See [Limitations](#limitations).

Findings

  • Fable 5.2 at low effort comes close to the myopic Bayes quoter, so core-v1 now separates strong models poorly. It captures 97.4% [96.5, 98.1] of the Bayes edge: 2.6 [1.9, 3.5] points below the myopic reference and 3.4 [2.6, 4.3] below one-step lookahead (100.8). It is above every other LLM setup, including Fable 5.1 @high by 6.7 [4.4, 9.5] and Opus 5.5 @high by 9.7 [6.5, 13.2] points (first runs; Holm p 0.014 for each). With 2.6 points left b