pub struct AgentConfig {
pub enabled: bool,
pub namespace: String,
pub agent_type: String,
pub inbox_dir: String,
pub scan_interval_secs: u64,
pub consolidation_interval_mins: u64,
pub consolidation_batch_size: usize,
pub query_context_limit: usize,
}Expand description
Always-on agent configuration
Fields§
§enabled: boolWhether the always-on agent is enabled
namespace: StringNamespace name for agent-generated memories
agent_type: StringAgent type label for token budget estimation (e.g. “claude-code”, “gemini”)
inbox_dir: StringDirectory to watch for new files
scan_interval_secs: u64File scan interval in seconds
consolidation_interval_mins: u64Consolidation interval in minutes
consolidation_batch_size: usizeMaximum memories to consolidate per run
query_context_limit: usizeMaximum memories to include in query context
Trait Implementations§
Source§impl Clone for AgentConfig
impl Clone for AgentConfig
Source§fn clone(&self) -> AgentConfig
fn clone(&self) -> AgentConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AgentConfig
impl Debug for AgentConfig
Source§impl Default for AgentConfig
impl Default for AgentConfig
Source§impl<'de> Deserialize<'de> for AgentConfig
impl<'de> Deserialize<'de> for AgentConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AgentConfig
impl RefUnwindSafe for AgentConfig
impl Send for AgentConfig
impl Sync for AgentConfig
impl Unpin for AgentConfig
impl UnsafeUnpin for AgentConfig
impl UnwindSafe for AgentConfig
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