Tool

Simulate market demand with 128 AI consumer agents

MarketFish is a multi-agent market simulation engine where 128+ AI consumers shop to predict product success.

Works with openaianthropicgoogledeepseekqwen

91
Spark score
out of 100
Updated 26 days ago
Version 1.0.0
Models
deepseek v3

Add to Favorites

Why it matters

Validate product-market fit before launch by simulating a digital marketplace where 128 heterogeneous AI consumers with distinct identities, budgets, and biases make purchase decisions across 30 rounds, revealing demand patterns, optimal pricing, and competitive dynamics.

Outcomes

What it gets done

01

Generate 128 diverse AI consumer agents with unique demographics, financial constraints, and behavioral biases using 6 different LLM providers

02

Run 30-round market simulations tracking purchase decisions, churn patterns, social influence, and memory-based reflections

03

Extract market structure and knowledge graphs from seed data to identify pain points, entities, and product opportunities

04

Produce evidence-based reports showing buyer profiles, survival scores, optimal pricing, and reasons competitors failed

Install

Add it to your toolbox

Run in your project directory:

curl -fsSL https://spark.entire.vc/get/key-wxh-market-fish | bash

Overview

Market Fish

MarketFish is a multi-agent market simulation engine that runs 128+ AI consumer agents through 30 rounds of shopping to predict product survival and pricing. Use it to validate a product idea, explore new directions from seed data, or pit your idea against AI-generated competitors before launch.

What it does

MarketFish is a multi-agent market simulation engine: instead of asking one LLM "will this product succeed?", it builds a digital market with 128+ AI consumers - each with its own identity, budget, emotions, and biases - and lets them shop across 30 rounds. Their purchase decisions, churn patterns, and social influence reveal what real users would do, built on six academic papers (Generative Agents, OASIS, TwinMarket, Agent Bazaar, EconSimulacra, SMIF) and 11 LLM providers.

When to use - and when NOT to

Use it in one of three modes: Explore (feed it seed data and let AI discover and rank product directions), Validate (test your own product idea for a survival score, buyer profiles, and optimal price), or Hybrid (pit your idea against AI-generated competitors in the same sandbox). Compared to MiroFish, the most well-known general-purpose social-simulation engine, MarketFish is scoped specifically to product-market prediction, runs as a single Streamlit app with zero external memory dependencies (versus Flask+Node.js+Docker and an external Zep Cloud memory service), and supports 11 LLM providers across China and global markets rather than OpenAI-compatible only.

Inputs and outputs

Input: seed market data (static JSON) or your own product idea and pricing. Output: a five-stage pipeline result - market ontology, a knowledge graph of entities and pain points, 128 heterogeneous AI consumer agents, a 30-round simulation, and an evidence report of who bought, why, and what killed competitors.

git clone https://github.com/Key-wxh/market-fish.git
cd market-fish
cp .env.example .env
pip install -r requirements.txt
streamlit run streamlit_app.py

The CLI runs the same pipeline headlessly: python run.py --mode validate --name "My App" --pricing "$10", with --reuse-agents to reuse a prior agent population and save cost.

Integrations

Six V6 modules implement the underlying papers: Memory (Generative Agents, UIST 2023) lets agents remember purchases and reflections; a Time Engine and RecSys (both from OASIS, 2025) add realistic 24-hour activation and personalized recommendations; BDI v2 (TwinMarket, NeurIPS 2025) runs a six-step cognitive loop with behavioral biases; Stress (EconSimulacra, 2026) adjusts willingness to pay under financial or social pressure; and Grounding (SMIF, ETASR 2026) applies RAG plus rule constraints for realistic decisions. Supports 11 LLM providers - DeepSeek, Qwen, Doubao, Zhipu, Baidu, and Hunyuan in China, plus OpenAI, Anthropic, Google, Mistral, and Meta globally - with just one API key required to run.

Who it's for

Founders and product teams who want simulated market evidence - buyer profiles, pricing, and competitive survival odds - before launching, instead of guessing or asking a single LLM for a verdict. Open source under the MIT license.

Source README

stars PH v6.0 MIT Python 3.12+ tests 11 providers

🐟 MarketFish

Don't guess. Simulate.

Before you launch, let hundreds of AI consumers vote with their wallets.


MarketFish is a multi-agent market simulation engine. Instead of asking one LLM "will this product succeed?", it builds a digital market with 128+ AI consumers - each with their own identity, budget, emotions, and biases - and lets them shop across 30 rounds. Their purchase decisions, churn patterns, and social influence reveal what real users would do.

