Ask AI:
Execution Modes (Direct vs Dynamic)
Every bundle can run in one of two execution modes:
- Direct: your AI client loads the bundle’s full tool list up front and calls tools directly.
- Dynamic: the bundle starts with a small “meta” surface, discovers tools only when needed, and runs multi-step workflows without flooding the model’s context with tool definitions and intermediate results.
Same bundle URL. Same slug. Same credential bindings.
Just a different execution strategy.
Why Dynamic exists
Dynamic mode solves two scaling problems:
- Tool definition bloat: large tool libraries can be slow and brittle for AI clients to load and use.
- Intermediate-result bloat: big tool outputs can pollute context and derail the rest of a workflow.
Dynamic mode keeps context small by:
- discovering tools on-demand
- executing workflows in a controlled code execution environment
- returning only the final output to the conversation
The rule: Direct is limited to 100 tools
Direct mode is still ideal for small, focused bundles.
But once a bundle exceeds 100 tools, Direct becomes unreliable for many AI clients.
So we enforce a simple constraint:
- Bundles with more than 100 tools must use Dynamic mode.
You can enable Dynamic at any bundle size. Switching back to Direct is only allowed when the bundle is at 100 tools or fewer.
Dynamic is “Hub-style,” but bundle-scoped
If you’ve used the Hub, Dynamic will feel familiar.
The key difference: a Dynamic bundle is scoped to one bundle:
- tool search only returns tools inside this bundle
- tool execution only uses this bundle’s credential bindings