Tool Provider for individual AI Agent (Dynamic tool discovery) #5337
Replies: 2 comments
-
|
I am using this for loading agent skills. Related topic: #4239 I found 2 options for dynamic tools loading. In the examples below, tools are also filtered based on user authorization. Option one, in a tool, like the example below. Each 'turn' the tools will be reset. Option two, using AIContextProvider. Also in this case, each 'turn' the tools will be reset. |
Beta Was this translation helpful? Give feedback.
-
|
I don't think that's natively supported today. I'd probably put a router in front of the agent that picks the relevant tools first, then invokes the agent with just that subset. As the number of tools grows, having runtime checks also helps avoid bad tool selection or retry loops. I've been keeping an eye on https://github.com/FailproofAI/failproofai for that reason. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible in Microsoft Agent Framework to defer tool binding until execution time—by selecting relevant tools dynamically (e.g., via semantic search over tool metadata) instead of predefining them during agent initialization? If not, what are the recommended design patterns to achieve similar behavior?
Ex. In a handoff workflow, tools should be dynamically fetched, filtered, and assigned only at the time the respective agent is invoked.
Beta Was this translation helpful? Give feedback.
All reactions