This is an implementation for a stock comparer using AutoGen.
There are two agents:
- Assistant: Takes the user prompt, writes the script, and interprets any errors in code execution.
- Executor: Executes scripts in a docker container, installing packages if necessary.
This code is heavily inspired from the quick start.
Demo: https://www.youtube.com/watch?v=ZbrF3raMwHA
To run this yourself, you'll need an OpenAI API key. One invocation of the program should cost less than 1c.
export OPENAI_API_KEY="<your key>"
You'll also need to install autogen packages from pip.
pip install autogen-core==0.4.0.dev2 autogen-ext==0.4.0.dev2