Skip to content

Conversation

@manoj-bandara
Copy link
Contributor

@manoj-bandara manoj-bandara commented Nov 17, 2025

Description

Added the built in WhatsApp integration

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactoring (no functional changes)
  • Performance improvement
  • Test update
  • CI/CD update
  • Other (please describe):

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

  • Unit tests pass locally
  • Integration tests pass locally
  • Manual testing completed
  • New tests added for changes

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published

Screenshots (if applicable)

Additional Notes

Copilot AI review requested due to automatic review settings November 17, 2025 11:49
@manoj-bandara manoj-bandara requested review from amithad and removed request for Copilot November 17, 2025 11:50
Copilot AI review requested due to automatic review settings November 17, 2025 12:21
Copy link
Contributor

Copilot AI left a 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.0 for 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.

Copilot AI review requested due to automatic review settings November 17, 2025 12:39
Copy link
Contributor

Copilot AI left a 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.

@amithad amithad merged commit c6d9fad into develop Nov 18, 2025
10 of 11 checks passed
@amithad amithad deleted the feature/whats-app-integration branch November 18, 2025 03:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants