JustujuAI, layer by layer.Open in the interactive map

Layer 8 · Agents

Systems that pursue a goal over many steps: plan, act with tools, check the result, repeat.

In simple words: AIs that are given a goal and work through the steps themselves: plan, act, check, repeat.

reviewed 2026-10-30

Like: A new employee given a goal instead of a script: they work out the steps, use the office tools and check their own work.
Where it breaks: An employee builds judgement over months. An agent's 'experience' is only what fits in its context and memory, and it can repeat a mistake confidently.

Key players

What it means for your business: Agents can save real staff time but act inside your systems, so start with work that is easy to check, keep a person approving risky steps, and expect usage costs to vary.

As of 2026-10-15. Sources: Claude Code overview (Anthropic docs) (2026); Codex (GitHub, OpenAI) (2026); Using Copilot to work on an issue (GitHub Docs) (2026); OpenHands (GitHub) (2026); OpenClaw (GitHub) (2026); Salesforce reveals AI agents for customer service (TechRepublic) (2024-09-13)

Security on this layer: 4 threats Pending expert review

An agent in a build pipeline leaks its keys Pending expert review

Exposed
  • API keys and tokens in the agent's environment
  • Pull requests, issues and comments the agent reads
Attacks
  • Prompt injection in an issue or comment that makes the agent read and post its secrets
Real case
Research demonstration: Secret exposure through a coding agent's CI action (2026-06)
Controls
  • Keep long-lived secrets out of the agent's environment; use short-lived, scoped tokens
  • Don't let agents act on untrusted pull requests with write access
  • Block the agent from reading process and environment files
Owner
AppSec, with Platform/Cloud
Reference
LLM02:2026 Sensitive Information Disclosure
AML.T0083 Credentials from AI Agent Configuration
AML.T0051.001 Indirect

Attackers run AI agents against their targets Pending expert review

Exposed
  • Coding and computer-use agents that can run scans and exploits
  • Organisations targeted at machine speed
Attacks
  • Splitting an intrusion into small, harmless-looking tasks for an agent
  • Letting the agent do most of the reconnaissance and exploitation, with people approving only key steps
Real case
Incident: AI-orchestrated espionage campaign (2025-11)
Controls
  • Providers: detect and ban misuse; share indicators
  • Defenders: patch fast and watch for bursts of automated activity
  • Use AI on defence too, with a person approving actions
Owner
CISO, with AppSec
Reference
AML.T0124 Autonomous Attack Orchestration

An agent with too much power is told to destroy Pending expert review

Exposed
  • Files, cloud resources and accounts an agent can change
  • Extensions and settings that tell the agent what to do
Attacks
  • Slipping a destructive instruction into an agent's prompt or extension
  • Abusing broad permissions to delete files or cloud resources
Real case
Incident: Wiper prompt planted in an AI coding extension release (AWS says it was malformed and did not run) (2025-07)
Controls
  • Least privilege: give the agent only the tools and scopes this task needs
  • Ask a person before deleting or changing anything important
  • Run agents in a sandbox with backups and an undo path
Owner
AppSec, with Platform/Cloud
Reference
LLM03:2026 Excessive Agency
AML.T0101 Data Destruction via AI Agent Tool Invocation

AI suggests a package that doesn't exist, and an attacker registers it Pending expert review

Exposed
  • Code and install commands written by AI assistants and coding agents
  • Developer machines and build pipelines that install what the AI suggests
Attacks
  • Collecting package names that models invent again and again
  • Publishing malware under those names on public package indexes (slopsquatting)
Real case
Research demonstration: huggingface-cli: an invented package name, registered as a harmless test, downloaded tens of thousands of times (2024-03)
Controls
  • Install only from an internal mirror or allow-list; don't let agents add dependencies without review
  • Check that a suggested package is real, established and from the expected publisher
  • Lock files and dependency scanning in every build
Owner
AppSec, with Platform/Cloud
Reference
LLM07:2026 Misinformation
AML.T0060 Publish Hallucinated Entities
AML.T0062 Discover LLM Hallucinations
AML.T0011.001 Malicious Package

All layers in the security view

What it gives the layer above

Completed multi-step tasks, not just single answers.

What it needs from the layer below

Tools, retrieval and model calls arranged by Orchestration & Tooling.

Concepts

Walkthrough

  1. A goal, not a script. Someone asks: “fix the failing login test”. The agent loop starts: read the code, choose a step, act, look at the result, repeat.
  2. The harness keeps it safe. The harness runs each tool call, asks before risky commands, and trims the context so the long task still fits.
  3. A coding agent does the work. Inside the harness, a coding agent edits two files and reruns the tests until they pass.
  4. Checking the real page. To be sure, it opens the login page in a browser, takes screenshots and clicks through it, like a person would.
  5. Splitting the job. For a bigger change, a lead agent hands tests and review to sub-agents, each running its own loop.

Examples