Built on 6 academic papers (Generative Agents, OASIS, TwinMarket, Agent Bazaar, EconSimulacra, SMIF) and 11 LLM providers.

δΈ­ζ–‡ζ–‡ζ‘£

Quick Start

git clone https://github.com/Key-wxh/market-fish.git
cd market-fish
cp .env.example .env
# Edit .env β€” add at least ONE LLM API key (DeepSeek is cheapest)
pip install -r requirements.txt
streamlit run streamlit_app.py

Open http://localhost:8501 β†’ pick a mode β†’ run.

Screenshots

Products Evidence Agents
Agent Graph RL Strategy Coupling

How It Works

Seed Data (static JSON) β†’ 5-Stage Pipeline
  1. Ontology β€” extract market structure
  2. Knowledge Graph β€” entities, relationships, pain points
  3. Agent Factory β€” 128 heterogeneous AI consumers (6 LLMs)
  4. Simulation β€” 30 rounds: decisions, coupling, RL, memory
  5. Report β€” evidence: who bought, why, what killed competitors

V6 Modules (6 papers implemented)

Module Paper What it does
Memory Generative Agents (UIST 2023) Agents remember purchases, regrets, reflections
Time Engine OASIS (2025) Realistic 24h activation - not all active every round
RecSys OASIS (2025) Personalized product recommendations
BDI v2 TwinMarket (NeurIPS 2025) 6-step cognitive loop + behavioral biases
Stress EconSimulacra (2026) Financial/social pressure β†’ adjusted willingness to pay
Grounding SMIF (ETASR 2026) RAG + rule constraints for realistic decisions

Modes

Mode Input Output
πŸ” Explore Seed data AI discovers product directions, ranked
βœ… Validate Your product idea Survival score, buyer profiles, optimal price
βš”οΈ Hybrid Your product + data Your idea vs AI competitors, same sandbox

Supported LLM Providers

11 providers. One is enough. More = more diverse agents.

| πŸ‡¨πŸ‡³ China | DeepSeek, Qwen, Doubao, Zhipu, Baidu, Hunyuan |
| 🌍 Global | OpenAI, Anthropic, Google, Mistral, Meta |

CLI

python run.py --mode explore                           # Discover directions
python run.py --mode validate --name "My App" --pricing "$10"  # Test your idea
python run.py --mode explore --reuse-agents            # Reuse agents (save cost)

Project Structure

market-fish/
β”œβ”€β”€ engine/         # Core engine (20+ modules)
β”‚   β”œβ”€β”€ simulator.py, agent_factory.py    # Simulation core
β”‚   β”œβ”€β”€ agent_store.py, memory.py         # V6: persistence + memory
β”‚   β”œβ”€β”€ temporal.py, recsys.py            # V6: time + recommendations
β”‚   β”œβ”€β”€ bdi_v2.py, stress.py, grounding.py # V6: cognition + stress + validation
β”œβ”€β”€ config/         # Model registry + parameters
β”œβ”€β”€ locales/        # EN/ZH i18n (300+ keys)
β”œβ”€β”€ tests/          # 26/26 tests
β”œβ”€β”€ streamlit_app.py  # Dashboard
β”œβ”€β”€ run.py          # CLI
└── .env.example    # API key template

Academic Foundation

Paper Venue ID Module
Generative Agents UIST 2023 2304.03442 Memory
OASIS 2025 2411.11581 RecSys + TimeEngine
SMIF ETASR 2026 10.48084/etasr.16536 Grounding
Agent Bazaar Princeton 2026 2605.17698 RL
TwinMarket NeurIPS 2025 2502.01506 BDI v2
EconSimulacra 2026 2606.26883 Stress

vs MiroFish

MiroFish (5.5k ⭐) is the most well-known multi-agent simulation engine. Both projects simulate social/market behavior with AI agents - but with different focuses:

MiroFish MarketFish
Scope General-purpose social simulation Product market prediction
Architecture Flask + Node.js + Docker Streamlit single-app
Memory Zep Cloud (external service) Built-in (local JSON, zero external deps)
LLMs OpenAI-compatible only 11 providers (China + Global)
Data User-uploaded documents 8-source live ingestion pipeline
Language EN/ZH EN/ZH
License AGPL-3.0 MIT

FAQ

Common questions

Discussion

Questions & comments Β· 0

Sign In Sign in to leave a comment.