Note: AutoGen Studio is meant to help you rapidly prototype multi-agent workflows and demonstrate an example of end user interfaces built with AutoGen. It is not meant to be a production-ready app.
OPENAI_API_KEY
or AZURE_OPENAI_API_KEY
.
For example, in your terminal, you would set the API key like this:
Note: This approach requires some familiarity with building interfaces in React.If you prefer to install from source, ensure you have Python 3.10+ and Node.js (version above 14.15.0) installed. Here’s how you get started:
samples/apps/autogen-studio/frontend
directory, install dependencies, and build the UI:
http://localhost:8081/
to begin using AutoGen Studio.
Now that you have AutoGen Studio installed and running, you are ready to explore its capabilities, including defining and modifying agent workflows, interacting with agents and sessions, and expanding agent skills.
generate_images
), extensive docstrings and good defaults (e.g., writing out files to disk for persistence and reuse). You can add new skills to AutoGen Studio via the provided UI. At inference time, these skills are made available to the assistant agent as they address your tasks.
fetch_profile
, find_papers
, generate_images
. Please feel free to review the repo to learn more about how they work.
GroupChat
, allowing for richer interaction between multiple agents or dynamic topologies.help-wanted
.studio
for any issues, questions, and PRs related to Studio.autogentstudio/utils/dbdefaults.json
file which is used to initialize the database.
Q: If I want to reset the entire conversation with an agent, how do I go about it?
A: To reset your conversation history, you can delete the database.sqlite
file. If you need to clear user-specific data, remove the relevant autogenstudio/web/files/user/<user_id_md5hash>
folder.
Q: Is it possible to view the output and messages generated by the agents during interactions?
A: Yes, you can view the generated messages in the debug console of the web UI, providing insights into the agent interactions. Alternatively, you can inspect the database.sqlite
file for a comprehensive record of messages.
Q: Where can I find documentation and support for AutoGen Studio?
A: We are constantly working to improve AutoGen Studio. For the latest updates, please refer to the AutoGen Studio Readme. For additional support, please open an issue on GitHub or ask questions on Discord.
Q: Can I use Other Models with AutoGen Studio?
Yes. AutoGen standardizes on the openai model api format, and you can use any api server that offers an openai compliant endpoint. In the AutoGen Studio UI, each agent has an llm_config
field where you can input your model endpoint details including model name
, api key
, base url
, model type
and api version
. For Azure OpenAI models, you can find these details in the Azure portal. Note that for Azure OpenAI, the model name
is the deployment id or engine, and the model type
is “azure”.
For other OSS models, we recommend using a server such as vllm to instantiate an openai compliant endpoint.
Q: The Server Starts But I Can’t Access the UI
A: If you are running the server on a remote machine (or a local machine that fails to resolve localhost correctly), you may need to specify the host address. By default, the host address is set to localhost
. You can specify the host address using the --host <host>
argument. For example, to start the server on port 8081 and local address such that it is accessible from other machines on the network, you can run the following command: