From the course: Agentic AI Solution Design Patterns

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Tool discovery and use

Tool discovery and use

- So as we've learned, LLMs are a crucial part of agents, enabling them to understand, reason, and plan. With patterns Like ReAct, agents can even use external tools to perform actions in the real world. However, an agent in a complex environment, like a modern office, might have dozens or even hundreds of specialized tools it could potentially use, from online tools, like room booking systems and IT support portals, to physical tools, like keys or screwdrivers. Because LLMs operate with a context window, meaning they can only process a limited amount of information at one time, if we were to include a detailed description of every single available tool in every system prompt we sent to the LLM, these prompts would quickly become too large and inefficient. Therefore, it may not always be possible for the agent to access a tool it needs, because it may not know where it is located or if it even exists. The tool discovery and use design pattern is applied to enhance an agent's ability…

Contents