Building-block guide · Agent engineering

Agent runtime and durable execution

How to run the agent loop so it stops when it should, survives crashes and restarts, waits days for a human without holding resources, and never repeats a side effect it has already made.

Draft for review · researched 30 Nov 2026

Contents
  1. At a glance
  2. Scope and where it sits
  3. When to use what
  4. Decision criteria
  5. Reference patterns
  6. Recommended defaults
  7. Anti-patterns
  8. Sizing and cost notes
  9. Security and compliance hooks
  10. Test and eval checklist
  11. Related plan sections and inventory
  12. Unverified or needs review
  13. Sources

At a glance

  • The harness is a loop: call the model, run any tool calls, feed results back, repeat until a final answer, a handoff or a limit [1]. Every production loop needs explicit turn, budget, time and tool-call limits; SDKs leave some unset by default or let them be disabled [1][3].
  • Agents are stateful and errors compound. Restarting from the beginning after a failure is expensive and frustrating; resume from where the error occurred [18]. That needs a checkpoint after each step in durable storage.
  • Pick a durability tier per agent: in-memory for prototypes, framework checkpointing for single-service agents, and a durable workflow engine for long-running, multi-service or money-moving work.
  • Execution is at least once. A worker can crash after a tool did its work but before the result is recorded, and the retry repeats it [5]. Every side-effecting tool needs an idempotency key derived deterministically from the workflow and step, enforced by the downstream service [5][7][8].
  • Human approval is a durable pause, not a blocked thread. Serialise state, release compute, resume on the approval event, and race it against a timeout that defaults to deny [2][10][13][14].
  • Approval does not guarantee exactly-once execution [2]. Consume each pending approval atomically and pair it with an idempotency key.
  • Checkpoint stores are a trust boundary. Never resume from untrusted or tampered checkpoints; encrypt them, version the agent definition, and keep secrets out of state [2][9][11].
  • Isolate each session in its own sandbox (for example a microVM per session) with a bounded lifetime and sanitised teardown [15].

Scope and where it sits

This guide covers the runtime that executes agents: the loop and its limits, state and checkpointing, durable workflow engines, retries and timeouts, idempotency for side-effecting tools, pause and resume for human approval, long-running tasks, sandboxed sessions, deployment while runs are in flight, and scaling and concurrency.

In the 10-layer reference architecture (plan section 4), this is layer 4, agent runtime and durable execution. It sits between layer 3, orchestration and control flow (which decides what runs next) and layer 5, model and layer 8, tools (which it calls). It carries the bounds set by plan section 14A and the approval patterns in section 14. In the Anatomy crosswalk, it is system 8, Nervous system ("durable runtime patterns, retries and idempotency, and SRE runbooks").

Covered elsewhere:

When to use what

Option Use when Avoid when Cost and latency notes
SDK loop with in-memory state Prototypes, short interactive turns with no side effects Anything that must survive a restart; in-memory savers lose state on restart [20] Lowest latency and cost; no recovery
SDK sessions or conversation IDs Multi-turn chat where history must persist between requests [1] Mid-run crash recovery or long waits Store read and write per turn
Framework checkpointing (for example LangGraph checkpointers, Microsoft Agent Framework checkpoints) Graph or workflow agents in one service that need resume, time travel and human interrupts [9][11] Cross-service transactions, very long waits with strict SLAs Write per step; durability mode trades speed for safety [9]
Durable workflow engine (for example Temporal, Restate, DBOS, Inngest) Long-running, multi-step work with side effects, retries and waits of hours to weeks; several agent SDKs integrate [1][6] Simple request-response agents Extra infrastructure; each step is persisted; replay costs on recovery
Cloud durable functions or state machines (for example AWS Lambda durable functions, AWS Step Functions, Azure Durable Functions) Teams on that cloud wanting managed durability; waits up to a year [12][13] Multi-cloud portability is required Pay per step or transition; no compute charge while waiting in some services [12]
Managed agent runtime (for example Amazon Bedrock AgentCore Runtime, Foundry Agent Service, Gemini Enterprise Agent Platform) Session isolation, scaling and identity as a service [15] Need for custom durability beyond session lifetime Session limits apply (for example 8 hours per microVM session in one service [15])
MCP Tasks extension Long-running tool calls across the MCP boundary that clients poll [16] Clients or servers that do not support the extension Polling traffic; task records with time to live

