zoey-core 0.1.1

ZoeyAI core runtime and types — privacy-first AI agent framework optimized for local models
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use crate::types::*;
use std::sync::{Arc, RwLock};

pub struct PipelineContext {
    pub runtime: Arc<RwLock<crate::AgentRuntime>>,
    pub message: Memory,
    pub state: State,
}

impl PipelineContext {
    pub fn new(runtime: Arc<RwLock<crate::AgentRuntime>>, message: Memory) -> Self {
        Self {
            runtime,
            message,
            state: State::new(),
        }
    }
}