Reference architecture for a production AI agent

Reference architecture for a production AI agent An architecture diagram generated by Archify. Channels · voice · chat · WhatsApp · Architecture component Channels voice · chat · WhatsApp API gateway · auth + rate limits · Architecture component API gateway auth + rate limits Orchestrator · supervisor agent · Architecture component Orchestrator supervisor agent Specialist agent · knowledge · Architecture component Specialist agent knowledge Specialist agent · operations · Architecture component Specialist agent operations Tool layer · MCP connectors · Architecture component Tool layer MCP connectors Business systems · CRM · ERP · APIs · Architecture component Business systems CRM · ERP · APIs Identity & policy · who may do what · Architecture component Identity & policy who may do what Model router · tiers + fallback · Architecture component Model router tiers + fallback Memory & knowledge · short + long term · Architecture component Memory & knowledge short + long term Traces & evals · cost per outcome · Architecture component Traces & evals cost per outcome request authorized task policy model call delegate delegate context tool call tool call API call traces Legend Backend Database Cloud Security Message bus External