Status: experimental simulation and published benchmark snapshots. The hosted default leaderboard was generated on February 18, 2026; it reports no active run. “Live” describes the web interface, not a continuously running or recently updated benchmark.
The simulation has simplifying assumptions. For example, scripts/run_t2_agentic_sim.py reprices competitors around the agent’s current price each day, so that runner does not model independent competitor pricing. Interpret scores within the exact runner, scenario, model, and evaluation configuration used. Current GitHub checks include failures; a complete passing release validation is not claimed here.
Prompt Battery (prompt) |
Agentic Simulation (agentic) |
|
|---|---|---|
| Tests | Raw model capability | Your full agent system |
| Memory/RAG | None | Bring your own |
| If it fails | Model's fault | System's fault |
| Typical runtime | Minutes | Hours to days |
| Typical calls | Dozens of prompts | 180–365 decision steps |
| Use when | Comparing LLMs | Comparing architectures |
The prompt battery is the cheap, fast gate. The agentic simulation evaluates agent systems within the implemented simulation assumptions. The live site supports both: ?mode=prompt and ?mode=agentic. For why the agentic benchmark is slow, see docs/why_it_takes_hours.md.
A business simulation benchmark for evaluating AI in complex e-commerce scenarios: inventory, pricing, competitors, and adversarial market events.
Unlike academic benchmarks that run in minutes, FBA-Bench simulates real consequences over time. Each decision affects tomorrow's state. Bad choices compound. Good strategies emerge.
- Tick-Based Simulation: Each day is a separate LLM call with real feedback loops.
- Double-Entry Ledger Subsystem: GAAP-style accounting primitives and an optional integrity check ("Panic Button") for hard-stop validation on math violations.
- Red Team Gauntlet: Automated adversarial attacks (phishing, compliance traps) to test agent security.
- Long-Term Memory (Per-Day Consolidation): Agents reflect nightly to promote/forget memories (prevents context saturation).
- Competition Awareness Modes: Agents can be configured to be "aware" vs "unaware" of competition.
- Agent-Based Consumer Modeling: Customers make utility-based purchase decisions, not simple demand curves.
- Budget & Cost Constraints: Enforce token/cost budgets per tick/run and per tool.
- Reproducibility Toolkit: Deterministic seeding + LLM response caching + golden-master regression checks.
- Plugin Framework: Extend with scenario/agent/tool/metrics plugins.
- Modular Agent Ecosystem: Supports CrewAI, LangChain, and custom frameworks via
src/agent_runners/. - Rich Scenarios: Supply chain shocks, price wars, demand spikes, and compliance traps.
- Observer-Mode Visualization: Godot Simulation Theater (cinematic camera, live feed, end-of-run recap) for recording runs.
- API & Dashboard: FastAPI backend with WebSocket streaming.
- Observability: ClearML, Prometheus, and OpenTelemetry integration.
- Settings File: Configure everything in
simulation_settings.yaml.
docker compose -f docker-compose.oneclick.yml up -d --build- API health (proxied):
curl.exe -sS http://localhost:8080/api/v1/health - FastAPI docs (proxied): http://localhost:8080/docs
poetry install
poetry run uvicorn fba_bench_api.main:get_app --factory --reload --host 127.0.0.1 --port 8000Swagger UI: http://localhost:8000/docs
The GUI reads connection settings from environment variables:
FBA_BENCH_HTTP_BASE_URL(default:http://localhost:8080)FBA_BENCH_WS_URL(default: derived from HTTP base,/ws/realtime)
Option 1: Use the launcher (starts backend if needed):
poetry run python launch_godot_gui.pyIf Godot is not on PATH, set GODOT_EXE to your Godot executable path.
Option 2: Connect the GUI to the one-click Docker stack (nginx on :8080):
docker compose -f docker-compose.oneclick.yml up -d --build
poetry run python launch_godot_gui.py --no-backend --port 8080Tip: toggle "Cinematic Mode" (or press C) to hide UI, enable auto-camera, and show the end-of-run recap.
See DEV_SETUP.md for detailed instructions, including Makefile commands for linting (make lint), testing (make test-all), and local CI (make ci-local).
src/: Core packages (fba_bench_core/,fba_bench_api/,agents/,agent_runners/,benchmarking/,scenarios/,plugins/,fba_events/).godot_gui/: Immersive Godot 4 GUI for simulation visualization, leaderboards, and sandbox experimentation.tests/: Unit/integration tests with pytest markers.config/andconfigs/: YAML configurations and templates.docs/: Architecture, API, and deployment guides.scripts/: Utility scripts for experiments and validation.alembic/: Database migrations.
- Architecture Overview: System design and module relationships.
- API Reference: Endpoints, auth, and realtime WebSocket.
- Testing Strategy: Guidelines for unit, integration, and performance tests.
- Deployment Guide: Docker Compose setups for dev/prod.
- Features Overview: Map of major systems and where they live.
- Ledger System: Double-entry accounting primitives and integrity checks.
- Red Team Gauntlet: Adversarial injection (phishing, compliance traps, manipulation).
- Long-Term Memory & Modes: Per-day memory consolidation + competition awareness.
- Agent-Based Consumer Modeling: Utility-based shoppers + visibility multipliers.
- Simulation Services: WorldStore + market simulation + supply chain disruptions.
- Market Dynamics: Competitors, reviews, ranking, and marketing/ads.
- Agent Runners: Runner adapters, modes, and configuration entry points.
- Services Catalog: Index of
src/services/modules. - Benchmarking System: Benchmark engine, configs, validators, and adapters.
- Metrics Suite: Finance/ops/trust/stress/adversarial/cost scoring.
- Budget Constraints: Token/cost budgets and tier configs.
- Reproducibility Toolkit: Deterministic seeding, caches, and golden masters.
- Audit & Replay: Where artifacts land, how to replay runs, and audit layers.
- Plugin Framework: Extension points for scenarios, agents, tools, and metrics.
- Contribution Guidelines: Coding standards and PR process.
- Promo Video Runbook: Record an observer-mode run (Godot + ffmpeg).
- Social Post Copy: Ready-to-paste launch content.
- Ad Creatives: Captions, voiceover script, and thumbnail text.
- Outreach Tracker: Lightweight template to track provider outreach.
We welcome contributions! Follow CONTRIBUTING.md for setup, coding standards (ruff, black, mypy), and Conventional Commits. Run make ci-local before submitting PRs.
Running long-horizon sims costs money (tokens + infra). If you want the leaderboard updated more often, want a specific model evaluated, or want to sponsor compute credits, see docs/sponsorship.md or email support@fbabench.com.
Open a GitHub issue using the "Leaderboard Run Request" template, or see docs/leaderboard_submissions.md.
This project is source-available under a non-commercial license. You can use it for personal/research/educational purposes, but commercial use requires a separate license. See LICENSE for details. Commercial licensing: support@fbabench.com.
- Issues: GitHub Issues
- Discussions: GitHub Discussions