← AI Engineer curriculum

Production Spire

Build a service that people can operate when something goes wrong. Production Spire turns an evaluated AI workflow into an accessible product with deploy, measurement and recovery evidence.

Design the experience for failure as well as success

Use the interface mission to help a learner distinguish a loading request, a verified result and an unavailable provider. Keep the last meaningful result visible where it helps. A short, actionable failure message is easier to recover from than a generic success screen with an empty answer.

Version the application, model or rules, and evaluation fixtures together. Before promoting a build, record which inputs must still pass and how you would return to the previous release. A rollback rehearsal is more useful when it ends with a check of the served result.

Watch for changes users can feel

A trace can show where one request spent time, metrics can reveal recurring failures and logs can capture an event you need to explain. Decide what evidence is safe to record and keep private inputs out of telemetry. Use a deliberate failure in a local setup to see whether the signals are sufficient.

For the cost mission, compare the same operation under a fixed workload. Record request counts, latency and expected cost separately. The cheapest single result might cost more in practice if the application has to retry often or sends too much context per request.

Rehearse a production rollback

Use two local releases of a small service and a fixed set of four requests. Include an ordinary answer, an unsupported input, a simulated provider timeout and a duplicate submission.

  1. Record the response, status and observed timing for the baseline release. Choose a metric or test that would block promotion.
  2. Deploy a candidate into the isolated environment and simulate a failure. Capture a request ID and the safe fields that explain it.
  3. Restore the baseline, repeat the original cases and confirm the responses and state still satisfy the contract.
  4. Write a short runbook for a second person. Include the condition that justified rollback, the command sequence you actually used and a verification step.

What to keep for review. Keep a release manifest, a small before-and-after table and a rollback receipt. Reuse these in The Production Trial capstone.

What to check first

These missions from earlier realms supply prerequisites for work in this realm. Check the individual mission before you start.

Missions in this realm

Primary references