Blog Research Feed
A daily AI engineering signal curator. Every morning a Claude agent hosted on Anthropic Managed Agents fetches yesterday's frontier engineering content (RSS, X, YouTube, podcasts, Firecrawl-indexed blogs), drills into the most promising items, picks a Top 10, and posts a report to Slack.
This is not a news digest. The target reader is an engineer working on VLM, video agents, multimodal, or coding agents — the agent surfaces the ten things worth reading yesterday and writes its own takeaway for each.
How it works
GitHub Action (cron, 09:00 UTC)
└── python -m cron.daily
├── Resolve agent + environment by name via Anthropic API
├── sessions.create(...) mounts /workspace/.env (pre-uploaded Files API object)
└── Stream session events until idle
Inside the session container:
$ brf fetch-all --since YESTERDAY → /tmp/feed/index.json
$ jq ... /tmp/feed/index.json triage candidates
$ brf fetch-full --id <id> drill into selected items
$ brf report slack --message-file ... post to Slack
The runner only calls the Anthropic API. All third-party API keys
(Firecrawl, X, OpenAI, Slack) live in a .env file pre-uploaded once to
the Files API; the runner mounts it by file id and never sees the
contents.
Setup
1. API keys
You need:
| Key | Purpose |
|---|---|
ANTHROPIC_API_KEY |
Runner calls sessions/files API |
FIRECRAWL_API_KEY |
Scrape + index endpoints (https://firecrawl.dev) |
X_BEARER_TOKEN |
X API v2 |
OPENAI_API_KEY |
Whisper transcription |
SLACK_WEBHOOK_URL |
Slack incoming webhook for the target channel |
Put them in a local .env (copy from .env.example).
2. Provision the Managed Agent + Environment
pip install -e .
python scripts/create_agent.py
This creates the environment (cloud container with blog-research-feed
from PyPI + apt jq/ffmpeg) and the coordinator agent plus its reader and
reviewer subagents. To push config changes later, run with --update.
The script identifies resources by the name: field in
agent/*.yaml — concrete IDs are looked up at runtime, so you never
have to track them as secrets.
3. Upload the container .env
python -m scripts.upload_env --from-file .env
This prints a file id like file_01ABC.... Save it as a GitHub
repository variable named ENV_FILE_ID (Settings → Variables →
Actions). Re-run whenever you rotate a key.
4. GitHub Secrets
The only secret the runner needs:
ANTHROPIC_API_KEY— for calling sessions/files API
Third-party keys do not go on the runner; they live inside the uploaded
.env.
5. Test
Trigger manually from GitHub Actions → "daily-ai-news" → Run workflow, or dry-run locally:
python -m cron.daily --dry-run
Operations
Releasing a new brf version
# bump version in pyproject.toml, then:
rm -rf dist/ build/ *.egg-info
python -m build
TWINE_USERNAME=__token__ TWINE_PASSWORD=$PYPI_API_TOKEN twine upload dist/blog_research_feed-*
# bump agent/environment.yaml:
# name: blog-research-feed-env-v8 → v9
# "blog-research-feed==0.2.4" → "==0.2.5"
python scripts/create_agent.py --update
The cron run picks up the new environment by name on its next invocation.
Rotating secrets
Update the value in your local .env, re-run python -m scripts.upload_env,
update the ENV_FILE_ID repo variable with the new file id.
Local development
pip install -e .[dev]
pytest -q
brf fetch-all --since 2026-05-20 # end-to-end smoke (~$0.2 firecrawl spend)
CLI reference
Main pipeline (what the agent uses):
brf fetch-all --since <date> --output-dir /tmp/feed # parallel fetch, writes index.json
brf fetch-full --id <id> --output-dir /tmp/feed # drill into one item
brf report slack --message-file <path> # post to Slack webhook
Auxiliary (rarely needed):
brf fetch x-user --handle <handle> --since <date>
brf fetch youtube-transcript --url <url>
brf fetch podcast-transcript --url <feed-or-episode-url>
brf firecrawl scrape --url <url>
brf firecrawl search --query <q> --limit 10
FeedItem shape (see brf/feed_item.py):
{
"id": "ab12cd34ef567890",
"source_type": "rss",
"source": "Simon Willison's Weblog",
"title": "...",
"url": "https://...",
"published": "2026-05-19T14:23:00+00:00",
"summary": "≤ 500 chars",
"has_full": true,
"needs_firecrawl": false,
"extra": {}
}
Repository layout
| Path | Purpose |
|---|---|
brf/ |
CLI bundle, installed into the session container |
brf/main.py |
Click entry: fetch-all / fetch-full are the main flow |
brf/aggregator.py, brf/fetchers/ |
Parallel fetch + dedupe + scheduling |
brf/sources/ |
Source catalog: feeds.yaml / feeds.opml + loader (config.py) |
brf/transcription/ |
Whisper core + YouTube / podcast transcribers |
brf/clients/ |
External API clients (firecrawl.py, x.py) |
brf/delivery/ |
Report delivery (slack.py) |
brf/feed_item.py, config.py, io.py |
Shared schema + env/IO primitives |
agent/agent.yaml, reader.yaml, reviewer.yaml |
Managed Agent definitions (lookup by name) |
agent/*_prompt.md |
System prompts for coordinator / reader / reviewer |
cron/daily.py |
Host-side runner: resolves agent/env by name, opens a session, streams events |
scripts/create_agent.py |
One-shot provisioning / updates for agent + env |
scripts/upload_env.py |
One-shot upload of .env to the Files API |
.github/workflows/daily.yml |
09:00 UTC cron |
docs/managed_agents/, docs/agent_sdk/ |
Local copies of Anthropic docs |
For deeper design notes see ARCHITECTURE.md and
BRF_FETCHER_DESIGN.md.
Known limits
- Whisper has a 25 MB per-file cap; long podcasts are rejected (status
too_large). The system prompt caps daily transcriptions to keep cost predictable. - Some Chinese-language RSS feeds are flaky;
firecrawl_indexbackfills the gap (seeSOURCES_HEALTH.md). - The SSE event stream does not auto-reconnect on drop. The 45-minute job timeout normally avoids the issue.
- YouTube channel RSS occasionally rate-limits residential IPs. The fetcher swallows the error and continues.
Metadata
Release files for blog-research-feed 0.2.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| blog_research_feed-0.2.8.tar.gz | 57.0 kB | Without provenance | Details for blog_research_feed-0.2.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| blog_research_feed-0.2.8-py3-none-any.whl | Python 3 | none | any | Details for blog_research_feed-0.2.8-py3-none-any.whl |
Total release size: 115.1 kB
Release files / blog_research_feed-0.2.8.tar.gz
| Download URL | blog_research_feed-0.2.8.tar.gz |
|---|---|
| Size | 57.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
baf69e0fc80aaee2b77c51ee66ddd7f328db117985e45b9fd9b9d779156dbfb9
|
|
BLAKE2b-256 checksum How to use checksums |
bb9efaab71ef7134dbb895a7c5195b7d1723f468e8e3b0f6a4eb465ff877e3f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.17
|
Release files / blog_research_feed-0.2.8-py3-none-any.whl
| Download URL | blog_research_feed-0.2.8-py3-none-any.whl |
|---|---|
| Size | 58.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eca71b0994b6a05d93ca10ad1cd8c288d7a613f601318af538c1c41a64a29261
|
|
BLAKE2b-256 checksum How to use checksums |
295b216745fd924c32530a44e8a2e68f65293d207b2626d0ff6c37790fc9a066
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.17
|
Security for blog-research-feed 0.2.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.