Decision criteria

  1. How long can a run last? Seconds to minutes: SDK loop with sessions. Hours: framework checkpointing or managed runtime. Days or longer, or waiting on people: durable engine or cloud durable functions.
  2. Does the run cause side effects outside your system? Yes: durable engine or checkpointing plus idempotency keys on every side-effecting tool. No: lighter options are fine.
  3. What does a mid-run crash cost? If repeating the run is cheap and harmless, restart. If it repeats payments, emails or expensive model calls, checkpoint after each step [18].
  4. Will the run wait for a human? Yes: the pause must survive process restarts and release compute while waiting [2][12][14].
  5. What autonomy level and envelope apply (plan 14 and 14A)? Higher autonomy needs stricter budgets, durable audit of every step, and a kill path that reaches in-flight runs.
  6. What does operations already run? Prefer that; portability needs favour an engine over a cloud-native service.
  7. How much concurrency? High concurrency needs bounded worker pools, per-tool rate limits and back pressure.
  8. Will deploys hit in-flight runs? Long runs need versioned definitions and gradual rollout [2][18].

Reference patterns

Pattern 1: Bounded agent loop

Problem. An unlimited loop runs until budget or rate limits run out.

How it works. The harness enforces limits on turns, tool calls, spend, wall-clock time and repeated identical calls. One SDK raises an exception when max_turns is exceeded and lets you register an error handler that returns a controlled final output instead [1]. Another exposes max_turns and max_budget_usd, both unset by default; its budget is a client-side estimate that can overshoot, so set headroom [3]. When a limit trips, the run stops cleanly, saves state, records why, and either returns a partial result or escalates.

Limit Enforced by On breach
Turns (model calls) Harness Stop, return partial result, log
Tool calls per run and per tool Harness or middleware Stop or continue without that tool
Spend per run Harness and gateway Stop and escalate
Wall-clock per run Runtime or workflow timeout Checkpoint, stop, notify
Repeated identical calls Hook Break loop, escalate

When to use. Every agent in production.

Pitfalls. Lifecycle hooks may not fire when a turn limit ends the run in one SDK, so do final audit outside the hook [21]. Gateway budgets (layer 2) back up harness budgets because client-side estimates drift.

Pattern 2: Checkpoint after every step

Problem. A crash, deploy or timeout mid-run loses all progress.

How it works. After each step (model call, tool call or graph node), the runtime writes state to durable storage keyed by a thread or run ID. LangGraph offers three durability modes: exit persists only when the run exits (fastest, loses intermediate state on a crash), async persists while the next step runs, and sync persists before the next step starts (most durable) [9]. If a node fails in a super-step, writes from nodes that succeeded are kept so they are not re-run [9]. Microsoft Agent Framework takes a checkpoint at the end of each superstep, including executor state, pending messages, pending requests and shared state [11]. Durable engines go further and record each step's result in an event history, so recovery replays the workflow and skips completed work [5][12].

When to use. Runs longer than a few seconds, with side effects, or that may pause.

Pitfalls.

  • Resuming from a checkpoint re-runs what came after it, including model calls, API requests and interrupts [9].
  • Production needs a database-backed store (for example a Postgres checkpointer) rather than in-memory, with old checkpoints pruned [20].
  • Checkpoint stores hold conversation content and tool results; encrypt them (one framework offers an AES-encrypted serialiser [9]) and apply retention.
  • Never load checkpoints from untrusted or tampered sources [11].
  • A restored workflow must keep the same topology as when it was saved [11].

Pattern 3: Durable workflow with activities

Problem. Long, multi-service runs need retries and recovery that survive process failure.

How it works. The workflow code is the orchestration and must be deterministic. Each model call and tool call runs as an activity, which the engine retries according to a policy and records on completion. One integration runs each agent invocation and model call as an activity so the agent loop inherits durability [6]. Temporal's default activity retry policy starts at 1 second, doubles each time up to 100 times the initial interval, and retries without limit; workflows themselves do not retry by default [4]. Cloud equivalents checkpoint and replay from the start, skipping completed steps, and can run for up to a year [12].

workflow ResolveClaim(claim_id):
    plan  = activity(call_model, plan_prompt(claim_id), retry=model_policy)
    for step in plan.steps (bounded):
        check = activity(policy_check, step)            # fail closed
        if check.needs_approval:
            decision = wait_for_signal("approval", timeout=48h)  # default deny
            if decision != "approve": break
        key    = hash(workflow_id, step.id, step.args)   # deterministic
        result = activity(call_tool, step, idem_key=key, retry=tool_policy)
    activity(write_audit, workflow_id)

