Jeff Crume, PhD, a Distinguished Engineer at IBM, offers a precise and illuminating dissection of AI agents in his presentation, "Anatomy of AI Agents: Inside LLMs, RAG Systems, & Generative AI." Crume's core thesis centers on breaking down these intelligent systems into three fundamental, interconnected components: sensing, thinking, and acting. He illustrates how data from the real world is absorbed, processed into decisions, and subsequently translated into tangible actions, all while continuously learning and adapting.
The journey of an AI agent begins with "sensing," its mechanism for perceiving the external environment. Crume explains that this perception can manifest in various forms. For a chatbot, it might be textual input, processed through natural language processing. For more complex systems like autonomous vehicles, it involves integrating data from a myriad of sensors, such as cameras and microphones. Additionally, agents can receive information through APIs and triggered events, acting as digital eyes and ears to gather necessary data for their operations.
Once information is sensed, it moves into the "thinking" phase, the cognitive core of the AI agent. This stage is significantly enhanced by incorporating external knowledge and predefined policies. Crume highlights the necessity of a "knowledge base" where the agent can access stored "facts, rules, and context," drawing from sources like databases or Retrieval Augmented Generation (RAG) systems. This external grounding prevents the agent from operating solely on its pre-trained data, offering up-to-date and domain-specific information.
Beyond knowledge, "policy information" is crucial. This includes "goals, objectives, [and] priorities" that guide the agent's decision-making, ensuring its actions align with intended outcomes and operational boundaries. These policies establish the ethical and practical guardrails within which the agent must operate. The integration of both a rich knowledge base and clear policy directives ensures that AI agents are not only intelligent but also grounded and aligned with human intent.
The actual "thinking" process involves intricate reasoning. Crume describes this as employing "if-then-else kind of logic" to process incoming information and apply stored knowledge. Central to this is "planning" and "task decomposition," where complex objectives are broken down into a sequence of smaller, actionable steps. Modern AI agents leverage sophisticated "machine learning" techniques for pattern recognition and "large language model technology" (LLM) for advanced reasoning, including chain-of-thought processes. These capabilities allow agents to understand complex queries, generate coherent plans, and make informed decisions.
