brightertiger
MCP Serverbrightertigerpublic

agents demo

LLM Agents Demo using Google ADK

Repository Info

0
Stars
0
Forks
0
Watchers
0
Issues
Python
Language
-
License

About This Server

LLM Agents Demo using Google ADK

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

Agents Demo

A multi-agent system that demonstrates the power of AI agents working together to extract and process information from web pages. This project showcases how specialized AI agents can collaborate to perform complex tasks like web scraping, address extraction, and geocoding. Developed using Google ADK and MCP Platform.

Overview

This project implements a team of specialized AI agents that work together to:

  1. Crawl web pages and extract their content
  2. Identify and parse addresses from the content
  3. Convert addresses into geographic coordinates
  4. Present the results in a structured format

The system uses Google's ADK (Agent Development Kit) and MCP (Multi-Component Platform) to create a robust pipeline for information extraction and processing. Each agent in the system has a specific role:

  • Crawler Agent: Fetches and cleans webpage content using BeautifulSoup4
  • Address Agent: Identifies and extracts structured address information from text
  • Geocoding Agent: Converts addresses into precise geographic coordinates
  • Manager Agent: Orchestrates the workflow between all agents

Project Structure

.
├── src/
│   ├── agents/          # Core agent implementation
│   │   ├── agent.py     # Main agent logic and coordination
│   │   └── config.yaml  # Agent configurations and instructions
│   └── mcp_server/      # MCP server implementation
├── assets/              # Static assets
├── .env                 # Environment variables
└── pyproject.toml       # Project dependencies

How It Works

The system follows a sophisticated workflow:

  1. Web Content Extraction: The crawler agent fetches webpage content and cleans it for processing
  2. Address Identification: The address agent analyzes the content to find and structure address information
  3. Geocoding: Each identified address is converted into precise latitude and longitude coordinates
  4. Result Compilation: The manager agent combines all information into a structured JSON output

The agents communicate through a well-defined protocol, ensuring reliable data flow and error handling throughout the process.

Prerequisites

  • Python 3.12 or higher
  • Poetry for dependency management
  • Google API key for LLM Calls

Installation

  1. Clone the repository:
git clone https://github.com/yourusername/agents-demo.git
cd agents-demo
  1. Install dependencies using Poetry:
poetry install
  1. Set up environment variables:
    • Copy .env.example to .env
    • Add your Google API key for geocoding services

Usage

The system can be used to extract and geocode addresses from any webpage. Here's a basic example:

from src.agents.agent import main
import asyncio

# Run the agent system
asyncio.run(main(config, query, user_id, session_id))

The output will be a JSON file containing all extracted addresses with their corresponding geographic coordinates.

Development

This project uses:

  • Poetry for dependency management
  • MCP for multi-component platform integration
  • Google ADK for agent development
  • BeautifulSoup4 for web scraping
  • LiteLLM for language model interactions
  • JSON Repair for data handling

Technical Details

The system is built with scalability and reliability in mind:

  • Each agent operates independently with clear responsibilities
  • Error handling and logging are implemented throughout
  • The system can process multiple addresses in parallel
  • Results are cached and stored in a structured format

Quick Start

1

Clone the repository

git clone https://github.com/brightertiger/agents-demo
2

Install dependencies

cd agents-demo
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownerbrightertiger
Repoagents-demo
LanguagePython
License-
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation