Seven building blocks of an enterprise AI agent architecture (opens in a new tab)
You will learn the seven architectural layers an enterprise AI agent needs beyond an LLM and a prompt, including perception, planning, memory and retrieval, execution, and feedback.
Why read this
The article walks through a flight-change example to show how the layers interact.
Enterprise AI agent architecture
- Perception
- Reasoning and planning
- Memory and retrieval
- Action and execution
- Feedback and adaptation
The article argues that an AI agent for business is more than a language model with a good prompt. It contrasts a traditional chatbot, which explains policies and hands off to a person, with an agent that can read a booking, evaluate alternatives, calculate charges, execute an approved change through APIs and verify the result. The author frames agents as engineered enterprise systems that must run reliably, securely and within existing processes.
The first two building blocks are perception and reasoning and planning. Perception covers collecting input from several channels, processing it, identifying intent and entities, enriching context from enterprise systems, and handling multimodal input such as screenshots. Reasoning and planning covers understanding the objective, evaluating information, deciding on options, decomposing tasks, managing dependencies and validating the plan before execution. The article stresses that critical eligibility, financial or compliance decisions should not rest on LLM reasoning alone, and that human approval should apply to high-impact steps.
The next blocks cover memory and retrieval, and action and execution. Memory is described as working, long-term, episodic and semantic, with retention and consent controls, while retrieval-augmented generation grounds answers in current enterprise knowledge. Action and execution covers tool selection, API invocation, authorization, workflow orchestration, transaction execution, result verification and error recovery. The article notes that idempotency, least-privilege access, transaction integrity and auditability matter, and that an agent should verify outcomes rather than assume success from an accepted API request. The seventh block, feedback and adaptation, is introduced at the end and the article is cut off partway through that section.
Read the original at SalesforceCodex (opens in a new tab)