Code Nexus
CurriculumHow we teachPricingBlogAboutContact
Start learning
  1. Curriculum
  2. /
  3. Season 9
  4. /
  5. Episode 1

Season 9: Autonomous Systems & Agent Engineering · Episode 1 of 8

The Runaway Ticket

Your role: Junior Agent Systems Engineer

Included with Core programme and Certification prep
See plans

The situation

A support agent keeps issuing duplicate refunds. Inspect its trace and set limits on its actions, permissions and model choices.

What you'll learn

  • Autonomous agent architectures: the Perception-Reasoning-Action loop (perception of state, tool planning, invocation, observation injection, termination).
  • Tool schema engineering: designing unambiguous JSON Schemas, separating read-only queries from mutations, and tokenised idempotency guards.
  • Model-routing practice: compare supplied synthetic candidates against task quality, latency and cost thresholds; distinguish fixture measurements from current vendor capabilities.
  • Agent execution safeguards: cycle detection, max-turn limits, error cascade mitigation, and circuit breakers.

Who you work with

  • Maya Chen

    Senior AI Engineer · Your mentor

  • Priya Naidoo

    Cloud Architect

  • Amara Okafor

    ML and Data Engineer

  • Leo Martins

    Product Manager

  • 8-BIT

    Code Nexus Internal AI Assistant

Scenes

  1. 1.The Disappearing Payouts
  2. 2.The Perception-Reasoning-Action Loop
  3. 3.Ticket CN-AI-1042: Tool Schema Engineering
  4. 4.Frontier Model Audition
  5. 5.Guarding Against the Runaway Loop
  6. 6.Episode debrief: agent runtime baseline
  7. 7.Agent runtime check

What you leave with

You implemented a bounded agent host, eligibility checks and idempotency replay, a routing calculation using fictional telemetry, and runtime breaker thresholds. Review the task evidence and the documented limits before treating the lab baseline as a production design.

Previous episode

You Are the Engineer

Next episode

The Universal Connector

Code Nexus

Practice first. Improvise less later.

The CPD Group Approved Provider #791172

Learn

  • Curriculum
  • What you get
  • Pricing
  • Create account
  • Sign in

Support

  • Blog
  • Certification guides
  • About Code Nexus
  • How we teach
  • Ask a mentor

Legal

  • Terms and Conditions
  • Privacy Policy
  • Cookie Policy
  • Refund and Cancellation
  • Contact us

© 2026 Code Nexus. All rights reserved.

Payments secured by Payfast · Billed in ZAR · South Africa