Core abstractions
MessageGateway — The central HTTP server that receives messages from channel connectors, runs them through the middleware pipeline, and dispatches to the appropriate agent. MessageGateway is the single entry point for all inbound messages, regardless of channel. It enforces middleware ordering and ensures every message passes through authentication and enrichment before reaching an agent. Celai — Leap Financial’s proprietary agentic framework. Celai provides the foundational components that Lola Send is built on: MessageGateway, channel connectors, LogicRouter, MacawAssistant, the middleware chain, and Redis-backed state and history stores. It is a general-purpose framework for building conversational AI applications on messaging channels. MacawAssistant — The agent implementation that combines a system prompt, AI model configuration, and a set of tool functions into a self-contained conversational unit. Each agent in Lola Send is a MacawAssistant. The bank controls agent behavior by modifying the system prompt and the set of available tool functions — no application code changes are required. LogicRouter — The component that evaluates sender state and compliance status to select the right agent for each conversation. LogicRouter directs messages to one of five agents:- Onboarding agent — unidentified senders; guides first-time verification
- Sender home agent — verified senders; full conversational capabilities
- Blocked agent — senders flagged by compliance; restricted interaction
- Pending CIP agent — senders with in-progress verification; limited interaction
- Service unavailable agent — graceful degradation when backend services are down
Terminology reference
| Term | Definition |
|---|---|
| Sender | The person using a messaging channel to interact with Lola Send |
| Agent | A MacawAssistant configured with a prompt, model, and tools for a specific sender state |
| Tool function | A backend service call that an agent can invoke (quotes, validation, operations) |
| Middleware | A processing stage in the message pipeline before agent routing |
| Connector | A channel adapter (WhatsApp, Telegram) that normalizes messages |
| LogicRouter | The component that selects which agent handles a conversation |
| MessageGateway | The central HTTP server that orchestrates the entire message lifecycle |
| Ticket | A Versys authorization context that scopes what actions a web widget can perform |
| Callback | An encrypted, single-use URL that the web widget calls to trigger backend execution |