FORWARD-DEPLOYED ENGINEERING 101 · FREE, NO MODEL KEY
Understand it.
Then build it.
You can be an experienced engineer and still be new to agents. Start with what each thing is and how it helps a person do useful work. Explore 64 original introductions across software, agents, cloud, security and delivery. Start here without a model key; each topic connects to deeper instruction and practice.
A place to start.
Choose a short reading route, or look up a concept below.
- 101UnderstandPlain language, visual walkthrough, vocabulary
- 102Build with guidanceOriginal lessons, examples and knowledge checks
- 103Practise and explainRunnable labs, failure cases and handover
Threats and enforced boundaries
What is AI application security?
AI application security protects data and actions when model outputs and external content can be unreliable or adversarial. Prompt injection occurs when untrusted content tries to redirect the model's behavior. Secure systems limit what that redirection can cause through application controls.
An FDE is responsible for what the deployed application can actually do when content is hostile.
UNDERSTAND THE SYSTEM
Follow hostile text to the action boundary
An attachment can supply facts. It cannot grant permission. Follow a fictional draft assistant through a denied send request, then compare a separate run where unwanted text still reaches the draft. The lab uses authored proposals, not a live model.
Read the connections in plain English
- 01Source document → Proposed action
Source content may influence a proposed action without gaining authority.
- 02Proposed action → Application checks
Treat generated arguments as untrusted input, just as for a web API.
- 03Application checks → Draft for review
Only the allowed operation runs, using a current authorized source.
- 04Application checks → Stopped proposal
An unknown tool or unexpected argument cannot expand the original task.
Check your understanding: Does a denied send prove the assistant's answer is safe?
No. The hostile-draft run completes its allowed tools and still copies the hostile sentence. Inspect outputs and attempted actions separately. These authored cases test dispatcher behavior, not the resistance of a real model to prompt injection.
CONNECT IT TO WHAT YOU KNOW
Start with something familiar.
Treat retrieved text like untrusted input to a program. A sentence that looks like an instruction does not acquire the authority of your application policy.
A prompt saying 'be safe' is not an access-control boundary. Validate tool arguments, constrain destinations and enforce authorization in code before any sensitive read or write.
Words worth knowing
- Prompt injection
- Untrusted content attempting to alter the model's instructions or behavior.
- Exfiltration
- Unauthorized movement of information out of its permitted boundary.
- Threat model
- A structured account of assets, attackers, trust boundaries and possible failures.
Useful foundations
Open a definition and diagram here. Your lesson stays in place.
Access-control conceptsAuthentication, authorization and tenant isolation
QUICK REFERENCE / 101
Authentication, authorization and tenant isolation
Authentication establishes who or what is calling. Authorization decides what that identity may do. Tenant isolation keeps one organization's data and actions separate from another's. An agent's tool call is a proposed action, not proof of any of these permissions.
An FDE must protect real organizational boundaries even when prompts, retrieved text or tool arguments are hostile.
An application built around an AI modelWhat is an AI agent?
QUICK REFERENCE / 101
What is an AI agent?
An AI agent is software that uses an AI model to choose some of the steps needed to complete a task. It can call tools, inspect their results and decide what to do next within limits set by the application. The model is one component; the agent also needs code, tools and rules about when to stop.
An FDE needs to decide when model-driven choices help a real task and when a predictable sequence is enough. An agent is useful only if it improves the work and stays within its allowed scope.
Selecting what a model seesWhat is context management?
QUICK REFERENCE / 101
What is context management?
Context is the information available to a model for a particular request: instructions, conversation, tool definitions and supplied evidence. Context management selects, orders, limits and refreshes that information. It is not the same as retraining the model or storing permanent memory.
FDEs need repeatable decisions based on current, authorized information rather than an accidental conversation history.
ONE EXAMPLE / FICTIONAL CASE
Follow the connections.
A retrieved procedure contains an instruction to send the full customer archive to an external address.
UNDERSTAND THE SYSTEM
Follow hostile text to the action boundary
An attachment can supply facts. It cannot grant permission. Follow a fictional draft assistant through a denied send request, then compare a separate run where unwanted text still reaches the draft. The lab uses authored proposals, not a live model.
Start with the actual task
Read the full worked example
- 01Start with the actual task
The operator may read one procedure and prepare a draft. Sending is outside this task. First locate where the source text enters the system.
Supported run: read-procedure + propose-draft → 2 completed calls
- 02Spot content pretending to be an instruction
The attachment adds a request to forward internal notes. In this exercise, we supply a send proposal as if a model followed it; no model is called.
Hostile-send run: Source text → authored send-reply proposal
- 03Deny the tool before it runs
The read completed, then the dispatcher refuses send-reply. One completed call is a read, not a message sent. This plan ends here.
Observed result: manual / tool-not-allowed · completed calls: 1
- 04Reject an argument that claims authority
In a separate run, the proposal adds tenantId to a read request. Exact argument validation rejects it; a model cannot choose a new workspace by adding a field.
Authority-override run: manual / invalid-arguments · completed calls: 0
- 05Allow a draft in a separate run
Now pair the same hostile source with an allowed read-and-draft plan. The local function copies the source. Authorization succeeds; that does not settle content quality.
Hostile-draft run: draft / operator-review-required · completed calls: 2
- 06Inspect what still needs protection
The unwanted instruction survives in the draft. Keep it as untrusted text; do not promote it into instructions for another agent. Action checks and output review protect different boundaries.
Remaining gap: No sending capability; contaminated draft still needs review
Read the connections in plain English
- 01Source document → Proposed action
Source content may influence a proposed action without gaining authority.
- 02Proposed action → Application checks
Treat generated arguments as untrusted input, just as for a web API.
- 03Application checks → Draft for review
Only the allowed operation runs, using a current authorized source.
- 04Application checks → Stopped proposal
An unknown tool or unexpected argument cannot expand the original task.
Check your understanding: Does a denied send prove the assistant's answer is safe?
No. The hostile-draft run completes its allowed tools and still copies the hostile sentence. Inspect outputs and attempted actions separately. These authored cases test dispatcher behavior, not the resistance of a real model to prompt injection.
Work through it, step by step.
Identify untrusted inputs
Mark user content, retrieved documents and tool results as data with provenance, not new authority.
What you have now: A threat model
Limit capabilities
Expose only necessary tools, destinations and fields; require explicit approval for consequential actions.
What you have now: A constrained action surface
Test the boundary
Run hostile-content and cross-tenant cases, checking both the final answer and actual attempted actions.
What you have now: Evidence that policy held
FROM RECOGNITION TO REASONING
Trace hostile text through a local tool dispatcher.
- 01
Run the supported, hostile-send, authority-override and hostile-draft cases from the free lab.
- 02
Explain the rejected operation and the exact predicate before counting completed tools.
- 03
Inspect the hostile sentence that survives in a permitted draft, then identify the next boundary needing review.
Four observed traces, an enforcing predicate and the unresolved output problem.
Compare your reasoning when you are ready
The read in hostile-send completes before the send request is rejected. The separate hostile-draft run copies unwanted text into an allowed draft. Permission checks and output review solve different problems; authored proposals do not measure real-model resistance.
Keep notes in your own working copy. Moving through these cards does not record completion.
TURN THE IDEA INTO USEFUL WORK
You can now go deeper.
A prompt saying 'be safe' is not an access-control boundary. Validate tool arguments, constrain destinations and enforce authorization in code before any sensitive read or write.
Academy lessons use your existing training access. Free guides stay open.