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?'
🏔️ Agent Valley — AI Startup Ecosystem Simulator
git clone https://github.com/emergencescience/agent-valley.git cd agent-valley pip install -e .
export DEEPSEEK_API_KEY="sk-..."
# 确定性模式(无需 API,即时) python scripts/run_sim.py --quarters 4 --no-llm # 完整 LLM 驱动仿真 python scripts/run_sim.py --quarters 8 --seed 42
Each quarter: Market Pulse → LLM Strategy → Deterministic Economy → Deal Matching → Guardrail → Black Swan → Narrative
Fed rate, segment TAM growth, VC sentiment
30 companies decide strategy → math computes revenue/share/valuation
LLM matches deals → hard constraints auto-revert violations
Probabilistic shock injection → investment theme report
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.
Auto-record 30 companies × 13 metrics per quarter → pandas DataFrames → CSV/Parquet export. Parameter sweep support.
Auto-detect consolidation signals, concentration risk, growth vs contraction trends. Publishable investment insight reports.
YAML/JSON scenario files for any industry. Silicon Valley AI → Biotech → Climate Tech → Crypto. Domain-agnostic engine.
Hard constraints (cash≥0, valuation≤±50%/q) trigger auto-revert. Soft constraints (runway, P/S) log warnings.
Probabilistic macro shocks: regulatory crackdowns, geopolitics, breakthroughs, recessions. Each run produces a different future.
--no-llm flag for pure deterministic simulation. Zero API cost, instant results. Perfect for parameter sweeps and teaching.
Copy the command below and paste it to your AI assistant. It will install and run the simulation automatically.
Also try: 'Run a 12-quarter simulation with the climate tech scenario'
Open source MIT license. Free to use. Built for investors, VCs, strategists, and policy advisors.