Re-exports§
pub use crate::handle::AgentHandle;pub use crate::handle::SendError;pub use crate::prompt::DynamicToolsFragment;pub use crate::prompt::EnvironmentFragment;pub use crate::prompt::FragmentContext;pub use crate::prompt::PromptFragment;pub use crate::prompt::compose_fragments;
Modules§
- approval_
ledger - Approval ledger + fail-closed gate (P1) — safety-line normalization for external tools.
- compression
- Context compression for long agent conversations.
- env_ref
${ENV:VAR}— product-layer resolution interface (P1).- guard
- handle
- plugin
- Plugin package machinery (P2) — manifest / registry integrity / install lifecycle / loading.
- prompt
- Composable prompt fragments for building system prompts.
- rotation_
policy - Token-budget context management: window rotation instead of summarization.
- script_
tool - Script-tier adapter (P1) — the runtime law for global script tools
(
script.{name}) and the pluginscriptform. - tool_
provider - Tool supply contract (ToolProvider) — the socket that every tool source plugs into.
Structs§
Functions§
- build_
memory_ system_ prompt - Build the memory system prompt guidance.