1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
//! 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 persistence
//! - `secrets`: Enable AWS Secrets Manager integration
//! - `aws-sdk`: Enable all AWS integrations
//!
//! ## Examples
//!
//! ### DynamoDB Checkpointer
//!
//! ```rust,no_run
//! # #[cfg(feature = "dynamodb")]
//! # {
//! use agents_aws::{DynamoDbCheckpointer, Checkpointer};
//! use agents_core::state::AgentStateSnapshot;
//!
//! # async fn example() -> anyhow::Result<()> {
//! // 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?;
//! # Ok(())
//! # }
//! # }
//! ```
pub use ;
// Re-export core types for convenience
pub use ;
/// Placeholder trait for loading configuration secrets.
/// Stub Secrets Manager provider; real implementation will sit behind the `secrets` feature.
;