Skip to main content

Module core

Module core 

Source

Re-exports§

pub use crate::events::AgentCommand;
pub use crate::events::AgentEvent;
pub use crate::events::Command;
pub use crate::events::UserCommand;

Structs§

Agent
AgentBuilder
AgentDeps
Cross-cutting dependencies threaded to every agent a run spawns — the root agent and any sub-agents created by in-memory MCP servers. Bundling them keeps the plumbing through builders and servers a single value.
AgentHandle
Handle for communicating with a running Agent
PromptCache
RetryConfig
Backoff/retry policy for transient LLM provider failures.

Enums§

AgentError
Prompt
PromptSource
Authored description of a prompt source — text, a file path, or a glob pattern.
PromptSourceError
Errors raised while resolving PromptSource values into Prompts.

Functions§

agent

Type Aliases§

Result