Agno supports using DynamoDB as a database with theDocumentation Index
Fetch the complete documentation index at: https://agno-v2-shaloo-ai-support-link.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
DynamoDb class.
Usage
To connect to DynamoDB, you will need valid AWS credentials. You can set them as environment variables:AWS_REGION: The AWS region to connect to.AWS_ACCESS_KEY_ID: Your AWS access key id.AWS_SECRET_ACCESS_KEY: Your AWS secret access key.
dynamo_for_agent.py
Params
| Parameter | Type | Default | Description |
|---|---|---|---|
id | Optional[str] | - | The ID of the database instance. UUID by default. |
db_client | None | - | The DynamoDB client to use. |
region_name | optional[str] | - | AWS region name. |
aws_access_key_id | optional[str] | - | AWS access key ID. |
aws_secret_access_key | optional[str] | - | AWS secret access key. |
session_table | optional[str] | - | The name of the session table. |
memory_table | optional[str] | - | The name of the memory table. |
metrics_table | optional[str] | - | The name of the metrics table. |
eval_table | optional[str] | - | The name of the eval table. |
knowledge_table | optional[str] | - | The name of the knowledge table. |
traces_table | optional[str] | - | The name of the traces table. |
spans_table | optional[str] | - | The name of the spans table. |