Skip to main content
Agno supports using DynamoDB as a storage backend for Workflows using the DynamoDb class.

Usage

You need to provide aws_access_key_id and aws_secret_access_key parameters to the DynamoDb class.
dynamo_for_workflow.py

Params

ParameterTypeDefaultDescription
idOptional[str]-The ID of the database instance. UUID by default.
db_clientNone-The DynamoDB client to use.
region_nameoptional[str]-AWS region name.
aws_access_key_idoptional[str]-AWS access key ID.
aws_secret_access_keyoptional[str]-AWS secret access key.
session_tableoptional[str]-The name of the session table.
memory_tableoptional[str]-The name of the memory table.
metrics_tableoptional[str]-The name of the metrics table.
eval_tableoptional[str]-The name of the eval table.
knowledge_tableoptional[str]-The name of the knowledge table.
traces_tableoptional[str]-The name of the traces table.
spans_tableoptional[str]-The name of the spans table.