JustujuAI, layer by layer.Open in the interactive map

Layer 7 · Orchestration & Tooling

The glue around a model call: prompts, retrieval, tools, frameworks, evaluation and guardrails.

In simple words: Everything around the AI that helps it answer well: instructions, notes, searches, tools and safety checks.

reviewed 2026-10-30

Like: A film crew around an actor: scripts, props and cues so the performance fits the scene.
Where it breaks: An actor improvises from real understanding of the set. A model only sees what is placed in its context window: if the crew forgets a prop, for the model it doesn't exist.

Key players

What it means for your business: Your own product logic lives in this glue, so prefer open standards and frameworks you could replace, because the tools here change quickly and some will not last.

As of 2026-10-15. Sources: Donating the Model Context Protocol and establishing the Agentic AI Foundation (Anthropic) (2025-12-09); LangChain and LangGraph agent frameworks reach v1.0 (2025-10-22); LlamaIndex (GitHub) (2026); pgvector (GitHub) (2026); Pinecone product overview (2026); Langfuse (GitHub) (2026)

Security on this layer: 3 threats Pending expert review

Hidden instructions in content the AI reads Pending expert review

Exposed
  • Emails, web pages, documents and tool results that enter the model's context
  • Private data and outbound channels the assistant can reach
Attacks
  • Planting instructions in content the assistant will read (indirect prompt injection)
  • Leaking data through links or images the app loads automatically
Real case
Research demonstration: EchoLeak (zero-click exfiltration from an office assistant) (2025-06)
Controls
  • Break the lethal trifecta: never combine private data, untrusted content and a way out in one agent
  • Allow-list where outputs may send data; don't auto-load links and images
  • Ask a person before any outbound action
Owner
AppSec, with ML engineering
Reference
LLM01:2026 Prompt Injection
AML.T0051.001 Indirect

A tool server that turns on its users Pending expert review

Exposed
  • Tool servers and packages that agents install and trust
  • Tool descriptions, which the model reads as instructions
  • Everything the tools can touch: email, files, code
Attacks
  • Hiding instructions in a tool's description (tool poisoning)
  • Publishing a look-alike package that quietly copies data out
  • Changing a trusted tool after people install it (rug pull)
Real case
Incident: Malicious postmark-mcp package (2025-09)
Controls
  • Install tool servers only from their real publisher; pin versions and review changes
  • Show users full tool descriptions and changes to them
  • Give each tool the least access it needs and log what it does
Owner
AppSec, with Platform/Cloud
Reference
LLM04:2026 Supply Chain
AML.T0110 AI Agent Tool Poisoning
AML.T0010.005 AI Agent Tool

Planted documents steer retrieval-based answers Pending expert review

Exposed
  • The document store a retrieval system searches
  • Anyone who can add or edit documents in it
Attacks
  • Adding a few crafted texts so they are retrieved for target questions
  • Steering the answer or slipping instructions into the context
Real case
Research demonstration: PoisonedRAG (2024-02)
Controls
  • Control who can write to the index; record where each document came from
  • Show sources with answers so people can check them
  • Treat retrieved text as data, never as instructions
Owner
Data, with AppSec
Reference
LLM09:2026 Vector and Embedding Weaknesses
AML.T0070 RAG Poisoning

All layers in the security view

What it gives the layer above

Reliable, grounded model calls that can use your data and tools.

What it needs from the layer below

An inference endpoint from Inference & Optimization.

Concepts

Walkthrough

  1. A question arrives. Someone asks their home-lab assistant: “Which driver did I install on the GPU box last month?” The model alone can't know.
  2. Memory and retrieval look it up. Memory recalls a saved note about the GPU box, and retrieval searches the setup docs for driver notes. Both hand back short passages.
  3. A tool checks the live machine. The model asks for a tool call to read the installed driver version. The application runs it and the result joins the context.
  4. The context is packed and the model answers. System prompt, tool list, notes, the tool result and the question are trimmed to fit the window, stable parts first so they can be cached.
  5. Guardrails check, evals keep score. Tool output is screened for injected orders, the answer is checked before it is shown, and the same question joins an eval set for the next change.

Examples