
I built a production WhatsApp AI agent with Google ADK. Here’s what I learned.
I recently worked on Yaara, an AI agent for an EV charging platform in Sri Lanka.
We built it with Google ADK, Gemini Models, FastAPI, WhatsApp Cloud API, and Vertex AI RAG.
What became interesting wasn't the chatbot part. It was everything around the model.
We ended up with:
- A coordinator and specialist agent architecture
- RAG over company and EV knowledge
- Deterministic tools for calculations and backend actions
- Per user conversation state
- Human handoff through Chatwoot
- WhatsApp specific response formatting
- Tool trajectory evaluations
- GEPA based prompt optimization
- Deduplication, monitoring, and failure handling
One principle became pretty clear while building it:
The model should handle language and decisions. Normal software should handle exact work.
I wrote up the architecture and some of the things we learned while taking it from an agent idea toward a production system.
Would also be interested to hear how others using ADK are structuring coordinator/specialist agents as the number of tools grows.