Skip to content

ToolBoundary v1.0.4

Choose a tag to compare

@Jaycubic Jaycubic released this 25 Oct 16:23
· 14 commits to main since this release

ToolBoundary v1.0.4

Release type: Framework integration

ToolBoundary v1.0.4 introduces an optional CrewAI integration, bringing runtime authorization and policy enforcement directly into CrewAI tool execution.

What's new

CrewAI integration

  • "guard_tool" — wrap an individual CrewAI "BaseTool" with ToolBoundary authorization.
  • "guard_tools" — wrap multiple CrewAI tools and configure per-tool policy overrides.
  • Synchronous and asynchronous execution protection — authorization runs inside the wrapped tool's "_run" and "_arun" execution paths.
  • Structured-tool protection — the authorization check remains in the execution path when CrewAI invokes a structured tool.
  • Positional argument handling — arguments are normalized against the original tool signature before configured value and record-count limits are evaluated.
  • Provider-aware authorization and evidence — when an external provider is configured, the adapter uses ToolBoundary's existing authorization and execution-evidence lifecycle.

Optional dependency

CrewAI remains optional. The core ToolBoundary package does not require CrewAI or add a mandatory framework dependency.

Install the core package:

pip install toolboundary

Install the CrewAI integration:

pip install 'toolboundary[crewai]'

Existing optional integrations remain available:

pip install 'toolboundary[langchain]'
pip install 'toolboundary[redis]'

Compatibility and security model

The CrewAI adapter uses ToolBoundary's existing local policy engine rather than introducing a separate authorization system. Local policy remains authoritative, and an external provider cannot override a local denial.

As with other integrations, tools should be invoked through their guarded wrappers. ToolBoundary is an application-layer enforcement library, not a substitute for credential scoping or network-level egress controls.

Validation

The merged CrewAI integration passed the GitHub Actions build and test checks on Python 3.9, 3.10, 3.11, and 3.12.

Contributors

Thanks to Charles Omeneki for contributing the CrewAI integration and working through review feedback and CI fixes.