How to Add Google News to Codex
Codex is OpenAI’s coding agent CLI. Like most coding agents, it’s strong on code tasks but limited when it comes to pulling live external information. Connecting AgentPatch adds Google News — and a full marketplace of other tools — in one config change.
Why This Matters
Codex sessions often involve questions that benefit from current context: what changed in a framework recently, is there a known issue with a library, what are people in the community saying about a particular approach. Without a news integration, you’re supplying that context manually. With AgentPatch connected, Codex can fetch it directly.
The Google News tool returns structured recent articles from Google’s news index. It’s the same source you’d check manually — Codex just does the lookup for you when it’s relevant.
Setup
Add AgentPatch to ~/.codex/config.toml:
[mcp_servers.agentpatch]
url = "https://agentpatch.ai/mcp"
bearer_token_env_var = "AGENTPATCH_API_KEY"
Then set your API key:
export AGENTPATCH_API_KEY=your_api_key
Replace your_api_key with your actual key from the AgentPatch dashboard. Codex discovers all AgentPatch tools automatically on next start.
Example
You’re debugging a performance issue in a Node.js app and you ask Codex:
“Are there any recent articles about V8 engine performance improvements or regressions in Node 22?”
Codex calls the Google News tool through AgentPatch, pulls current coverage, and surfaces anything relevant before helping you investigate. No separate browser session, no manual copy-paste.
Another case — you’re evaluating whether to adopt a new framework and you ask:
“What’s the recent news on Bun as a Node.js replacement? Is there anything about production stability?”
Codex fetches recent articles and gives you a current picture of community sentiment and known issues. That context feeds directly into your decision, without leaving the terminal.
Wrapping Up
One AgentPatch connection gives Codex access to Google News and the entire tool marketplace — web search, image generation, email, maps, and more. Get started at agentpatch.ai.