When to use. Long-running tasks, money movement, regulated processes, anything with waits on people or external systems.

Pitfalls.

  • Unlimited retries on a non-idempotent tool repeat side effects. Set maximum attempts and non-retryable error types per tool [4].
  • Non-deterministic code inside the workflow (clock reads, random numbers, direct model calls) breaks replay. Use the engine's clock, for example context.CurrentUtcDateTime in one engine [14].
  • Store large payloads by reference to keep event history small.

Pattern 4: Idempotency keys on side-effecting tools

Problem. At-least-once execution means a tool can run twice: a worker may crash after a payment succeeded but before the result was recorded, and the retry pays again [5].

How it works.

  • Derive the key deterministically. One guidance hashes the workflow ID, task type and request body; random keys generated per attempt "defeat the mechanism" [7]. Temporal suggests combining the workflow run ID and activity ID, which stay the same across retries [5].
  • Enforce the key downstream. The tool server records the key and its result and returns the stored result on a repeat, for example with a conditional write and a time to live [7].
  • Pass the key down. Subtasks receive the parent key so they can derive their own [7].
  • Use the provider's support where it exists. One payment API accepts keys up to 255 characters, compares parameters with the original request, may prune keys after at least 24 hours, and accepts keys on POST, not GET or DELETE [8].

When to use. Every tool that writes, sends, books or pays.

Pitfalls.

  • Keys that include a timestamp or attempt number.
  • Key windows shorter than the longest retry or approval wait.
  • MCP's 2026-07-28 revision removed stream resumability: a broken stream loses the in-flight request and the client must reissue it as a new request [17]. Tool servers therefore need their own idempotency.

Pattern 5: Durable human approval pause

Problem. A run must wait hours or days for approval without holding a thread, losing state on restart, or executing twice.

How it works.

  1. The run stops at the gate. A tool marked as needing approval stops the run with an interruption [2]. In LangGraph, a node calls interrupt() [10].
  2. State is saved and compute released. The runtime serialises state (RunState.to_json in one SDK [2]; a checkpoint keyed by thread ID in another [10]) and stops paying for compute.
  3. The reviewer decides in an authenticated channel.
  4. The run resumes on the decision. Approve or reject, then resume: Command(resume=...) with the same thread ID in one framework [10], a task token returned to the state machine in another [13].
  5. The wait races a timeout. A durable timer runs against the approval event, and the unused timer is cancelled [14]. On timeout the run takes the safe path; the plan 14A ladder says unreachable approvals default to deny.

When to use. Any action at or above the approval threshold for the autonomy level (plan 14.2), and envelope breaches under plan 14A.

Pitfalls.

  • In LangGraph, the node restarts from the beginning on resume, so any side effects before interrupt() run again and must be idempotent [10].
  • Do not wrap interrupt() in a bare try and except [10].
  • Approval "does not guarantee exactly-once execution". Keep the authoritative state on the server, authenticate the reviewer, consume each pending request atomically, keep secrets out of serialised state, store a version marker for the agent definition, and only deserialise state from trusted storage [2].
  • Task tokens in one service work only with standard workflows, must come from the same account, and wait up to the one-year quota unless a heartbeat or timeout is set [13].

Pattern 6: Isolated, versioned sessions with safe deploys

Problem. Sessions share memory or files between users, and deploying new agent code breaks runs that are still in flight.

How it works.

  • Isolate each session. Each session runs in its own sandbox. One managed runtime gives each session a dedicated microVM. It ends the session after 15 minutes idle by default or 8 hours in total, then terminates the microVM and sanitises its memory; session storage can persist across stop and resume [15].
  • Map sessions to users. Session IDs are long and unguessable (at least 33 characters in that service), and the backend maps sessions to users where the platform does not pin them [15].
  • Deploy without breaking runs. In-flight runs stay on the version they started with. One multi-agent system uses rainbow deployments, moving traffic gradually from old to new versions while both run, so that updates do not disrupt running agents [18]. The serialised state records the agent definition version [2].

When to use. Multi-user deployments, coding agents, any agent running untrusted code or handling regulated data.

Pitfalls. Session limits cut long tasks, so checkpoint externally and resume in a new session. Reusing sessions across users leaks data.

Setting Default Range or options Why
Turn limit Set explicitly per agent (practitioner default 25 to 50 for task agents) 10 to 200 by task class SDK defaults may be unset [3]; one SDK raises MaxTurnsExceeded when hit [1]
Spend limit per run Set per agent at harness and gateway Per envelope (plan 14A) Harness budget is an estimate that can overshoot [3]
Wall-clock per run Set per task class (practitioner default 15 minutes interactive, 8 hours batch) Up to engine limits Managed session lifetime caps such as 8 hours [15]
Checkpoint durability sync for side-effecting agents, async otherwise exit only for disposable runs Durability versus speed trade-off [9]
Checkpoint store Database-backed, encrypted, with retention Engine event history In-memory loses state on restart [20]; encryption option [9]
Activity retry Exponential backoff from 1 s, coefficient 2, cap at 100 s, max attempts set per tool Non-retryable errors listed per tool Engine defaults retry without limit [4]
Model call retry 3 attempts with backoff and jitter, then fallback model (practitioner default) 2 to 5 Transient provider errors; avoid retry storms
Idempotency key Hash of workflow ID, step ID and canonical arguments Run ID plus activity ID Deterministic keys [5][7]
Idempotency window At least the longest retry plus approval wait 24 hours minimum where a provider prunes [8] Repeats after expiry are not detected
Approval timeout 24 to 72 hours, then deny and notify (practitioner default) Per risk tier Unreachable approvals default to deny (plan 14A)
Tool concurrency Bounded pool per run (practitioner default 4 to 8) 1 for ordered side effects One SDK starts all calls at once if unset [1]
Session idle timeout 15 minutes Per platform Default in one managed runtime [15]
Session ID Unguessable, at least 33 characters, mapped to user n/a Requirement in one managed runtime [15]
Agent version in state Always recorded n/a Safe resume and deploy [2]

Anti-patterns

  • Unlimited loops. Fix: turn, spend, time and tool-call limits with a controlled stop [1][3].
  • In-memory state in production. Fix: database-backed checkpointer or durable engine [20].
  • Blocking a thread while waiting for approval. Fix: serialise, release, resume on event with a timeout [2][14].
  • Random idempotency keys per attempt. Fix: deterministic keys from workflow, step and arguments [7].
  • Retrying every error forever. Fix: maximum attempts and non-retryable errors per tool [4].
  • Side effects before an interrupt. They run again on resume [10]. Fix: move them after the approval, or make them idempotent.
  • Calling models or reading the clock inside deterministic workflow code. Fix: wrap in activities and use the engine's clock [14].
  • Loading checkpoints from shared or user-supplied storage. Fix: treat the store as a trust boundary, sign or encrypt it, and restrict access [2][11].
  • Deploying over in-flight runs. Fix: version agent definitions and roll out gradually [18].
  • Synchronous fan-out with no limit. Fix: bounded concurrency and back pressure; one lab notes synchronous orchestration also bottlenecks throughput [18].

Sizing and cost notes

Runtime cost has four parts: model tokens (dominant), compute while running, state storage and writes, and orchestration charges per step.

Token multipliers. One lab measured agents at about 4 times the tokens of chat and multi-agent systems at about 15 times [18]; repeated model calls on retry add to this.

Illustrative example (all numbers illustrative). A claims agent runs 20 steps, 12 of them model calls, and waits once for approval.

Item Illustrative figure Note
Checkpoint writes 20 per run, about 50 KB each, 1 MB per run With sync durability each adds a write before the next step
Runs per day 10,000 10 GB of checkpoint data per day before pruning
Retention 30 days About 300 GB at steady state; pruning old checkpoints matters [20]
Approval wait 6 hours median No compute charge while waiting in some durable services [12]; a blocked container would cost 6 hours of compute per run
Crash recovery 1% of runs, resume at step 10 Checkpointing saves about 6 model calls per recovered run versus restart

Concurrency. Size workers on active steps, not total runs: waiting runs cost storage, not workers. Cap tool calls per run and per downstream service. In one durable engine integration, each model call is an activity and so counts against worker and rate capacity [6].

Security and compliance hooks

