-
Notifications
You must be signed in to change notification settings - Fork 150
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
awaemmanuel
wants to merge
8
commits into
GoogleCloudPlatform:main
Choose a base branch
from
awaemmanuel:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
7aa57a8
Add: Ag2 on Reasoning Engine
awaemmanuel 978b2d4
Fix: Notelinter issues
awaemmanuel f101b9a
Fix: Markdown Linter comments
awaemmanuel 6273337
Update genai-on-vertex-ai/agents/reasoning_engine/ag2/README.md
awaemmanuel 52ee20a
Update genai-on-vertex-ai/agents/reasoning_engine/ag2/README.md
awaemmanuel 167259a
Update genai-on-vertex-ai/agents/reasoning_engine/ag2/README.md
awaemmanuel 2fa203b
Fix: Single trailing line at EOF
awaemmanuel 30d6489
Fix: Prettier formatting
awaemmanuel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
||
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! |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
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.