Skip to content

[GSSoC'26] Feat: Add Gemini-Powered Research Agent (Fixes #123)#124

Open
Kavurubuvanesh wants to merge 3 commits into
fetchai:mainfrom
Kavurubuvanesh:feature/issue-123-gemini-agent
Open

[GSSoC'26] Feat: Add Gemini-Powered Research Agent (Fixes #123)#124
Kavurubuvanesh wants to merge 3 commits into
fetchai:mainfrom
Kavurubuvanesh:feature/issue-123-gemini-agent

Conversation

@Kavurubuvanesh
Copy link
Copy Markdown

@Kavurubuvanesh Kavurubuvanesh commented May 22, 2026

Summary

This PR fully implements the dual-agent architecture I proposed in #123. It adds a complete, working example demonstrating how to integrate modern LLMs (Google Gemini) with the Fetch.ai network.

Core Additions:

  • gemini_agent.py: The core processor utilizing the google-genai SDK to handle asynchronous ResearchRequest messages.
  • user_agent.py: The client trigger script configured with asyncio handling for modern Python 3.12+ environments.
  • README.md: Comprehensive setup, API configuration, and execution instructions.
  • .gitignore: Security config to ensure .env API keys remain local.

Type of Change

  • New agent example
  • Bug fix
  • Documentation update
  • Refactor / cleanup
  • Other

Checklist

  • I have starred this repository.
  • I ran ruff check ..
  • I ran ruff format ..
  • I added/updated README.md for changed example(s).
  • I added .env.example if environment variables are required.
  • I added demo image/GIF (if applicable).
  • I added agent profile link (if applicable).
  • I updated CHANGELOG.md (required for non-doc changes).
  • I verified paths/commands used in docs.

Related Issue

Fixes #123

Notes for Reviewers

I am participating in GSSoC '26. Since I authored the architectural proposal for this in Issue #123, I went ahead and finalized the local implementation so it is ready for immediate review!

(Note: I left the ruff and CHANGELOG.md boxes unchecked as I wanted to get the core architecture up for review first, but I am standing by to run those formatting steps if the CI pipeline requires it!)

@Kavurubuvanesh
Copy link
Copy Markdown
Author

Hey @gautammanak1, thanks for the assignment! Just a quick heads-up: I've pushed a commit to apply the required ruff formatting and linting, and starred the repo to clear the stargazer-gate check. The CI pipeline is completely green now. Let me know if you need any other tweaks before merging!

@Kavurubuvanesh
Copy link
Copy Markdown
Author

Hey @gautammanak1, hope you had a great weekend! Just a quick follow-up on this PR—it looks like the CI pipeline is currently paused awaiting maintainer approval (standard GitHub fork security). Whenever you have a quick second to hit 'Approve and run', the Ruff formatting checks should light up green so we can get this merged! Let me know if you need anything else from my end.

@gautammanak1
Copy link
Copy Markdown
Collaborator

hey @Kavurubuvanesh Thanks for the contribution 🚀
This is a really nice.

One suggestion: please use the Agent Chat Protocol for agent communication to align with the other examples in the repository and keep consistency across agent-based demos.

You can refer to the existing examples and this documentation for reference:
Agent Chat Protocol Docs

Please check how other examples structure messaging and update this example accordingly.

@Kavurubuvanesh
Copy link
Copy Markdown
Author

Hey @gautammanak1, thanks for the review and the compliment! That makes total sense. I'll review the Agent Chat Protocol documentation and refactor the cross-agent messaging structure to align with the rest of the repository. I'll push the updated commit shortly.

@Kavurubuvanesh
Copy link
Copy Markdown
Author

Hey @gautammanak1, just giving this a quick bump as it’s been a few days!

The implementation has been completely refactored to use the standardized Agent Chat Protocol (ChatMessage, TextContent, ChatAcknowledgement), and all the required files from CONTRIBUTING.md (.env template, requirements, root index, and demo assets) are fully tracked and ready.

The branch is fully up to date—it just needs a quick 'Approve and run' to kick off the CI checks so we can get this merged. Appreciate your time!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Agent Example Proposal]: Gemini-Powered Research & Summarization Agent

2 participants