How I connected SAP Business One to WhatsApp using AI agents (open-source)

I built an open-source agent runtime that connects AI to SAP B1 via WhatsApp The problem I was solving I work as a SAP Business One consultant. Every day I watch managers open the SAP client, navig...

By · · 1 min read
How I connected SAP Business One to WhatsApp using AI agents (open-source)

Source: DEV Community

I built an open-source agent runtime that connects AI to SAP B1 via WhatsApp The problem I was solving I work as a SAP Business One consultant. Every day I watch managers open the SAP client, navigate through five screens, run a report, export to Excel, and send it on WhatsApp. The data was always there. The friction was the interface. So I built Capyra: an autonomous agent runtime that lives in WhatsApp and acts on business systems directly. What it does Your team sends a WhatsApp message: "How many open orders do we have today?" Capyra queries SAP B1 via Service Layer REST API and replies in seconds: "7 orders pending approval, total R$ 48,320. Oldest: order #4821 from Acme Corp, waiting 3 days. Want me to send a reminder to the approvers?" No dashboards. No reports. No IT ticket. Architecture WhatsApp (Evolution API) ↓ Capyra Gateway (WebSocket) ↓ Agent Loop (Claude / GPT) ↓ Skills (SAP B1, HTTP, Postgres...) ↓ Three-layer Memory (pgvector) ↓ Immutable Event Store The agent loop is