byIds
Retrieve the requested retained revision or an explicit unavailable result. Never substitute latest.
Kam State · Built for Amazon Bedrock AgentCore
Know which changes were accepted, which inputs a result used, and which exact version your application is reading.
Add Kam beside Amazon Bedrock AgentCore with explicit SDK calls. Keep your model, harness, tools, and interface.
Prelaunch · Private SDK evaluation · Hosted service not yet available.
Refund eligibility
request@1eligibility@1request@1One item. The application may reuse the matching check while valid.
Synthetic records; no agent, model, or AWS execution.
What Kam addresses
Supported identical retries return the accepted receipt without another revision while evidence is retained.
Inspect recorded input versions. Earlier evidence stays intact through corrections while retained.
Kam recovers accepted State processing. Your application owns agent execution and external effects.
The shared foundation
Connect recorded inputs, accepted State, and exact application reads.
Record the source versions behind each result.
Identity + revisionInspect accepted changes and supported retry receipts.
Revision + receiptBrowse bounded History membership at one published generation.
allIdsUse retained revisions in agent context and application views.
byIdsApplication-owned integration; retention and authorization apply.
Explore the State architectureHow it fits
Web · Native · AG-UI
Presents records and interactions.
Agent execution
Run the model/tool loop with AgentCore Harness or your chosen framework.
Accepted application state
Scoped reads for exact versions, recorded inputs, and supported retry receipts.
AgentCore refund workflow · Synthetic example
A customer asks to return one item, then adds another. The first eligibility check still belongs to the first request.
request@1eligibility@1 → request@1request@2eligibility@1 → request@1request@2eligibility@2 → request@2Current means matching evidence, not refund approval.
An agent on AgentCore calls the application’s eligibility tool for request@1. The application records eligibility@1 with that exact request reference.
request@1eligibility@1 → request@1Kam reports Current because eligibility@1 references request@1. The application may reuse the check while it remains authorized, retained, and valid.
request@1eligibility@1 → request@1The customer adds another item to the refund request. The application records request@2; eligibility@1 still references request@1. Earlier records remain inspectable while retained.
request@2eligibility@1 → request@1Kam reports Blocked: eligibility@1 references request@1. That check does not establish current eligibility for request@2.
request@2eligibility@1 → request@1The agent on AgentCore checks request@2. The application records eligibility@2; Kam reports Current for matching inputs. The application decides and enforces any refund.
request@2eligibility@2 → request@2The application repeats an identical eligibility-result submission after a timeout.
An identical supported retry returns the original accepted receipt and no new revision while its evidence is retained. Your application handles repeated tool calls and refund effects.
Read the record and retry code →Synthetic records; no agent, model, or AWS execution. Your application decides and enforces any refund.
The SDK
Use the private TypeScript SDK for supported writes, retries, and exact readback.
@kam-ai/agentcore-history-sdkRequires a supplied SDK, authorized endpoint, and scoped identity. Public npm installation and hosted self-service are unavailable.
byIdsRetrieve the requested retained revision or an explicit unavailable result. Never substitute latest.
allIdsBrowse bounded membership pinned to a published generation. Keep it across pages.
History contract today. Generalized objects and collections remain planned.
Browse the SDK contractsPlanned · no listing available
Hosted Kam State, MCP tools through AgentCore Gateway, and AWS Marketplace purchasing are planned.
One application. One operation.
Bring a correction or an uncertain save. Agree the exact readback, failure checks, scope, duration, and price before starting.