matiasbattocchia/open-bsp-api
Open-source WhatsApp + Instagram Business platform
What it solves
OpenBSP API provides a self-hostable, multi-tenant platform for managing WhatsApp and Instagram Business messaging. It eliminates the need for expensive third-party Business Solution Providers (BSPs) by allowing businesses or service providers to connect directly to official Meta APIs, manage multiple organizations in isolation, and integrate AI agents into their communication flows.
How it works
Built with Deno and Postgres (via Supabase), the platform acts as a middleware that connects to the official WhatsApp and Instagram APIs. It stores conversations and contacts in a database and provides a set of tools for interaction. It supports a decoupled architecture where communication is handled by the API, while complex agent logic is deployed as external services. It also includes an MCP (Model Context Protocol) server to allow AI clients like Claude Code or ChatGPT to interact with the messaging API directly.
Who it’s for
- Individual Businesses: Companies wanting to manage their own official WhatsApp/Instagram messaging.
- Service Providers: Developers or agencies wanting to become Meta Business Partners to offer messaging services to other organizations.
- AI Developers: Those building agentic workflows that require a reliable bridge to Meta's messaging platforms.
Highlights
- Multi-tenant Architecture: Native support for multiple isolated organizations.
- AI-Agent Ready: Supports lightweight built-in agents (with SQL, HTTP, and MCP clients) and advanced external agents.
- MCP Server Integration: Exposes a Model Context Protocol server for agentic access from tools like Claude Desktop and ChatGPT.
- Meta Business Partner Ready: Facilitates the transition to becoming an official Meta solution provider.
- ** uma WhatsApp account Coexistence**: Allows connecting existing WhatsApp Business accounts via Embedded Signup.
- Media Processing: Ability to extract information from audio, images, video, and PDFs.