gabriel-silveira
MCP Servergabriel-silveirapublic

arese whatsapp agent

Arese whatsapp agent

Repository Info

0
Stars
0
Forks
0
Watchers
0
Issues
Python
Language
Apache License 2.0
License

About This Server

Arese whatsapp agent

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

LangGraph WhatsApp Agent

Para executar a aplicação:

# crie o virtual environment
python -m venv venv

# ative o virtual environment
source venv/bin/activate

# com o uv instalado
uv pip install -r pyproject.toml

# execute with Twilio
python main_twilio.py

# or execute with WhatsApp Business
python main_whatsapp.py

# using gunicorn is recommended for production

Deploy

Para fazer o deploy da aplicação, é recomendado usar o LangGraph Platform, porém utilizei um servidor EC2 para fazer o deploy.

Foi utilizado o Nginx com proxy reverso para servir a aplicação.

Para inicializar foi utilizado o gunicorn.

# para iniciar
sudo systemctl start gunicorn

# caso haja alterações no código ou no arquivo de configuração do gunicorn
sudo systemctl restart gunicorn

# para verificar o status
sudo systemctl status gunicorn

# para parar
sudo systemctl stop gunicorn

# para alterar o arquivo de configuração do gunicorn
sudo nano /etc/systemd/system/gunicorn.service

Logs

# para ver os logs de erro do gunicorn em tempo real
sudo tail -f /var/log/gunicorn/error.log

# para ver os logs da aplicação em tempo real
sudo tail -f /var/log/gunicorn/app.log

About the project

A template for building WhatsApp agents using LangGraph and Twilio. This project enables you to deploy AI agents that interact with users via WhatsApp, process messages and images, and invoke custom graph-based agents hosted on the LangGraph Platform.

It provides a foundation for building scalable, secure, and maintainable AI agent services.

Fork this repo and iterate to create your production-ready solution.

!Architecture Diagram

Features

  • Create custom LangGraph-powered agents for WhatsApp
  • Support for multi-agents with supervisor-based architecture
  • Integration with Model Context Protocol (MCP) servers (Supermemory, Sapier, etc.)
  • Support for image processing and multimodal interactions
  • Persistent conversation state across messages
  • Request validation for security
  • Comprehensive observability via LangSmith
  • Easy deployment with LangGraph Platform

Stack

  • WhatsApp Integration: Twilio API for messaging and multimedia handling
  • Agent Framework: LangGraph (by LangChain) as the MCP client and multi-agent system using langgraph_supervisor
  • Models: Supports Google Gemini, OpenAI GPT models, and more
  • MCP Servers: Using langchain-mcp-adapters
    • Supermemory
    • Zapier for access to thousands of apps and integrations (Google, Slack, Spotify, etc.)
  • Observability: Complete tracing with LangSmith
  • Deployment: LangGraph Platform for simplified production hosting

Prerequisites

  • Twilio account with WhatsApp integration
  • API key for LLM access (OpenAI, Google, etc.)
  • LangGraph Platform access
  • (Optional) MCP server configurations

Getting Started

  1. Fork this repository to start your own project
  2. Build your agent using the template structure
  3. Deploy to LangGraph Platform !Langggraph Platform
  4. Configure Twilio webhook to point to your LangGraph deployment URL (/whatsapp) !Twilio

License

This project is licensed under the terms included in the LICENSE file.

Quick Start

1

Clone the repository

git clone https://github.com/gabriel-silveira/arese-whatsapp-agent
2

Install dependencies

cd arese-whatsapp-agent
npm install
3

Follow the documentation

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

Repository Details

Ownergabriel-silveira
Repoarese-whatsapp-agent
LanguagePython
LicenseApache License 2.0
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