Skip to content

doc: add checkpoint docs.#784

Open
JackYPCOnline wants to merge 4 commits intostrands-agents:mainfrom
JackYPCOnline:checkpoint
Open

doc: add checkpoint docs.#784
JackYPCOnline wants to merge 4 commits intostrands-agents:mainfrom
JackYPCOnline:checkpoint

Conversation

@JackYPCOnline
Copy link
Copy Markdown
Contributor

Description

Adds a user-guide page for the experimental checkpointing feature at user-guide/concepts/experimental/checkpointing. The doc walks through the two cycle boundaries (after_model, after_tools), the checkpointResume resume pattern, crash recovery across fresh agent instances, and the interaction with interrupts and cancellation.

Sections:

Overview with a mermaid diagram of the full flow (including interrupt and cancel precedence)
Basic Usage — runnable example with checkpointing=True and a while loop driving resumes
Fresh Agent Instances — crash-recovery pattern across process boundaries
Limitations and Interrupts cross-reference
Structure mirrors the sibling interrupts.mdx (code → Components → Rules per use case). Also registers the new page in
navigation.yml
under Concepts → Experimental.

All claims were verified against the implementation in strands.experimental.checkpoint and event_loop.py, and the Basic Usage example was run end-to-end against Bedrock (Claude 3 Haiku) to confirm result.stop_reason and result.checkpoint behave as documented.

add checkpoint docs

Related Issues

Type of Change

  • New content
  • Content update/revision
  • Structure/organization improvement
  • Typo/formatting fix
  • Bug fix
  • Other (please describe):

Checklist

  • I have read the CONTRIBUTING document
  • My changes follow the project's documentation style
  • I have tested the documentation locally using npm run dev
  • Links in the documentation are valid and working

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 27, 2026

Documentation Preview Ready

Your documentation preview has been successfully deployed!

Preview URL: https://d3ehv1nix5p99z.cloudfront.net/pr-cms-784/docs/user-guide/quickstart/overview/

Updated at: 2026-04-29T19:28:19.229Z

@JackYPCOnline JackYPCOnline changed the title feat : add checkpoint docs. doc: add checkpoint docs. Apr 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant