Agentic coding & agent engineering

Long-Running Agents: Checkpoints, Retries and Idempotent Actions

Real cases wait for documents, people and partners. Learn to build agents that pause and resume safely without duplicate payments or lost context.

Format
Training
Duration
1 day
Mode
Live online or on-site
Group size
4–12 participants
Level
Advanced
  • Workshops & trainings since 2014
  • Taught by AI Code Engineers
  • German or English

Long-running agents training at a glance

Real business cases rarely finish in one model call: an onboarding agent waits for documents, a claims agent for an expert report, a procurement agent for supplier answers. Agents built as one long loop lose state on restarts, repeat emails after retries and drag ever-growing histories through their context. After this training your engineers can build agents that pause and resume safely. You persist state at every step, choose between durable execution engines and queue-based designs, make every external action idempotent, handle timeouts, reminders and cancellations, and pin prompt and model versions per case so changes do not break cases that are still running.

Who the long-running agents training is for

Backend engineers building agents for processes that wait on people, partners or external systems, such as claims, onboarding or procurement cases that span days.

What you'll walk away with

After the long-running agents training, you can:

  • Persist agent state so runs survive crashes and deployments
  • Choose between durable execution engines and queue-based designs
  • Make external actions idempotent with keys and checks
  • Handle waiting, timeouts, reminders and cancellations
  • Migrate running cases safely when prompts or code change

Use cases for the long-running agents training

  1. A supplier onboarding agent waits up to two weeks for certificates. Persisted state and scheduled reminders let it resume exactly where it stopped.
  2. A retry after a network error sent a customer the same payment confirmation twice. Idempotency keys on the email tool make duplicate sends impossible.
  3. A prompt change is rolled out while three hundred claims are open. Version pinning per case lets old cases finish under the rules they started with.

Run it with your team

Pick dates in the request form. We reply within one business day with a confirmed date and an agenda proposal.

Request dates

What the long-running agents training covers

  1. Why long-running is different

    Failure scenarios of agents that wait: restarts, duplicate events, stale context and expired credentials.

  2. State and checkpoints

    What to persist, when, and how to rebuild the model context from stored state.

  3. Execution models

    Durable workflow engines, queues with workers and scheduled resumption, compared.

  4. Idempotency

    Idempotency keys, outbox patterns and verification before re-executing actions.

  5. Versioning running cases

    Pinning prompt and model versions per case and migrating cases deliberately.

Prerequisites

  • Experience with distributed systems or background job processing
  • Good Python or TypeScript skills

Materials you keep

  • Reference implementation of a resumable agent
  • Idempotency checklist for agent actions
  • Versioning strategy template for running cases

Related offers: AI agent development

Request this course

Pick one or more dates that suit you. We confirm within one business day and send an agenda tailored to your team. Non-binding.

Proposed dates (about two weeks from now, times in CET/CEST)

Non-bindingReply within one business day

Request dates

How it works

  1. Request

    Send the form with your preferred dates or a period that suits you.

  2. Short call

    We talk briefly about your goals, your team's prior knowledge and your systems.

  3. Tailored agenda

    You receive an agenda tailored to your team and a confirmed date.

  4. Workshop and materials

    We run the session live online or on-site, and you keep the materials and templates.

Why train with us

Experience

We have offered workshops and trainings since 2014. The topics have moved with the technology; today our focus is agentic coding, AI coding tools and prompt engineering for responsible AI agents.

Hands-on, not slides

You work on realistic examples from your domain, or on your own code, prompts and processes if your security rules allow it.

Your format, your language

Live online, on-site at your location or hybrid, in German or English.

Certified through jocapps GmbH

kalAIDoCreate is a venture of jocapps GmbH, which is ISO 27001 and ISO 9001 certified.

Questions about the long-running agents training

Do we need a workflow engine?

Not necessarily. We compare durable execution engines with simpler queue-based designs and help you choose based on volume, complexity and existing infrastructure.

How does this relate to human approvals?

Waiting for a person is a special case of a long-running step. The patterns from this training make approval queues robust, and our human-in-the-loop training builds on them.

What about model context limits over long cases?

We show how to rebuild a compact context from stored state and summaries instead of carrying the entire history from step to step.

Can the course run online or on-site, and in which language?

Both. We deliver it live online or on-site at your location, in German or English. For distributed teams a hybrid setup is possible as well.

Can you tailor the content to our organisation?

Yes. Every course starts with a short call about goals and prior knowledge. We adapt examples, exercises and depth to your processes, systems, approved tools and security rules, and we work on your real use cases if your data protection rules allow it.

Free intro call

Tell us which task an AI agent should take responsibility for. We show how our platform, AI Code Engineers and operations plug into your stack.

  • 30 minutes, no obligation
  • Honest feasibility check
  • Concrete next step
Rather talk now? 24/7 call support in English and German+49 761 519 751 50