ai-agents-context 1.0.0

Dynamic context management for AI Agents framework
Documentation
1
2
3
4
5
6
7
8
9
use async_trait::async_trait;
use serde_json::Value;

use ai_agents_core::Result;

#[async_trait]
pub trait ContextProvider: Send + Sync {
    async fn get(&self, key: &str, current_context: &Value) -> Result<Value>;
}