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