pub struct AgentEngine { /* private fields */ }Expand description
Common top-level kernel re-exports for quickstarts.
Implementations§
Source§impl AgentEngine
impl AgentEngine
pub fn new( llm: Arc<dyn LlmProvider>, memory: Arc<dyn MemoryStore>, ) -> AgentEngine
pub fn state_cache(&self) -> Arc<dyn StateProjectionCache>
pub fn with_state_cache( self, state_cache: Arc<dyn StateProjectionCache>, ) -> AgentEngine
pub fn with_skill_store(self, skill_store: Arc<dyn SkillStore>) -> AgentEngine
pub fn with_planner(self, planner: Arc<dyn Planner>) -> AgentEngine
pub fn register_native_skill( &self, manifest: SkillManifest, skill: Arc<dyn NativeSkill>, )
pub fn register_wasm_skill( &self, manifest: SkillManifest, executor: Arc<dyn SkillExecutor>, )
pub async fn register_wasm_skill_persistent( &self, manifest: SkillManifest, executor: Arc<dyn SkillExecutor>, wasm_bytes: Vec<u8>, ) -> Result<(), String>
pub async fn advance( &self, request: AdvanceRequest, ) -> Result<AdvanceResult, EngineError>
pub async fn skill_definitions(&self) -> Vec<SkillDefinition>
Trait Implementations§
Source§impl Clone for AgentEngine
impl Clone for AgentEngine
Source§fn clone(&self) -> AgentEngine
fn clone(&self) -> AgentEngine
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AgentEngine
impl !RefUnwindSafe for AgentEngine
impl Send for AgentEngine
impl Sync for AgentEngine
impl Unpin for AgentEngine
impl UnsafeUnpin for AgentEngine
impl !UnwindSafe for AgentEngine
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more