Hey! How can I use this with koog? <https://platf...
# koog-agentic-framework
s
I'm not sure about the specifics, but this looks like a tool that is built into the agent already that must be enabled.
p
We currently only support Chat Completion, and as I understand it, a special model needs to be used for that: https://platform.openai.com/docs/guides/tools-web-search?api-mode=chat Support for the Responses API and the new models is still in progress.
s
So I need to use a model which has web search built in?
Or build a custom tool/MCP to handle it
p
So I need to use a model which has web search built in?
What you sent via the link above, yes, that’s currently the only way to use the built-in tool. These are tools provided directly by the provider itself, in this case OpenAI. In Koog, you need to use
gpt-4o-search-preview
. There’s no predefined model like that, but you can create one using the
LLModel
class
Or build a custom tool/MCP to handle it
That’s also possible, but it’s a different approach. You can use a custom tool, but for that you’d need to implement a search engine (not web search from openai). With MCP, it’s roughly the same, you’d need the corresponding MCP server
s
A ToolSet should suffice, no?
gpt-4o-search-preview can't use tools which is an issue
I need to search the web and collate findings using a tool
Is it possible to delegate the searching to one agent and the tool calling to another?
The agents pass to each other
Is this where the capability system comes in? If I define certain capabilities per model will KOOG select the appropriate model ?
Any responses here? This is blocking me from using koog 😞