Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Ag2 (Formerly Autogen) Example - Show how to deploy it on Vertex AI Reasoning Engine #158

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
35 changes: 35 additions & 0 deletions genai-on-vertex-ai/agents/reasoning_engine/ag2/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# AG2 Multi-Agent Research Notebook on Vertex AI Reasoning Engine

This notebook provides a practical demonstration of utilizing the AG2 (formerly Autogen) framework, a framework for developing and deploying multi-agent AI systems, with Vertex AI's Reasoning Engine to conduct collaborative research using multiple AI agents. This notebook demonstrates the following key features:

## Functionality

- **Multi-Agent Collaboration:** Creates a research team of specialized AI agents, including a Researcher, Data Analyst, Literature Reviewer, and Fact Checker. These agents work together using AG2's group chat functionality to efficiently conduct research and generate reports.

- **Topic Customization:** Allows users to specify the research topic of interest, providing control over the scope and focus of the multi-agent investigation.

- **Remote Deployment:** Leverages Vertex AI's Reasoning Engine for remote deployment and execution of the multi-agent application, ensuring scalability and resource management.

- **Literature Review Generation:** Facilitates the generation of a comprehensive literature review based on the research conducted by the AI agents.

- **Report Persistence:** Provides the option to save the generated literature review to a file for offline review, editing, and collaboration.

## What This Notebook Covers
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure why we need to have this README for just one notebook. Ideally if we want to have more notebooks for AG2, this README would be good. If we want to keep this README, I would recommend making it more generic and explain more on what is AG2, the benefits of running AG2 on Vertex Reasoning Engine.

We can then have a section called notebooks and then provide a link to the notebook and a short 1-2 lines on what that notebook does.


1. **Environment Setup:** Guides users through installing the necessary dependencies, including AG2 and the Vertex AI SDK, as well as setting up authentication for Google Cloud access.

2. **Configuration:** Explains and demonstrates the configuration of essential parameters, such as the Gemini model to use, project ID, storage bucket, caching seed, and location for deployment.

3. **Topic Definition:** Shows how to specify the research topic for the multi-agent team, empowering users to tailor the research to their specific interests.

4. **Deployment:** Provides instructions on deploying the multi-agent application to Vertex AI's Reasoning Engine for efficient and scalable execution.

5. **Monitoring:** Guides users on how to monitor the deployment progress and status within the Google Cloud Platform (GCP) console.

6. **Report Persistence:** Demonstrates how to save the generated literature review to a file for offline access and further analysis.

This notebook serves as a valuable resource for understanding and implementing multi-agent research workflows with AG2 and deployed on Google Cloud's Vertex AI via the Reasoning Engine.

[Link to Notebook](genai-on-vertex-ai/agents/reasoning_engine/ag2/ag2_on_reasoning_engine_via_vertex.ipynb)

Explore the notebook and contribute to the project!
Loading
Loading