-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Description
Describe the feature
Sometimes tool lists get large and are unnecessary for all queries, incurring unnecessary cost, but more importantly unnecessary noise to the Agent. Instead, it's sometime better for tools to be dynamically loaded in as decided by the agent. This way the agent is aware of all of the available possible groups of tools, but only looks them up and their definitions when it needs them.
For example, if I have a Google Drive set of tools, and a linear set of tools, and a Slack set of tools, if a user just asks me to look up stuff in Google Drive, the tools available to the agent at the time should only be the Google Drive tools. But if the user says, "I want to look at something in Google Drive and then send it on Slack," then both sets of tools should be made available to the agent dynamically. Is this possible with the OpenAI Agents SDK? How would you recommend we proceed even if it's not?