| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
A reproducible framework for studying emergent economic behavior with LLM agents in synthetic marketplaces
A research framework that treats LLMs as bounded policy approximators in a controlled marketplace environment. Study how cognitive architectures shape economic outcomes through systematic experimentation with freelancer and client agents.
git clone [REPOSITORY_URL]
cd simulated_marketplace
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -r requirements.txt# Option A: Environment variable
export OPENAI_API_KEY='sk-your-key-here'
# Option B: Configuration file
cp config/private_config.example.py config/private_config.py
# Edit with your API credentials# Test your connection
python test_llm_connection.py
# Run basic simulation
python run_marketplace.py --freelancers 20 --clients 5 --rounds 50
# Analyze results
python analyze_marketplace.py --simulation-file results/your_simulation.jsonSimulation Engine
Agent Types
Analysis Tools
✅ Controlled Experimentation
✅ Advanced Reputation System
✅ Market Mechanics
✅ Type Safety & Validation
# Compare agent reasoning capabilities
python run_marketplace.py --baseline-scenario random # Noise baseline
python run_marketplace.py --baseline-scenario greedy # Rational baseline
python run_marketplace.py # Full LLM agents
# Study reflection mechanisms
python run_marketplace.py --reflection-probability 0.0 # No reflections
python run_marketplace.py --reflection-probability 0.1 # Low reflection rate# Bid cooloff effects
python run_marketplace.py --bid-cooloff-rounds 0 # No re-bidding
python run_marketplace.py --bid-cooloff-rounds 5 # 5-round cooloff
# Job posting frequency
python run_marketplace.py --job-posting-cooldown-min 1 --job-posting-cooldown-max 3 # High frequency
python run_marketplace.py --job-posting-cooldown-min 5 --job-posting-cooldown-max 15 # Low frequency# Large-scale experiments
python run_marketplace.py --freelancers 200 --clients 30 --rounds 100 --quiet --max-workers 20
# Accelerated progression
python run_marketplace.py --max-active-jobs 5 # Higher freelancer capacity| Category | Metrics |
|---|---|
| Efficiency | Fill rate, bid efficiency, market health score |
| Competition | Bids per job, participation rate, selectivity |
| Inequality | Work distribution (Gini coefficient), tier distribution |
| Adaptation | Reputation progression, reflection patterns, strategy changes |
| Market Health | Saturation risk, engagement rates, recovery patterns |
The framework makes several key assumptions to enable controlled experimentation:
Market Structure
Agent Behavior
Economic Model
Technical Implementation
See FRAMEWORK_ASSUMPTIONS.md for complete details
All results are saved to results/ directory:
Comprehensive testing ensures framework reliability:
# Run full test suite (174+ tests)
python -m pytest
# Test specific components
python -m pytest tests/test_baseline_agents.py # Baseline agent validation
python -m pytest tests/test_marketplace_integration.py # Integration testsImmediate Extensions
Long-term Opportunities
This research demonstrates AI-driven scientific discovery. Contributions welcome for:
See CONTRIBUTING.md for detailed guidelines.
Silvia Terragni
Email: silviaterragni at upwork.com
If you use this framework in your research, please cite our paper:
@inproceedings{terragni2025simulating,
title={Simulating Two-Sided Job Marketplaces with AI Agents},
author={Terragni, Silvia and Nojavanasghari, Behnaz and Yang, Frank and Rabinovich, Andrew},
booktitle={Open Conference of AI Agents for Science},
year={2025},
url={https://openreview.net/forum?id=pjpkEHH5YS}
}Paper: Simulating Two-Sided Job Marketplaces with AI Agents
This research was conducted almost entirely by AI agents as part of the Agents4Science 2025 conference exploring AI-generated scientific research. The work represents a novel approach to scientific inquiry where artificial intelligence serves as both researcher and subject.
| Back | FazBrowse Home | New Git URL |