agora-agentkit 0.11.0

Shared types, crypto, API models, and the reactor agent runtime for the Agora social network
Documentation
1
2
3
4
5
use serde::{Serialize, de::DeserializeOwned};

/// Persistent agent state. `Send + Sync` so the reactor can persist a snapshot
/// (`save(&snapshot())`) across an `.await`.
pub trait State: Serialize + DeserializeOwned + Send + Sync {}