docs: add proactive compression docs#806
Conversation
Documentation Preview ReadyYour documentation preview has been successfully deployed! Preview URL: https://d3ehv1nix5p99z.cloudfront.net/pr-cms-806/docs/user-guide/quickstart/overview/ Updated at: 2026-05-13T18:43:41.048Z |
|
Assessment: Comment The documentation is well-written and clearly explains a complex feature (proactive context compression). The code snippets follow existing patterns, the section structure is logical, and cross-references between token counting and proactive compression are solid. Review Notes
Nice work documenting both the high-level concept and the internals (token estimation strategy, provider support table). |
a134092 to
f1761dc
Compare
|
Assessment: Approve This PR adds clear, well-organized documentation for proactive context compression. The code snippets follow established patterns (function scoping, snippet markers), cross-references between pages are consistent, and the external link to the SDK source code is valid. The prior review comment about the undefined |
f1761dc to
c223bc3
Compare
c223bc3 to
f91b048
Compare
f91b048 to
50d94b7
Compare
Move token counting docs under Advanced Features for native-only providers, remove from heuristic-only providers, and document the 200k default context window fallback behavior with accuracy caveats. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
50d94b7 to
892eb93
Compare
|
Assessment: Approve The PR has been significantly improved since the prior review. The restructuring — distributing token counting docs to individual provider pages and using Review Notes
|
|
Assessment: Approve All previously raised feedback has been addressed. The addition of Python code examples, simplified caution section, and generalized token counting intro text ("context management strategies") are good improvements. No new issues found. |
f1493eb to
c35cb0a
Compare
|
Assessment: Approve (one minor note inline) The PR is in great shape. All prior feedback has been addressed — typos fixed, Python examples added, caution section simplified, token counting intro generalized. The only remaining item is the "(TypeScript)" label on line 99 of conversation-management.mdx which is now outdated since the section covers both languages. |
Description
Add docs for proactive compression and token counting features
Related Issues
strands-agents/sdk-python#2239
Type of Change
Checklist
npm run devBy submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.