Tool surface contracts and infrastructure for the Agent SDK.
This crate defines the traits and registries that tools implement and the runtime dispatches against, without coupling to any specific LLM provider or runtime loop implementation.
Modules
| Module | Description |
|---|---|
[tools] |
Tool traits, registry, ToolContext, name types |
[hooks] |
Lifecycle hooks (pre/post tool, events, errors) |
[audit] |
Authoritative tool audit sink (full lifecycle outcomes) |
[stores] |
Persistence traits for messages, state, events, and tool executions |
[environment] |
Filesystem / process environment abstraction |
[seed] |
Durable reconstruction types (ToolContextSeed, ExecutionContextFactory) |