Skip to main content

Architecture

Key components

The six key components (KC1–KC6) of an agentic AI system from the OWASP Agentic Security guide, their sub-components and the threats that affect each.

  • 6 key components
  • 40 component nodes

KC1 Language Models (LLMs)

The core cognitive engine or "brain" of the agent (e.g., GPT-4, Claude), responsible for understanding, reasoning, planning, and generating responses. This includes various types of language models.

Threats: T5 Cascading Hallucination Attacks, T6 Intent Breaking & Goal Manipulation, T7 Misaligned & Deceptive Behaviors, T15 Human Manipulation, T17 Supply Chain Compromise

  • KC1.1 Large Language Models (LLMs)

    Core cognitive engine utilizing pre-trained foundation models for reasoning, planning, and generation, primarily directed via prompt engineering. Operates within constraints like context window, latency, and cost.

  • KC1.2 Multimodal LLMs (MLLMs)

    LLMs capable of processing and/or generating information across multiple data types beyond text (e.g., images, audio), enabling agents to perform a wider variety of tasks.

  • KC1.3 Small-Language Models (SLMs)

    Language models with fewer parameters, trained on smaller, focused datasets, designed for specific tasks or use cases. Characterized by smaller weight space, parameter size, and context window compared to LLMs.

  • KC1.4 Fine-tuned Models

    Language models (LLMs/MLLMs) that undergo additional training on specific datasets to specialize their capabilities, enhancing performance, adopting personas, or improving reliability for particular tasks.

KC2 Orchestration (Control Flow)

Mechanisms that dictate the agent's overall behavior, information flow, and decision-making processes. The specific mechanism depends on the architecture and impacts responsiveness and efficiency.

Threats: T6 Intent Breaking & Goal Manipulation, T8 Repudiation & Untraceability, T9 Identity Spoofing & Impersonation / Agent Identity Compromise, T10 Overwhelming Human in the Loop, T12 Agent Communication Poisoning, T13 Rogue Agents in Multi-Agent Systems, T14 Human Attacks on Multi-Agent Systems, T16 Insecure Inter-Agent Protocol Abuse

  • KC2.1 Workflows

    Structured, pre-defined sequence of tasks or steps that agents follow to achieve a goal, defining the flow of information and actions. Can be linear, conditional, or iterative.

  • KC2.2 Hierarchical Planning

    Multiple agents collaborating via an orchestrator (router) that decomposes tasks, routes sub-tasks to specialized agents, and monitors performance.

  • KC2.3 Multi-agent Collaboration

    Multiple agents working together, communicating and coordinating actions, sharing information and resources to achieve a common goal. Useful for complex tasks requiring diverse skills.

KC3 Reasoning / Planning Paradigm

How agents utilize LLMs to solve complex tasks requiring multiple steps and strategic thinking by breaking down high-level tasks into smaller sub-tasks.

Threats: T5 Cascading Hallucination Attacks, T6 Intent Breaking & Goal Manipulation, T7 Misaligned & Deceptive Behaviors, T8 Repudiation & Untraceability, T15 Human Manipulation

  • KC3.1 Structured Planning / Execution

    Focuses on decomposing tasks into a formal plan, defining sequences of actions (often involving tool calls), and executing the plan, sometimes with separate planner/executor components (e.g., ReWoo, LLM Compiler, Plan-and-Execute).

  • KC3.2 ReAct (Reason + Act)

    Dynamically interleaves reasoning steps with actions (like using tools or querying APIs) and updates reasoning based on feedback.

  • KC3.3 Chain of Thought (CoT)

    Enhances reasoning quality by prompting step-by-step "thinking," inducing an LLM to generate a set of "thoughts" before arriving at a final action or conclusion.

  • KC3.4 Tree of Thoughts (ToT)

    Generalizes CoT by exploring multiple reasoning paths and plans in parallel with lookahead, backtracking, and self-evaluation.

KC4 Memory Modules

Enable the agent to retain short-term (immediate context) and long-term information (past interactions, knowledge) for coherent and personalized interactions. Context sensitivity is used to reduce risk. RAG with vector databases is common for long-term memory.

Threats: T1 Memory Poisoning, T3 Privilege Compromise, T5 Cascading Hallucination Attacks, T6 Intent Breaking & Goal Manipulation, T8 Repudiation & Untraceability, T12 Agent Communication Poisoning

KC5 Tool Integration Frameworks

Allow agents to extend capabilities by using external tools (APIs, functions, data stores) to interact with the real world or other systems. Manages tool selection and use.

Threats: T2 Tool Misuse, T3 Privilege Compromise, T6 Intent Breaking & Goal Manipulation, T7 Misaligned & Deceptive Behaviors, T8 Repudiation & Untraceability, T11 Unexpected RCE and Code Attacks, T16 Insecure Inter-Agent Protocol Abuse, T17 Supply Chain Compromise

  • KC5.1 Flexible Libraries / SDK Features

    Code-level building blocks (e.g., LangChain, CrewAI) or API capabilities (OpenAI Tool Use) offering high flexibility but requiring more coding effort.

  • KC5.2 Managed Platforms / Services

    Vendor-provided solutions (e.g., Amazon Bedrock Agents, Microsoft Copilot Platform) handling infrastructure and simplifying setup, often with easier ecosystem integration and low-code interfaces.

  • KC5.3 Managed APIs

    Vendor-hosted services (e.g., OpenAI Assistants API) providing higher-level abstractions, managing state and aspects of tool orchestration via API calls.

KC6 Operational Environment (Agencies)

Manages the integration layer between AI agents and external tools, APIs, code execution environments, and database systems. Ensures secure invocation of tools with proper authentication, input validation, sandboxing, and output verification to prevent unauthorized access and tool misuse.

Threats: T2 Tool Misuse, T3 Privilege Compromise, T4 Resource Overload, T10 Overwhelming Human in the Loop, T11 Unexpected RCE and Code Attacks, T12 Agent Communication Poisoning, T13 Rogue Agents in Multi-Agent Systems, T15 Human Manipulation

Source: OWASP Securing Agentic Applications Guide (KC1-KC6 reference architecture) 1.0 (Jul 2025) · retrieved 2026-11