This repository provides a simple command-line client for interacting with the MetaGPT API using the openai
Python library.
- Create a virtual environment (optional).
- Install dependencies:
pip install -r requirements.txt
- Set the
OPENAI_API_KEY
environment variable with your API key.
Run the client and pass the prompt as an argument:
python metagpt_client.py "Hello MetaGPT"
The script prints the response from the MetaGPT API.