Open science for outcome-aware inference routing for AI agents. Public research surface for Ainfera.
This repository contains the research artifacts behind Ainfera's outcome-aware routing methodology. Everything is reproducible — benchmarks, datasets, evaluation harness, and methodology documentation.
| Directory | Description |
|---|---|
benchmark/ |
Benchmark harness — run_benchmark.py |
methodology/ |
Methodology docs — judge protocol, empirical Q, exploration floor |
datasets/ |
Dataset generation + licensing |
eval/ |
Delta evaluation, replay, comparison |
labs/ |
Lab experiments |
preprint/ |
Preprint manuscripts (LaTeX) |
Ainfera's routing research is built on three principles:
- Outcome-aware — routing decisions learn from observed outcomes (latency, quality, cost), not static model metadata
- Reproducible — every benchmark run is deterministic with pinned seeds and recorded env state
- Open — methodology, datasets, and evaluation code are public under CC-BY 4.0
methodology/judge-protocol.md— LLM-as-judge evaluation protocolmethodology/q-empirical.md— Empirical quality scoringmethodology/exploration-floor.md— Exploration vs. exploitation in routing
# Install dependencies
pip install -r benchmark/requirements.txt
# Run the benchmark suite
python benchmark/run_benchmark.py
# Evaluate routing delta (before vs after)
python eval/delta.py --baseline results-baseline.json --candidate results-candidate.jsonSee CITATION.cff.
Creative Commons Attribution 4.0 International — see LICENSE.