Skip to main content

Kam State · Built for Amazon Bedrock AgentCore

Durable State. For agents and applications.

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.

State inspectionSynthetic example

Refund eligibility

A request changes.
Which check still applies?

CurrentThe recorded inputs match
Customer request
request@1
Eligibility check
eligibility@1
Check’s recorded input
request@1

One item. The application may reuse the matching check while valid.

Synthetic records; no agent, model, or AWS execution.

What Kam addresses

Know what changed. Know what still applies.

  • Resolve an uncertain save.

    Supported identical retries return the accepted receipt without another revision while evidence is retained.

  • Inspect a result’s inputs.

    Inspect recorded input versions. Earlier evidence stays intact through corrections while retained.

  • Recover accepted State work.

    Kam recovers accepted State processing. Your application owns agent execution and external effects.

The shared foundation

One State contract. From inputs to interfaces.

Connect recorded inputs, accepted State, and exact application reads.

  1. Recorded inputs

    Record the source versions behind each result.

    Identity + revision
  2. Accepted State

    Inspect accepted changes and supported retry receipts.

    Revision + receipt
  3. Published membership

    Browse bounded History membership at one published generation.

    allIds
  4. Exact reads

    Use retained revisions in agent context and application views.

    byIds

Application-owned integration; retention and authorization apply.

Explore the State architecture

How it fits

Add a State boundary to your agent stack.

Web · Native · AG-UI

Your application

Presents records and interactions.

Messages + events

Agent execution

Amazon Bedrock AgentCore

Run the model/tool loop with AgentCore Harness or your chosen framework.

Explicit SDK calls

Accepted application state

Kam State

Scoped reads for exact versions, recorded inputs, and supported retry receipts.

Connect the State boundary.

Keep your harness, checkpoints, tools, and interface. Your backend owns the SDK calls.

Automatic capture, managed AgentCore wiring, and protected external-tool recovery remain planned.

Read the AG-UI + AgentCore guide
What happens when a recorded input changes?

AgentCore refund workflow · Synthetic example

A request changes. Know which check still applies.

A customer asks to return one item, then adds another. The first eligibility check still belongs to the first request.

One request, two versions.
  1. Original request
    Request
    request@1
    Check uses
    eligibility@1 → request@1
    Evidence
    Current
  2. Customer adds an item
    Request
    request@2
    Check uses
    eligibility@1 → request@1
    Evidence
    Blocked
  3. Refreshed check
    Request
    request@2
    Check uses
    eligibility@2 → request@2
    Evidence
    Current

Current means matching evidence, not refund approval.

Follow the recorded steps and retry
  1. Record the request and tool result

    An agent on AgentCore calls the application’s eligibility tool for request@1. The application records eligibility@1 with that exact request reference.

    Customer request
    request@1
    Eligibility check and input
    eligibility@1 → request@1
  2. Inspect the matching evidence

    Kam reports Current because eligibility@1 references request@1. The application may reuse the check while it remains authorized, retained, and valid.

    Customer request
    request@1
    Eligibility check and input
    eligibility@1 → request@1
    Kam evidence status
    Current
  3. Record the customer’s change

    The 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.

    Customer request
    request@2
    Eligibility check and input
    eligibility@1 → request@1
  4. Inspect the blocked check

    Kam reports Blocked: eligibility@1 references request@1. That check does not establish current eligibility for request@2.

    Customer request
    request@2
    Eligibility check and input
    eligibility@1 → request@1
    Kam evidence status
    Blocked
  5. Record a refreshed eligibility check

    The agent on AgentCore checks request@2. The application records eligibility@2; Kam reports Current for matching inputs. The application decides and enforces any refund.

    Customer request
    request@2
    Eligibility check and input
    eligibility@2 → request@2
    Kam evidence status
    Current
What if the same result is submitted twice?

The 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

Start with one accepted operation.

Use the private TypeScript SDK for supported writes, retries, and exact readback.

Bundled SDK artifact · 0.52.0@kam-ai/agentcore-history-sdk

Requires a supplied SDK, authorized endpoint, and scoped identity. Public npm installation and hosted self-service are unavailable.

Read an exact version. Browse a fixed, versioned list.

byIds

Retrieve the requested retained revision or an explicit unavailable result. Never substitute latest.

allIds

Browse bounded membership pinned to a published generation. Keep it across pages.

History contract today. Generalized objects and collections remain planned.

Browse the SDK contracts

Available for private SDK evaluation.

Planned · no listing available

A path to a managed AgentCore add-on.

Hosted Kam State, MCP tools through AgentCore Gateway, and AWS Marketplace purchasing are planned.

Review the planned offering

One application. One operation.

Evaluate one operation in your application.

Bring a correction or an uncertain save. Agree the exact readback, failure checks, scope, duration, and price before starting.