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
An application pattern: retrieve, then generate
What is retrieval-augmented generation?
Retrieval-augmented generation (RAG) is an application pattern. Your software finds relevant information and supplies it to a model before it answers. It is not a language, model or database product. It connects a model to a selected evidence collection without making that collection part of the model's learned parameters. Retrieval can use keyword search, semantic search or a combination.
Enterprise assistants need current company knowledge and clear boundaries on who may see it.
UNDERSTAND THE SYSTEM
Retrieval brings evidence into a model's context
Retrieval-augmented generation (RAG) combines information retrieval with text generation. It supplies relevant source material at request time; it does not automatically retrain the model.
Read the connections in plain English
- 01User question → Scoped retrieval
Use the caller's trusted scope, not a scope supplied by generated text.
- 02Source documents → Scoped retrieval
Return relevant passages with source identifiers.
- 03Scoped retrieval → Model + evidence
Keep document content separate from application instructions.
- 04Model + evidence → Answer + references
Check that references support the answer; citation formatting alone proves nothing.
Check your understanding: Does RAG guarantee a correct answer?
No. Retrieval can miss the right document, select stale material or surface misleading content. Evaluate retrieval quality, authorization and answer support separately.
CONNECT IT TO WHAT YOU KNOW
Start with something familiar.
It is an open-book question: first find the right pages, then answer with those pages available. The quality of the answer depends on finding the right edition and reading it correctly.
RAG does not guarantee truth. The retrieved source can be wrong, stale, unauthorized or irrelevant, and the model can still misrepresent it.
Words worth knowing
- Retrieval
- Finding candidate information for a task.
- Chunk
- A passage retrieved separately from its larger document; one paragraph in this exercise.
- Context
- The information supplied for this model call, including instructions, the question and selected evidence.
- Grounding
- Connecting a response to supplied evidence.
- Abstention
- Choosing not to answer when support is insufficient.
Useful foundations
Open a definition and diagram here. Your lesson stays in place.
Data foundations · object storage, SQL and retrievalFiles, databases and search indexes: what goes where?
QUICK REFERENCE / 101
Files, databases and search indexes: what goes where?
An application needs somewhere to keep information and a way to find it again. Object storage keeps named objects such as documents and images. A relational database organizes records into tables you can query and update. A search index helps find relevant material. These are different jobs, even when one product can do more than one of them.
An FDE needs to explain where the customer's information lives before connecting it to an agent. A convincing answer is not enough if it used an outdated procedure, lost a ticket update or crossed a customer's access boundary.
A trained statistical modelWhat is a large language model?
QUICK REFERENCE / 101
What is a large language model?
A large language model (LLM) is a trained neural network. Its learned numerical parameters and current input are used to calculate possible next tokens; a decoding process selects the continuation. A model can produce text, code or structured proposals. The application around it supplies context, decides what tools are available and controls real-world actions.
Choosing a model is one decision inside an application design, not the whole design.
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.
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.
ONE EXAMPLE / FICTIONAL CASE
Follow the connections.
Find the approved maintenance procedure for the caller's equipment, then draft a response citing that exact version.
UNDERSTAND THE SYSTEM
Retrieval brings evidence into a model's context
Retrieval-augmented generation (RAG) combines information retrieval with text generation. It supplies relevant source material at request time; it does not automatically retrain the model.
Ask a specific question
Read the full worked example
- 01Ask a specific question
A technician asks which inspection follows fault F-19. Retrieval searches the manuals that caller may access.
Retrieved evidence: Manual v6 · section 4.2 · inspection steps for F-19
- 02Generate with that evidence
The selected passage accompanies the question. No model training job is involved.
Context: Question + section 4.2 excerpt + source ID
- 03Return support, or a gap
The answer points to section 4.2. If the passage does not answer the question, the application should expose that gap.
Result: Inspection recommendation with a supporting source reference
Read the connections in plain English
- 01User question → Scoped retrieval
Use the caller's trusted scope, not a scope supplied by generated text.
- 02Source documents → Scoped retrieval
Return relevant passages with source identifiers.
- 03Scoped retrieval → Model + evidence
Keep document content separate from application instructions.
- 04Model + evidence → Answer + references
Check that references support the answer; citation formatting alone proves nothing.
Check your understanding: Does RAG guarantee a correct answer?
No. Retrieval can miss the right document, select stale material or surface misleading content. Evaluate retrieval quality, authorization and answer support separately.
Work through it, step by step.
Retrieve within scope
Filter by the caller's permissions before content enters the model context.
What you have now: Authorized candidate passages
Select evidence
Check relevance, version and whether the source actually supports the requested answer.
What you have now: A traceable evidence packet
Answer or abstain
Generate a source-grounded draft or explain that evidence is insufficient.
What you have now: A supportable response
RAG · FROM SOURCE TO MODEL CONTEXT
See exactly what the model would receive.
Imagine handing a colleague the right page before asking a question. Follow three synthetic documents through search and a size limit to see what a model would receive. This recorded Python exercise stops before generating an answer.
Search for pump in the permitted procedures. Allow up to two passages and 400 characters of evidence.
STEP 1 · Documents · Matches · pump
Start with the sources this caller may use
P1 has two paragraphs; P2 has one. Each paragraph can become a retrievable chunk. P9 is outside the trusted north scope, so its text is excluded before ranking. These are synthetic fixture records.
- PARAGRAPH 1
Pump reset requires local isolation.
- PARAGRAPH 2
Pump inspection uses the approved checklist.
- PARAGRAPH 1
Calendar handover requires an operator.
Source text is excluded before searching.
Recorded results from the downloadable Python exercise, using synthetic procedures. Searching and context selection run locally; there are no embeddings or model calls. These controls inspect the reference output without executing code or saving progress.
Run the search yourself in the free Python lab ↗FROM RECOGNITION TO REASONING
Follow a paragraph from its source into the input.
- 01
Predict the matches, prepared input and model calls for each case above; inspect the recorded result.
- 02
In the prepared input, match the source text and paragraph citation to P1. Explain why P2 and P9 are absent for different reasons.
- 03
Run the free Python lab. In a disposable copy, change reset to restart in P1 and compare the search result and content digest.
- 04
Explain why more space would not fix the wording miss, and why a prepared packet still needs a generated-answer check.
Three predictions and observations, one traced source paragraph, and the output from your controlled wording change.
Compare your reasoning when you are ready
Pump matches two allowed P1 passages totaling 80 characters. P2 is allowed but does not match; P9 is excluded before search. Restart finds no exact match, while the 20-character case finds both passages but cannot include either whole. All three stop before a model call. This isolates retrieval and input preparation; a later generator still needs source-support and access checks.
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.
RAG does not guarantee truth. The retrieved source can be wrong, stale, unauthorized or irrelevant, and the model can still misrepresent it.
Academy lessons use your existing training access. Free guides stay open.