This project provides agent framework for creating market agents with economic incentive. The agents have utilities for parallel AI inference and prompt caching using large language models (LLMs).
To install the market_agents
package in editable mode, follow these steps:
-
Clone the repository:
git clone https://github.com/marketagents-ai/MarketAgents.git cd MarketAgents
-
Install the package in editable mode:
pip install -e .
-
Install the required dependencies:
pip install -r requirements.txt
-
Follow the README.md (just navigate to market_agents/agents/db)
cat ./market_agents/agents/db/README.md
For Windows machines
type .\market_agents\agents\db\README.md
-
Make a copy of .env.example
cp .env.example .env
For Windows machines
copy .env.example .env
Note: Setup API keys and more...
-
Edit the
market_agents/orchestrator_config.yaml
accoding to your configuration
You can run the run_simulation.sh
as follows:
sh market_agents/run_simulation.sh
For Windows machines
- Command Line (CMD)
call market_agents\run_simulation.bat
- PowerShell
.\market_agents\run_simulation.bat