Skip to main content

Topic

AI Agents

Understand agents, tools, workflows, and autonomous task execution.

Editorial content status: SUFFICIENT

Deep Understanding Hub

AI agents, as bounded applications

Loops, tools, state and review — how an application can act step by step without turning a label into a claim of autonomy.

What this covers

The loop, proposal and execution, state, security and practical patterns.

How to use it

Follow the loop, then the control and review sections.

Visual aids

Loop and control diagrams plus an interactive agent map.

Evidence posture

Claims follow the cited HAC agent article and OWASP guidance.

01

An agent is an application

A repeated cycle chooses a step, carries out an allowed action and observes the result.

02

Proposals are checked

Application code validates and executes; model text is not authority.

03

State is chosen

Short-lived state and persistent memory require explicit scope and lifetime decisions.

04

Permissions are code

Injection guidance calls for least privilege, separation and human approval.

Deep dive

The Agent Loop

A tool-using loop prepares context, chooses a step, executes a permitted action, observes the result, then continues or stops. It is a teaching workflow, not a required architecture.

Systems may use one model call, fixed code, approval gates or a step limit. The useful question is what chooses and executes each step.

Conceptual diagram

Conceptual five-step agent loop with a feedback arrow.
Conceptual view: a possible tool-using workflow, not a mandatory architecture.
Diagram: Hidden AI Concepts

Deep dive

Proposal, Execution and State

A model can suggest a query or action. Application code validates the proposal, checks permissions and calls the tool. A malformed request can be rejected; a tool can be disallowed.

Short-lived state supports a task; persistent memory retains information beyond a run by an explicit store-and-retrieve decision. Earlier conversation text in context is not necessarily durable memory.

  • Validate the proposal
  • Check authorization in code
  • Observe the result
  • Decide whether to continue or stop

Deep dive

Security and Review

OWASP describes direct injection through user input and indirect injection through external material. Its guidance includes least-privilege access, separating external content and human approval for high-risk actions.

These measures reduce exposure or impact but are not a complete solution. Calling a workflow an agent is not a security assessment.

Conceptual diagram

Conceptual control boundary with permissions, validation and human review around an agent loop.
Conceptual view: permissions and review are application responsibilities.
Diagram: Hidden AI Concepts

Deep dive

References and further reading

  • HAC — AI Agents Explained; Understanding AI Systems.
  • OWASP GenAI Security Project — LLM01: Prompt Injection.

Articles

2 articles

Published Aug 31, 2026 · 8 min read

AI Agents Explained

Understand how AI agents combine models, tools, context, and actions to accomplish tasks.

Published Nov 24, 2026 · 10 min read

Agentic AI Patterns

Study bounded agent loops, tool permissions, state and review as application patterns rather than claims of autonomy.