Threats (OWASP Agentic Top 10 [19] and LLM Top 10 2025).

  • LLM10 Unbounded Consumption and ASI08 Cascading Failures. Uncapped loops, retries and fan-out. Controls: Pattern 1 limits, gateway budgets, circuit breakers and bounded retries.
  • ASI02 Tool Misuse and LLM06 Excessive Agency. Repeated side effects through retries or resumes. Controls: idempotency keys (Pattern 4) and approval gates (Pattern 5).
  • ASI06 Memory and Context Poisoning. Tampered checkpoints or serialised state that are then resumed. Controls: a trusted, encrypted store; integrity checks; never deserialising untrusted state [2][11].
  • ASI03 Identity and Privilege Abuse. A resumed run acting with stale or escalated credentials. Controls: re-check grants on resume (plan 10B), keep secrets out of state [2], and use short-lived tokens from the identity layer (plan 10A).
  • ASI10 Rogue Agents. Runs that continue after they should have stopped. Controls: a kill switch that reaches in-flight and paused runs, and revocation (plan 14A BO controls).
  • ASI05 Unexpected Code Execution. Controls: a per-session sandbox with sanitised teardown [15] (see Sandboxing and code execution).

Data protection. Checkpoints and event histories hold personal data from prompts and tool results. Apply the retention, residency and erasure rules of plan section 11.8 to them, including backups. Legal hold (plan 13.7) may require keeping specific run histories; design deletion to respect holds.

Audit evidence to keep.

  • Run ID, agent definition version and autonomy level.
  • Each step with its inputs, outputs and idempotency key.
  • Every limit breach.
  • Approvals with approver identity and timestamps.
  • Retries and recoveries.
  • Kill switch drills (plan 14A requires a quarterly drill).
  • Checkpoint access logs.

Governing plan sections. 4 (layer 4), 10, 10A (identity on resume), 10B (grant re-evaluation), 10C (private connectivity), 11 (privacy of state), 13 (legal hold), 14 (approvals), 14A (envelope, ladder, kill switch), 15 (runbooks and FinOps), and the ROE (to be defined, plan section 12), which sets the durability and approval guarantees each run needs.

Test and eval checklist

ID Stage Area Check Pass criteria Priority
RT-01 Design Durability tier Durability option chosen per agent with rationale Decision recorded against criteria Must
RT-02 Design Limits Turn, spend, time and tool-call limits defined per agent Limits in config and envelope Must
RT-03 Design Side effects Every side-effecting tool listed with its idempotency strategy No tool without a strategy Must
RT-04 Build Keys Idempotency keys derived deterministically Same key across retries and resumes in unit tests Must
RT-05 Build Retries Retry policy per tool with max attempts and non-retryable errors No unlimited retries on side-effecting tools Must
RT-06 Build Determinism Workflow code free of clock, random and direct I/O Engine replay test passes Must
RT-07 Build State hygiene No secrets in checkpoints or serialised state Scan finds none Must
RT-08 Test Crash recovery Kill worker mid-run at random steps Run resumes from last checkpoint; no repeated side effects Must
RT-09 Test Duplicate effect Crash after tool success before result recorded Downstream sees one effect Must
RT-10 Test Limits Exceed each limit Controlled stop, state saved, reason logged Must
RT-11 Test Approval Approve, reject and time out a paused run Correct path each time; timeout denies Must
RT-12 Test Approval restart Restart services while a run waits Run resumes after approval Must
RT-13 Test Double approval Submit the same approval twice concurrently Executed once Must
RT-14 Test Resume replay Side effects before an interrupt on resume Idempotent; no duplicates Should
RT-15 Test Tamper Modified or foreign checkpoint loaded Rejected Must
RT-16 Test Load Peak concurrency with bounded pools No rate-limit storms; p95 within SLO Should
RT-17 Test Dependency outage Model or tool provider unavailable Retries back off; fallback or clean pause Should
RT-18 Release Versioning Agent definition version recorded in state Old runs finish on old version Must
RT-19 Release Rollout Gradual rollout with in-flight runs No failures in runs that started on the old version Should
RT-20 Run Kill switch Stop in-flight and paused runs All stopped within target; drill recorded Must
RT-21 Run Monitoring Runs by state, retries, limit breaches, approval age Dashboards and alerts live Must
RT-22 Run Retention Checkpoint pruning and erasure Retention honoured; legal holds respected Must
RT-23 Run Cost Tokens and spend per run against budget Alert on breach; monthly review Should

Governing policies and procedures

From the CoE policy set (draft; control IDs on the policy crosswalk):

