ELYX — OPS AGENT.
Architecting a resilient, 24/7 autonomous operations framework that intercepts multi-channel communications to perform role-scoped tasks with high-precision tool calling.
The Bottleneck Challenge
The 4-Layer Framework
Layer 1: Perception & Ingestion
ELYX continuously monitors three primary channels: Gmail, WhatsApp, and Odoo ERP. Using an event-driven listener pattern, it ingests multi-format data, strips noise, and prepares content for the reasoning core.
Layer 2: Intent Routing & LLM Selection
Every task is dynamically routed. Simple classification goes to local/smaller models (Llama 3), while complex logic is routed to Claude 3.5 Sonnet or Gemini 1.5 Pro, optimizing for both latency and cost.
Layer 3: Tool Execution & RAG
The agent interacts with the Odoo API and file systems. It utilizes a custom RAG pipeline for company-specific context (pricing, inventory, history) to ensure all actions are grounded in current internal data.
Layer 4: Verification & Audit
A final observer layer verifies the agent's output. Every decision is hashed and logged into a cryptographically signed audit trail, ensuring full accountability for every automated action.
Technical Decisions
Model-Agnostic RoutingUsed a dynamic router to switch between Claude (logic) and Gemini (retrieval), reducing operational costs by 45% without sacrificing accuracy.
Cryptographic Audit TrailsImplemented SHA-256 hashing for every decision. In high-stakes ERP environments (Odoo), accountability is the only way to trust autonomous systems.
Lessons Learned
"Agents are easy to build, but hard to trust. The pivot from 'Automated Scripter' to 'Autonomous Observer' was critical. Trust isn't built on the quality of the LLM, but on the robustness of the verification layer and the 'Human-in-the-loop' approval gates for critical state changes."