Skip to content

marketagents-ai/MarketSurveys

Repository files navigation

Market Agents

Overview

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).

Image Alt Text

Installation

To install the market_agents package in editable mode, follow these steps:

  1. Clone the repository:

    git clone https://github.com/marketagents-ai/MarketAgents.git
    cd MarketAgents
  2. Install the package in editable mode:

    pip install -e .
  3. Install the required dependencies:

    pip install -r requirements.txt
  4. 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
  5. Make a copy of .env.example

    cp .env.example .env

    For Windows machines

    copy .env.example .env

    Note: Setup API keys and more...

  6. Edit the market_agents/orchestrator_config.yaml accoding to your configuration

Running Examples

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

About

A parallel llm agent based market survey orchestrator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 10