Unverified or needs review

  • OpenAI Agents SDK default turn limit. The page names a DEFAULT_MAX_TURNS constant but does not show its value [1].
  • LangGraph default durability mode. The opened checkpointer page does not state which mode is the default [9].
  • MCP Tasks status. Tasks is an extension (io.modelcontextprotocol/tasks), not part of the core specification, after the 2026-07-28 revision [16][17]. Plan wording that treats Tasks as core needs review.
  • Durable engine integrations. The plan's list of durable engine integrations for agent SDKs (Google ADK, AWS Strands, LangGraph, Vercel AI SDK and others) comes from a vendor blog whose URL was truncated in the research notes. Only the OpenAI Agents SDK integration was confirmed for this guide [6].
  • CrewAI and Pydantic AI durability. Persistence and durability features in these frameworks were not checked.
  • Illustrative figures. The sizing figures are illustrative, not measured.
  • Practitioner defaults. Turn, time, concurrency and approval-timeout values marked as practitioner defaults need CoE confirmation.

Sources

  1. Running agents, OpenAI Agents SDK documentation, https://openai.github.io/openai-agents-python/running_agents/, accessed 30 Nov 2026.
  2. Human-in-the-loop, OpenAI Agents SDK documentation, https://openai.github.io/openai-agents-python/human_in_the_loop/, accessed 30 Nov 2026.
  3. Agent SDK reference: Python (ClaudeAgentOptions), Claude Agent SDK documentation, Anthropic, https://code.claude.com/docs/en/agent-sdk/python, accessed 30 Nov 2026.
  4. Retry Policies, Temporal documentation, https://docs.temporal.io/encyclopedia/retry-policies, accessed 30 Nov 2026.
  5. Activity Definition, Temporal documentation, https://docs.temporal.io/activity-definition, accessed 30 Nov 2026.
  6. Announcing the OpenAI Agents SDK integration, Temporal blog, https://temporal.io/blog/announcing-openai-agents-sdk-integration, accessed 30 Nov 2026.
  7. AGENTREL06-BP04 Implement idempotency for agent operations, AWS Well-Architected Agentic AI Lens, Amazon Web Services, https://docs.aws.amazon.com/wellarchitected/latest/agentic-ai-lens/agentrel06-bp04.html, accessed 30 Nov 2026.
  8. Idempotent requests, Stripe API reference, https://docs.stripe.com/api/idempotent_requests, accessed 30 Nov 2026.
  9. Checkpointers, LangGraph documentation, LangChain, https://docs.langchain.com/oss/python/langgraph/checkpointers, accessed 30 Nov 2026.
  10. Interrupts, LangGraph documentation, LangChain, https://docs.langchain.com/oss/python/langgraph/interrupts, accessed 30 Nov 2026.
  11. Checkpoints, Microsoft Agent Framework documentation, Microsoft Learn, https://learn.microsoft.com/agent-framework/workflows/checkpoints, accessed 30 Nov 2026.
  12. Lambda durable functions, AWS Lambda Developer Guide, Amazon Web Services, https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html, accessed 30 Nov 2026.
  13. Discover service integration patterns in Step Functions, AWS Step Functions Developer Guide, Amazon Web Services, https://docs.aws.amazon.com/step-functions/latest/dg/connect-to-resource.html, accessed 30 Nov 2026.
  14. Human interaction pattern, Durable Task documentation, Microsoft Learn, https://learn.microsoft.com/azure/durable-task/common/durable-task-human-interaction, accessed 30 Nov 2026.
  15. Use isolated sessions for agents, Amazon Bedrock AgentCore Developer Guide, Amazon Web Services, https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/runtime-sessions.html, accessed 30 Nov 2026.
  16. Tasks extension, Model Context Protocol, https://modelcontextprotocol.io/extensions/tasks, accessed 30 Nov 2026.
  17. Key changes (2026-07-28), Model Context Protocol specification changelog, https://modelcontextprotocol.io/specification/2026-07-28/changelog, accessed 30 Nov 2026.
  18. How we built our multi-agent research system, Anthropic Engineering (13 Jun 2025), https://www.anthropic.com/engineering/multi-agent-research-system, accessed 30 Nov 2026.
  19. OWASP Top 10 for Agentic Applications, OWASP GenAI Security Project (9 Dec 2025), https://genai.owasp.org/2025/12/09/owasp-top-10-for-agentic-applications-the-benchmark-for-agentic-security-in-the-age-of-autonomous-ai/, accessed 30 Nov 2026.
  20. Persistence, LangGraph documentation, LangChain, https://docs.langchain.com/oss/python/langgraph/persistence, accessed 30 Nov 2026.
  21. Intercept and control agent behavior with hooks, Claude Agent SDK documentation, Anthropic, https://code.claude.com/docs/en/agent-sdk/hooks.md, accessed 30 Nov 2026.
↑