-
Notifications
You must be signed in to change notification settings - Fork 7
Feature/whats app integration #133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: Amitha Dissanayake <[email protected]>
Signed-off-by: Amitha Dissanayake <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This pull request adds built-in WhatsApp integration to Agent Kernel, enabling agents to respond to WhatsApp messages via the WhatsApp Business API webhooks.
Key Changes
- New WhatsApp integration module with webhook handler (
AgentWhatsAppRequestHandler) - WhatsApp example implementations including basic server, custom handler with command support, and tests
- Documentation updates for the new integration
- Version bump from 0.2.3 to 0.2.4 across all examples
- New dependency on
httpx>=0.27.0for WhatsApp integration
Reviewed Changes
Copilot reviewed 17 out of 36 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
ak-py/src/agentkernel/integrations/whatsapp/whatsapp_chat.py |
Main WhatsApp webhook handler implementation (file not accessible in diff) |
ak-py/src/agentkernel/integrations/whatsapp/__init__.py |
Module initialization exporting AgentWhatsAppRequestHandler |
ak-py/src/agentkernel/whatsapp.py |
Top-level package import for WhatsApp integration |
examples/api/whatsapp/server.py |
Basic WhatsApp bot example with single agent |
examples/api/whatsapp/example_custom_handler.py |
Advanced example with custom command handling and message preprocessing |
examples/api/whatsapp/server_test.py |
Basic integration test for WhatsApp webhook endpoint |
examples/api/whatsapp/pyproject.toml |
Project configuration with dependencies |
examples/api/whatsapp/README.md |
Comprehensive setup and usage documentation |
examples/*/uv.lock |
Dependency lock file updates for version 0.2.4 and new dependencies |
ak-py/pyproject.toml |
Added WhatsApp extra with httpx dependency |
docs/** |
Documentation updates referencing the new WhatsApp integration |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 17 out of 36 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Description
Added the built in WhatsApp integration
Type of Change
Related Issues
#119
Fixes #
Relates to #
Changes Made
Added a new file ak-py/src/agentkernel/integrations/whatsapp/whatsapp_chat.py to handle WhatsApp web hooks
Testing
Checklist
Screenshots (if applicable)
Additional Notes