pub struct Agent {
pub name: String,
pub soul_md: String,
pub model: String,
}Expand description
An agent’s complete configuration.
SOUL.md is the sole config source — no built-in role/persona concept (primitives over features).
Fields§
§name: StringUnique identifier for this agent.
soul_md: StringFull contents of the agent’s SOUL.md system prompt.
model: StringLLM model identifier (e.g. “anthropic/claude-sonnet-4-6”).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Agent
impl RefUnwindSafe for Agent
impl Send for Agent
impl Sync for Agent
impl Unpin for Agent
impl UnsafeUnpin for Agent
impl UnwindSafe for Agent
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