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
Understanding a running system
What are traces, logs and production feedback?
Observability helps you understand a system from its outputs. Logs record events, metrics summarize measurements, and traces connect steps belonging to one request. An agent trace can show model calls, retrieval, tool attempts and decisions without requiring you to guess from the final answer.
An FDE must help the receiving team investigate a slow, costly or incorrect outcome after launch.
UNDERSTAND THE SYSTEM
A trace shows where the work and waiting happened
Observability uses signals such as traces, metrics and logs to understand a running system. In an AI workflow, connect model calls, retrieval, tools and decisions to the same request.
Read the connections in plain English
- 01Request ID → Retrieval span
Carry the request identifier across the workflow.
- 02Retrieval span → Model span
Distinguish retrieval waiting from model generation time.
- 03Model span → Tool span
A tool request and its execution outcome are separate events.
- 04Tool span → Operator diagnosis
Show failures and uncertainty alongside the final response.
Check your understanding: Should every trace contain complete prompts and customer records?
No. Collect the minimum useful telemetry, control access and retention, and redact or omit sensitive content according to the application's policy.
CONNECT IT TO WHAT YOU KNOW
Start with something familiar.
Think of stepping through related function calls in a debugger, with elapsed-time measurements around selected operations. A trace keeps a record after execution; it does not preserve every variable or automatically capture every call.
More logging is not always better. Record useful identifiers, durations and outcomes while minimizing sensitive prompts, credentials and customer data.
Words worth knowing
- Span
- One timed operation within a trace.
- Metric
- An aggregate measurement such as error count or latency.
- Correlation ID
- An identifier connecting related events.
Useful foundations
Open a definition and diagram here. Your lesson stays in place.
A software contractWhat is an API?
QUICK REFERENCE / 101
What is an API?
An application programming interface (API) is an agreed way for one piece of software to use another. It specifies operations, inputs, outputs and errors. Some APIs are local functions; a web API exchanges requests and responses across a network.
An agent becomes useful through connections to business systems. Those connections need clear contracts and failure behavior.
Control flow with model decisionsWhat is an agentic workflow?
QUICK REFERENCE / 101
What is an agentic workflow?
A workflow is a defined arrangement of steps and decisions. An agentic workflow includes a model choosing some actions or paths, within application limits. A fixed workflow may use a model for one step without letting the model control the whole sequence.
An FDE must explain where the system can vary its behavior and where it must follow a rule.
ONE EXAMPLE / FICTIONAL CASE
Follow the connections.
A response takes 30 seconds because a tool call was retried repeatedly, not because the final model response was slow.
UNDERSTAND THE SYSTEM
A trace shows where the work and waiting happened
Observability uses signals such as traces, metrics and logs to understand a running system. In an AI workflow, connect model calls, retrieval, tools and decisions to the same request.
Follow one request
Read the full worked example
- 01Follow one request
Request R-18 spends time retrieving sources before calling a model.
Trace structure: R-18 → retrieval → model → tool
- 02Locate the delay
The model answered quickly, but a tool timed out. A total-duration metric alone would hide that distinction.
Observed event: Tool span: timeout; external outcome may be unknown.
- 03Act on useful evidence
The operator checks the tool's durable record before deciding whether a retry is safe.
Recovery question: Did the external operation happen before the timeout?
Read the connections in plain English
- 01Request ID → Retrieval span
Carry the request identifier across the workflow.
- 02Retrieval span → Model span
Distinguish retrieval waiting from model generation time.
- 03Model span → Tool span
A tool request and its execution outcome are separate events.
- 04Tool span → Operator diagnosis
Show failures and uncertainty alongside the final response.
Check your understanding: Should every trace contain complete prompts and customer records?
No. Collect the minimum useful telemetry, control access and retention, and redact or omit sensitive content according to the application's policy.
Work through it, step by step.
Correlate
Carry a request identifier across model, tool and worker operations.
What you have now: One connected trace
Measure
Record durations, status and bounded usage metadata for each operation.
What you have now: A visible failure location
Act
Use an operating rule to stop, retry, roll back or escalate; retain enough evidence to reproduce the issue.
What you have now: An accountable recovery
TRACE STUDIO · ACTUAL LOCAL OPENTELEMETRY RECORDING
See the work behind one answer.
A trace connects the operations behind a request. Select a step to inspect what ran, how it relates to the other steps, and what the record can tell you.
One request calls these operations in sequence ↓
Handle the request
The enclosing operation includes the lookup and the choice of reply.
- Starts after
- 0.00 ms
- Lasts
- 51.70 ms
- Parent operation
- None · this is the root
UNSET is the SDK default. Here the instrumented operation ended without setting an error. This is not a rating of answer quality or proof that all work was recorded.
How are these operations connected?
Operations in this trace share the trace ID. Each has its own span ID. A child’s parent ID points to the operation that contains it.
- Trace ID · shared across this request
76a1cec602b5fe568d1d77574411f560- Span ID · this operation
71235b1458eb6620- Parent ID · its enclosing operation
none
Inspect the recorded fields and events
Events mark a moment within a span. This original exercise records fixed names and bounded attributes, without response text or raw exception messages.
{
"name": "support.request",
"trace_id": "76a1cec602b5fe568d1d77574411f560",
"span_id": "71235b1458eb6620",
"parent_id": null,
"start_ms": 0,
"duration_ms": 51.7,
"status": "UNSET",
"attributes": {
"training.case": "success",
"training.route": "guide"
},
"events": [
{
"name": "request.started",
"at_ms": 0.014,
"attributes": {}
},
{
"name": "route.selected",
"at_ms": 51.692,
"attributes": {
"training.route": "guide"
}
}
]
}Actual local OpenTelemetry spans over original synthetic Python functions. Deliberate sleeps make timing visible; these are not service or model benchmarks. IDs and durations change each run. No model, collector, remote service or production telemetry.
FROM RECOGNITION TO REASONING
Explain a request using the observations it actually recorded.
- 01
Compare Guide missing and Lookup failed. Open the lookup span and identify the field or event that distinguishes their identical handoff results.
- 02
Read the timing and choose the request duration without adding its children twice.
- 03
Compare complete and omitted instrumentation. Explain which interval is no longer visible, even though the lookup still runs.
- 04
Run the free Python lab and change only the deliberate lookup delay in a disposable copy. Retain your output and explain which observations support your conclusion.
Two causes distinguished, one elapsed-time explanation, and a local trace with its remaining unknowns.
Compare your reasoning when you are ready
A missing guide records training.found=false; the failed lookup records ERROR and lookup.failed. Both return a handoff decision without contacting anyone. The root includes its children. An omitted lookup span hides the individual interval, not the call itself. Recorded timing is from local teaching waits; it is not a model or production benchmark.
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.
More logging is not always better. Record useful identifiers, durations and outcomes while minimizing sensitive prompts, credentials and customer data.
Academy lessons use your existing training access. Free guides stay open.