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
A software development kit
What is an SDK?
An SDK is a collection of code and supporting tools that helps you use a platform from a programming language. A model-provider SDK can turn a Python method call into an authenticated HTTP request and parse its response. The SDK is not the model or the remote service.
FDEs integrate models, gateways and business systems. Knowing the underlying contract lets you diagnose failures when an SDK hides details.
UNDERSTAND THE SYSTEM
See one method become an HTTP request
Think of a client SDK like a database driver: it gives your code a way to talk to a service. It does not install that service or its model. Follow the six cases from the downloadable lab; these are explained local observations, not a live model simulation.
Read the connections in plain English
- 01Your application → Client SDK
Pass model, messages and an output allowance to the installed client.
- 02Client SDK → API endpoint
Send POST /v1/messages to the configured local endpoint.
- 03API endpoint → Returned outcome
The endpoint can return a status and body, or leave the client waiting.
- 04Returned outcome → Your application
Application checks distinguish a reviewable draft, a response to inspect and an unknown outcome.
Check your understanding: Which part decides whether HTTP 200 is enough to continue?
The application owns that decision. The client helps exchange the request and response. Check the result required by your workflow; a model, agent loop and usable answer are not implied by installing an SDK.
CONNECT IT TO WHAT YOU KNOW
Start with something familiar.
It is a typed adapter around a service contract, much like a database driver helps your application speak to a database.
A convenient method can still incur network latency, cost and side effects. Inspect retry and timeout behavior rather than treating it as a harmless local function.
Words worth knowing
- Serialization
- Encoding values into a transportable format.
- Timeout
- A limit on how long an operation waits.
- API version
- The contract edition expected by client and service.
Useful foundations
Open a definition and diagram here. Your lesson stays in place.
Data a program can read and checkWhat are JSON and schemas?
QUICK REFERENCE / 101
What are JSON and schemas?
JSON (JavaScript Object Notation) is a text format for exchanging data between programs. An object pairs field names with values, like a small form with named boxes. JSON Schema describes rules for those values. Neither is an AI model, and JSON works with many programming languages.
An API response, an agent's tool arguments and a model's structured answer often arrive as JSON. Before connecting them, an FDE needs to read the fields, recognize their types and explain why readable data can still be wrong for the task.
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.
Settings supplied to a running programWhat are environment variables and configuration?
QUICK REFERENCE / 101
What are environment variables and configuration?
Configuration is the set of settings an application uses to choose its behavior. An environment variable is a named text value available to a running process, such as an attempt limit. A dotenv file stores settings as name=value lines. The file must be loaded by a runtime, library or framework before its values affect the program.
An FDE moves an application between a laptop, a client environment and deployment. The same code can behave differently because its launch settings differ. Trace where each effective value comes from before changing prompts or reinstalling an SDK.
ONE EXAMPLE / FICTIONAL CASE
Follow the connections.
Your application uses an SDK to ask a model for a draft. A timeout leaves you needing to understand whether the provider processed the request.
UNDERSTAND THE SYSTEM
See one method become an HTTP request
Think of a client SDK like a database driver: it gives your code a way to talk to a service. It does not install that service or its model. Follow the six cases from the downloadable lab; these are explained local observations, not a live model simulation.
Start with the pieces
Read the full worked example
- 01Start with the pieces
Your application asks a client SDK to prepare a request. Installing this library supplies integration code. The endpoint and model remain separate things; this lab has no model.
Before transport: One method call is an intention, not a completed remote operation.
- 02Compare raw HTTP and SDK
Run raw-http and sdk. Each sends one POST with matching selected body fields and API version. The SDK handles serialization; your application still checks the returned text.
Observed comparison: 1 request each · same selected contract · review-draft
- 03Count the retry
In retry, the server returns 503 and then 200. A retry limit of one permits two HTTP attempts within this single SDK call. This is transport behavior, not a model choosing another action.
Observed attempts: 1 method call · 2 HTTP requests · review-draft
- 04Inspect a bad request
In bad-request, the server returns 400. The same retry policy produces one attempt and BadRequestError. Diagnose the request rather than assuming every error should be retried.
Observed refusal: 1 HTTP request · status 400 · inspect-error
- 05Keep a timeout unknown
In timeout, the server records the request but does not answer. With a 500-millisecond deadline and no retries, the client raises an error. A missing response does not prove the remote side did no work.
Observed uncertainty: 1 recorded request · no HTTP status · outcome-unknown
- 06Check the returned body
In unexpected-body, the server returns 200 with valid JSON in the wrong shape. This client returns the object; the application's acceptance rule withholds it. Static types do not replace runtime checks.
Observed acceptance: HTTP 200 · unexpected JSON · inspect-response
Read the connections in plain English
- 01Your application → Client SDK
Pass model, messages and an output allowance to the installed client.
- 02Client SDK → API endpoint
Send POST /v1/messages to the configured local endpoint.
- 03API endpoint → Returned outcome
The endpoint can return a status and body, or leave the client waiting.
- 04Returned outcome → Your application
Application checks distinguish a reviewable draft, a response to inspect and an unknown outcome.
Check your understanding: Which part decides whether HTTP 200 is enough to continue?
The application owns that decision. The client helps exchange the request and response. Check the result required by your workflow; a model, agent loop and usable answer are not implied by installing an SDK.
Work through it, step by step.
Configure
Choose the provider endpoint, credentials and supported API version through secure server configuration.
What you have now: A configured client
Call
The SDK serializes your request and sends it over the network. Keep deadlines and retry budgets bounded.
What you have now: A remote operation
Interpret
Read documented response fields, usage and errors. Record metadata rather than secrets or full sensitive prompts.
What you have now: An observable integration
SDK 101 · FOLLOW THE REQUEST
One method call. What crosses the network?
A client SDK is an installed library that talks to a service for your code. Watch the boundary between those two places, then decide what your application can use.
Compare clients
Your application asks for a draft. The local service returns a normally finished text response. Compare calling an installed client library with preparing the HTTP request yourself.
await client.messages.create(body)Ask for a draft about fictional forms. The destination is a local HTTP server; its replies are authored examples.
- Retry allowance
- 0
- Timeout per attempt
- 5000 ms
FROM RECOGNITION TO REASONING
Follow a real client call across a local HTTP boundary.
- 01
Use the visual request sequence to compare raw HTTP with the SDK, then inspect the matching request fields.
- 02
Predict attempt counts and application decisions for a retry, a 400 error, a timeout and unusable responses.
- 03
Run the free local lab; change the retry limit and completion reason separately, then explain the resulting decisions.
Six request traces, two controlled changes and an integration card with explicit limits.
Compare your reasoning when you are ready
The SDK prepares transport; the application decides what to accept. A timeout preserves an unknown remote outcome, and HTTP success alone does not establish a usable result. The lab uses a real client and local HTTP with authored responses, not model inference.
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 convenient method can still incur network latency, cost and side effects. Inspect retry and timeout behavior rather than treating it as a harmless local function.
Academy lessons use your existing training access. Free guides stay open.