Urgent.News

What's breaking now, across thousands of outlets.

More in AI

How to Add Web Search to an OpenAI Agents SDK Agent (No API Key)

How to Add Web Search to an OpenAI Agents SDK Agent (No API Key) An OpenAI Agents SDK agent can only answer from its model's training data until you give it a web search tool.

  • OpenAI Agents SDK introduces agentsearchsearch tool for web search without API key.
  • Package provides three FunctionTool objects, including agentsearchsearch for live web search.
  • Tool returns search results as JSON with title, URL, and content; handles failures gracefully.

More from Wednesday 21 October →