Build a Daily Digest Agent with Roo Code
Before diving into a coding session, having current context on your project’s domain is valuable. What shipped from competitors overnight? What are developers discussing? Any relevant announcements? A quick digest at the start of a work session sets useful context without consuming much time.
Roo Code is an open-source AI coding agent that runs as a VS Code extension. It supports MCP tools, which means it can call external services during a conversation. Connect it to a news tool and Roo Code can pull a structured digest on demand: current articles, brief summaries, organized by topic.
This isn’t a scheduled automation. It’s something you ask for when you want it, and it gives you live results rather than stale training data. Open Roo Code, ask for a digest, read it in two minutes, then start coding with context.
Setup
The AgentPatch CLI is designed for AI agents to use via shell access. Install it, and your agent can discover and invoke any tool on the marketplace.
Install (zero dependencies, Python 3.10+):
pip install agentpatch
Set your API key:
export AGENTPATCH_API_KEY=your_api_key
Example commands your agent will use:
ap search "web search"
ap run google-search --input '{"query": "test"}'
Get your API key from the AgentPatch dashboard.
Example: Morning Briefing
You open VS Code to start your work day. Before jumping into code, you ask Roo Code:
“Give me a morning digest. Pull the latest news on: ‘AI coding tools’, ‘Rust programming language’, ‘WebAssembly’, and ‘developer productivity’. Top 3 stories per topic, 1-2 sentence summary each.”
Roo Code calls Google News through AgentPatch for each topic and returns a formatted digest. Four sections, current articles, brief summaries. You scan it in a couple of minutes.
You spot something interesting and follow up:
“There was a mention of a new Rust async runtime. Pull more articles on that.”
Roo Code runs a targeted query and surfaces deeper coverage. You get more detail on the story that caught your eye, without opening a browser.
Example: Pre-Meeting Pulse Check
Before a product meeting, you want to know what’s happening in your competitive space:
“Quick pulse check: any news about Vercel, Netlify, or Cloudflare in the last 48 hours? Just headlines and one-line summaries.”
Roo Code pulls the latest coverage and gives you a brief you can reference during the meeting.
What Roo Code Does Step by Step
- Takes your list of topics and translates each into a Google News query.
- Calls the news tool through AgentPatch for each topic.
- Collects the results and formats them into a structured digest.
- Presents the digest in the VS Code chat panel, organized by topic with summaries.
If you want the digest saved to a file (say, a markdown document in your project), just ask. Roo Code can write it to your workspace alongside your code.
Wrapping Up
Connecting AgentPatch gives Roo Code access to Google News and every other tool on the marketplace through a single MCP configuration. The same connection covers web search, trends, email, image generation, and more. Get started at agentpatch.ai.