RAG + Agent architecture. The orchestrator is the crown jewel — indirect prompt injection or excessive tool permissions here can lead to data exfiltration, SSRF, and denial of wallet.
RAG-augmented agent system with guardrails, vector retrieval, tool execution, and third-party LLM integration.
The Agent Orchestrator is the highest-value target in an LLM system. It processes all prompts, coordinates tool calls, fetches secrets, and communicates with external APIs. A single indirect prompt injection can exfiltrate the entire context window, trigger destructive tool actions, or pivot to internal services via SSRF. The RAG pipeline further widens the blast radius — poisoned documents silently redirect agent behavior.
API Gateway and Prompt Guardrails. First lines of defense against prompt injection and abuse.
Orchestrator, LLM Inference, and Tool Executor. Where AI reasoning and action-taking happen.
Vector DB, Knowledge Base, Secrets. Ground-truth context and credentials for the agent.
3rd-party LLM APIs and external tools. Extend capability but expand the attack surface.