agentic_tools 0.1.0
agentic_tools: ^0.1.0 copied to clipboard
Tool and function-calling layer for the agentic framework: a typed tool contract, JSON Schema argument validation, a tool registry with namespacing, permission gating, timeouts and structured results. [...]
Changelog #
0.1.0 #
Initial release of the tool layer.
Added #
- Contract —
Tool,ToolSpec,ToolInvocationandToolResult, with specifications validated at construction against the naming rules every major provider enforces. - Authoring —
FunctionToolfor closure-backed tools,FunctionTool.textfor the simplest case,DelegatingToolfor cross-cutting behaviour by composition, andRenamedToolfor resolving naming collisions between packages. - Registry —
ToolRegistrywith eager and lazy registration, andToolSetfor handing each agent only the tools it needs. Specs are readable without constructing implementations. - Execution —
ToolExecutorperforming argument repair and validation, human-approval gating that fails closed, per-tool time budgets enforced even against uncooperative tools, cancellation, bounded-concurrency batches with serialised writes, and tracing. - Events —
ToolCallStarted,ToolCallCompletedandToolApprovalRequested, with aToolFailureKindcategory on every failure.