Parallel attempts
Four reasoning styles, deterministic seeds, bounded workers, and one shared deadline.
An AIMO3-style math reasoning agent for vLLM and OpenAI-compatible models. It runs parallel solutions, checks calculations in Python, and stops when the answers agree.
A model can write a promising solution and still miss the integer, repeat the same mistake eight times, or spend the full budget on one stuck request. I pulled that surrounding logic into a package that can be tested without loading a model.
Four reasoning styles, deterministic seeds, bounded workers, and one shared deadline.
Structured tool calls run in a separate local process with time and output limits.
Boxed integers are counted first. Token entropy only settles equal-vote cases.
The demo uses fake attempts, so it works on a laptop and does not download model weights.
git clone https://github.com/xufenghe/aimo3-agentic-inference.git
cd aimo3-agentic-inference
python -m venv .venv
source .venv/bin/activate
python -m pip install -e .
aimo3 demo
problem → diverse attempts → Python checks → boxed answers → vote → result
The included client uses Chat Completions and works with vLLM-style endpoints. The documented example uses gpt-oss-20b, but the model name is configurable.
No. It is an independent clean-room implementation inspired by the AI Mathematical Olympiad ecosystem.
The package, tests, and demo do not. Real inference needs a local or remote model endpoint.
Not against hostile code. The local runner is for trusted experiments; untrusted code belongs in a container or microVM.
Not yet. The evaluator is included so results can be published with the exact model and settings later.