Content
# AI Agent with MCP 🤖

Welcome to the **AI Agent with MCP** repository! This project showcases a powerful server built using Google’s Agent Development Kit (ADK). It features multiple specialized agents that work together through intelligent routing. The system provides RESTful API endpoints for various capabilities, including web searches, data analysis, and code generation. With its modular architecture, it ensures extensibility and adaptability for future enhancements.
## Table of Contents
- [Features](#features)
- [Installation](#installation)
- [Usage](#usage)
- [API Endpoints](#api-endpoints)
- [Contributing](#contributing)
- [License](#license)
- [Releases](#releases)
- [Topics](#topics)
## Features
- **Multiple Specialized Agents**: Each agent is designed for specific tasks, ensuring efficient processing and intelligent routing.
- **RESTful API Endpoints**: Access a range of functionalities easily via HTTP requests.
- **Modular Architecture**: Add or modify agents without disrupting the entire system.
- **Extensible**: Easily integrate new capabilities as needed.
- **Collaboration**: Agents communicate effectively to achieve complex tasks.
## Installation
To get started with the **AI Agent with MCP**, follow these steps:
1. **Clone the Repository**:
```bash
git clone https://github.com/vanthe9812/AI_Agent_with_MCP.git
cd AI_Agent_with_MCP
```
2. **Install Dependencies**:
Ensure you have Python installed. Use pip to install the required packages:
```bash
pip install -r requirements.txt
```
3. **Run the Server**:
Start the server with:
```bash
python main.py
```
Your server should now be running, and you can access the API endpoints.
## Usage
After installing the project, you can interact with the agents through the RESTful API. Use tools like Postman or curl to make requests.
### Example Request
To perform a web search, you might use the following curl command:
```bash
curl -X GET "http://localhost:5000/search?query=your_search_term"
```
### Response Format
Responses are typically returned in JSON format. Here’s an example response for a search query:
```json
{
"results": [
{
"title": "Example Result",
"url": "http://example.com",
"snippet": "This is a snippet of the search result."
}
]
}
```
## API Endpoints
Here are some key API endpoints you can use:
- **Search Agent**: `/search`
- **Method**: GET
- **Parameters**: `query`
- **Data Analysis Agent**: `/analyze`
- **Method**: POST
- **Body**: JSON data for analysis
- **Code Generation Agent**: `/generate-code`
- **Method**: POST
- **Body**: JSON data specifying the code requirements
## Contributing
We welcome contributions to enhance the functionality of this project. To contribute:
1. Fork the repository.
2. Create a new branch for your feature or bug fix.
3. Make your changes.
4. Submit a pull request.
Please ensure your code adheres to the existing style and includes tests where applicable.
## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
## Releases
For the latest updates and downloadable files, visit the [Releases](https://github.com/vanthe9812/AI_Agent_with_MCP/releases) section. You can download the necessary files and execute them to explore the features of the project.
## Topics
This repository covers a wide range of topics related to AI agents and their applications:
- **agent**
- **agentic-ai**
- **agents**
- **ai**
- **ai-agents**
- **ai-tools**
- **artificialintelligence**
- **fastmcp**
- **google-adk**
- **groq-api**
- **litellm**
- **llm**
- **llmagents**
- **mcp**
- **mcp-client**
- **mcp-server**
- **model-context-protocol**
- **openrouter-api**
- **python**
- **tools**
## Acknowledgments
We would like to thank the developers and contributors of the Google Agent Development Kit for providing the tools and resources that made this project possible. Their work has significantly influenced the design and functionality of our agents.
## Contact
For any inquiries or feedback, feel free to reach out via GitHub issues or directly to the maintainer. Your input is valuable and helps improve the project.
## Conclusion
The **AI Agent with MCP** project represents a significant step forward in the field of agent-based systems. With its intelligent routing and modular architecture, it sets the stage for advanced AI applications. We encourage you to explore the features and contribute to its development. For the latest updates and releases, be sure to check the [Releases](https://github.com/vanthe9812/AI_Agent_with_MCP/releases) section regularly.