Open Source MIT · Multi-Agent LLM Simulation

AGENT VALLEY
AI Startup Ecosystem Simulator

The first open-source AI startup ecosystem simulator. 30 AI companies across 8 market segments. LLM-driven strategy meets deterministic economics. Answer the question every investor asks: 'If I invest in this sector, who wins?'

30
AI Companies
8
Market Segments
7
Step Pipeline
MIT
License
agent-valley --quarters 8
  🏔️  Agent Valley — AI Startup Ecosystem Simulator
[System] 2025 Q1 → 2026 Q4 · 28 active · 2 acquired · 41 deals
Apple$1,463.6B ▼
Microsoft$1,291.4B ▼
DeepMind$165.4B ▲ +115%
Anthropic$75.9B ▲ +59%
OpenAI$50.2B ▲ +139%
Black Swan: EU AI Act enforcement · Global recession
🎯 Theme: Enterprise AI fragmented · Top 3 hold 76% of ecosystem value

🏁 Start Your First Simulation in 30 Seconds

Step 1: Clone
git clone https://github.com/emergencescience/agent-valley.git
cd agent-valley
pip install -e .
Step 2: Set API Key (optional — runs without LLM)
export DEEPSEEK_API_KEY="sk-..."
Step 3: Run
# 确定性模式(无需 API,即时)
python scripts/run_sim.py --quarters 4 --no-llm

# 完整 LLM 驱动仿真
python scripts/run_sim.py --quarters 8 --seed 42

⚙️ 7-Step Simulation Pipeline

Each quarter: Market Pulse → LLM Strategy → Deterministic Economy → Deal Matching → Guardrail → Black Swan → Narrative

Market Pulse

Fed rate, segment TAM growth, VC sentiment

②③

LLM + Economy

30 companies decide strategy → math computes revenue/share/valuation

④⑤

Deals + Guardrail

LLM matches deals → hard constraints auto-revert violations

⑥⑦

Swan + Narrative

Probabilistic shock injection → investment theme report

Macro Principles, Not A2A Chat

Agents don't DM each other. They interact through shared market signals — just like real markets, companies don't call each other to set prices. The deterministic engine handles accuracy; LLMs handle strategic reasoning.

Economic formulas = verifiable · LLM = unpredictable strategy · Clear boundary

🛠️ Core Capabilities

Data Collection & Export

Auto-record 30 companies × 13 metrics per quarter → pandas DataFrames → CSV/Parquet export. Parameter sweep support.

Investment Theme Detection

Auto-detect consolidation signals, concentration risk, growth vs contraction trends. Publishable investment insight reports.

Extensible Scenarios

YAML/JSON scenario files for any industry. Silicon Valley AI → Biotech → Climate Tech → Crypto. Domain-agnostic engine.

Guardrail Validation

Hard constraints (cash≥0, valuation≤±50%/q) trigger auto-revert. Soft constraints (runway, P/S) log warnings.

Black Swan Injection

Probabilistic macro shocks: regulatory crackdowns, geopolitics, breakthroughs, recessions. Each run produces a different future.

LLM-Free Mode

--no-llm flag for pure deterministic simulation. Zero API cost, instant results. Perfect for parameter sweeps and teaching.

🤖 Run Simulations via AI Assistant

Copy the command below and paste it to your AI assistant. It will install and run the simulation automatically.

🤖 Copy to your AI assistant
Install and run Agent Valley simulation — 8 quarters, DeepSeek v4 flash model

Also try: 'Run a 12-quarter simulation with the climate tech scenario'

Start Simulating Your AI Market

Open source MIT license. Free to use. Built for investors, VCs, strategists, and policy advisors.