Expand description
AWS integration helpers: wiring for Secrets Manager, DynamoDB, and CloudWatch. Concrete implementations will live behind feature flags, so the core remains lightweight when running outside AWS.
§Features
dynamodb
: Enable DynamoDB checkpointer for state persistencesecrets
: Enable AWS Secrets Manager integrationaws-sdk
: Enable all AWS integrations
§Examples
§DynamoDB Checkpointer
use agents_aws::{DynamoDbCheckpointer, Checkpointer};
use agents_core::state::AgentStateSnapshot;
// Create a DynamoDB checkpointer
let checkpointer = DynamoDbCheckpointer::new("agent-checkpoints").await?;
// Save agent state
let state = AgentStateSnapshot::default();
checkpointer.save_state(&"thread-id".to_string(), &state).await?;
// Load agent state
let loaded = checkpointer.load_state(&"thread-id".to_string()).await?;
Re-exports§
pub use dynamodb_checkpointer::DynamoDbCheckpointer;
pub use dynamodb_checkpointer::DynamoDbCheckpointerBuilder;
Modules§
- dynamodb_
checkpointer - DynamoDB-backed checkpointer implementation for AWS deployments.
Structs§
- Unimplemented
Secrets Provider - Stub Secrets Manager provider; real implementation will sit behind the
secrets
feature.
Traits§
- Checkpointer
- Trait for persisting and retrieving agent state between conversation runs. This mirrors the LangGraph Checkpointer interface used in the Python implementation.
- Secrets
Provider - Placeholder trait for loading configuration secrets.
Type Aliases§
- Thread
Id - Unique identifier for a conversation thread/session.