Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.xhipai.com/llms.txt

Use this file to discover all available pages before exploring further.

Setup

npm install @aws-sdk/client-dynamodb
import { DynamoDBStorage } from "@agentium/core";

const storage = new DynamoDBStorage({
  region: "us-east-1",
  tableName: "agentium_kv",
});

// Local development
const storage = new DynamoDBStorage({
  endpoint: "http://localhost:8000",
  region: "local",
});

Configuration

OptionTypeDefaultDescription
tableNamestring"agentium_kv"DynamoDB table name
regionstringAWS region
endpointstringCustom endpoint (for local dev)
credentialsobjectAWS credentials override
The table is auto-created on first initialize() with partition key namespace and sort key key, using PAY_PER_REQUEST billing.