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 → 2027 Q1 · 38 active · 52 deals · 0 bankruptcies
Microsoft$240.9B ▲
Apple$218.2B ▼
DeepMind$185.9B ▲ +58%
Meta AI$163.0B ▲
Google$211.2B ▼
Black Swan: FTC/EU blocks acquisition · Gray Rhino: DC energy crisis
🎯 Theme: Ecosystem healthy · HHI=1083 · Resilience 85% · Microsoft as central hub

📊 Latest Simulation Insights

Based on 2027 Q1 · 38 agents · 52 deals · 0 bankruptcies

Herfindahl Index
1083
Unconcentrated
Market concentration (<1500=unconcentrated)
CR4 Ratio
53%
Top 4 share
Top 4 share of total market cap
Fragility Index
20%
Healthy
Cash conc. + burn pressure + revenue conc.
Resilience
85%
Robust
Cash buffer + diversity + survival + deal velocity

Segment Concentration

Enterprise AI
843
Consumer AI
1604
Healthcare AI
436
Dev Tools
460
Cloud Infra
1045
AGI Research
695
Robotics AI
417
Fintech AI
405
<1500 1500-2500 >2500

⚠️ Cash Runway Risk

Amazon1.4q
Microsoft8.4q
EU AI Office8.7q

Runway < 4 quarters = high risk

🤝 Partnership Network

Network Density5.3%
Top HubMicrosoft
Partnerships20

Microsoft chosen 20× — the ecosystem's de facto standard-setter

Data from 8-quarter LLM-driven simulation. Each run produces a different future.

Run Your Own Simulation →

🏁 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 LLM_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.