technical-term · Context & knowledge · foundational · Reviewed
System instructions
Trusted behavioral direction supplied by the application to shape how a model performs a task.
Definition
System instructions define role, objectives, process guidance, response contracts, and behavioral constraints for a model or agent. They influence behavior but are not a deterministic security boundary, policy enforcement mechanism, or substitute for authorization.
Instruction layers are established; their priority semantics and robustness vary across models and platforms.
Why it matters
Instructions are code-like inputs whose wording and placement can materially change behavior.
Critical restrictions must also be enforced outside the model because natural-language adherence is probabilistic.
System anatomy
- Role
- The bounded function the model should perform.
- Objective
- The intended outcome and acceptance conditions.
- Constraints
- Behavioral rules, escalation conditions, and prohibited actions.
- Contract
- Expected format, evidence, and handoff behavior.
Important distinctions
- Policy enforcement
- Instructions request behavior; an enforcement point mechanically allows, denies, holds, or constrains action.
- Retrieved content
- Instructions come from a trusted control layer; retrieved documents remain data unless explicitly promoted through governance.
Implementation signals
- Keep trusted instructions separate from user and retrieved data
- Version instructions and test them against adversarial cases
- Move critical prohibitions into deterministic controls
Failure modes
- Prompt injection changes the apparent instruction hierarchy
- A long system prompt becomes an unaudited policy document
Sources and further study
- Anthropic — Effective context engineering for AI agents
A working model for treating model-visible context as a finite resource that must be selected and maintained.
Use in this library: First-party case study. This first-party account documents one organization, product, or implementation context and should not be generalized without local evidence.
engineering · engineering · Published 2025-09-29 - OWASP GenAI Security Project — State of Agentic AI Security and Governance 2.01
A current threat and governance synthesis covering instruction-data confusion, containment gaps, autonomous action, and agentic incident readiness.
Use in this library: Official guidance. Guidance describes recommended practice; citation does not prove that a control is implemented or effective in a particular environment.
guidance · guidance · Published 2026-06-01 - OpenAI — A practical guide to building agents
Defines a practical agent around a model, tools, instructions, and a run loop that continues until an exit condition is reached.
Use in this library: Primary definition. The guide is first-party product guidance and a simplified starting architecture, not a complete regulated-enterprise control model.
guidance · guidance · Published 2025