Building Stateful Agentic Loops with Foundry Agent Service

Learn to build resilient AI agents, manage session state, and implement planning cycles using the Foundry Agent Service.

⏱ 1h 20m 📚 3 lessons 🎧 Audio version

About this course

Modern AI applications require more than simple prompt-and-response interactions; they need agents that can plan, reflect, and remember context over time. This course guides you through designing stateful agentic loops that maintain session continuity and execute complex workflows. You will transition from building basic, stateless AI calls to constructing robust, stateful agent architectures using the Foundry Agent Service. Through detailed text-based explanations and structured code patterns, you will understand how to manage agent state, handle run statuses, and implement multi-turn planning cycles. What you'll learn: - Understand the fundamental concepts of stateful agentic design and session persistence. - Configure agent reflection, planning cycles, and run-status handling for reliable execution. - Implement context accumulation and fork-based session patterns to manage complex user interactions. - Architect robust session state persistence to maintain continuity across agent runs. - Migrate legacy agent workloads to the modern Agents v2 Responses API. - Apply modern prompt engineering and retrieval-augmented generation patterns within agentic loops. The course begins with foundational definitions of agentic states and session lifecycles before guiding you through hands-on architectural patterns and migration strategies. You will read through clear conceptual breakdowns and analyze practical code implementations. This course is designed for software developers, AI enthusiasts, and system architects who are new to agentic workflows and want to build structured, stateful AI systems. No prior experience with agent frameworks is required. Start reading today to build smarter, more resilient AI agents that remember and adapt.

What you'll get

  • 📜 Certificate of completion
    Add it to your LinkedIn profile
  • 💬 Personal AI tutor
    Stuck on a lesson? Ask your built-in tutor anything, any time.
  • 🎧 Audio version included
    Learn on the go — no screen needed
  • ♾️ Lifetime access
    Come back anytime, no expiry
  • 📱 Phone or computer
    Works anywhere, any device
  • 💸 30-day refund
    No questions asked
  • Short & focused
    1h 20m of practical content

Reviews

No reviews yet — be the first to share your experience.

Write a review

You'll be asked to sign in after sending — your draft is saved.

Learners also took

Frequently asked

What do I need to take this course? +

Just a phone or computer with internet. No installs, no special hardware.

How do I pay? +

By card via Stripe, or with cryptocurrency. We do not store card details — Stripe handles them securely.

Can I get a refund? +

Yes — full refund within 30 days, no questions asked.

How long will I have access? +

Forever. Once you purchase, the course is yours to revisit anytime.

Will I get a certificate? +

Yes. On completion you'll receive a certificate you can add to your LinkedIn profile.

Built for learners in
Tech Design Finance Marketing Healthcare Education Hospitality Manufacturing