Files
Agent-Reach/agent_reach/guides/setup-reddit.md
T
Pnant 5d046ecb61 fix(reddit): switch to Exa-only for search and read, remove proxy dependency
Reddit blocks nearly all non-browser access at IP level (including ISP proxies).
Switch Reddit channel to use Exa exclusively:
- Search: web_search_exa with includeDomains: ["reddit.com"]
- Read: crawling_exa for full post + comments
- check() now verifies Exa availability instead of probing Reddit API
- tier changed from 1 (needs config) to 0 (zero config)
- Removed reddit_proxy from config, CLI, and setup guide
- Updated all docs (README, README_en, install.md, SKILL.md, references)
- Fixed xreach→bird references in references/social.md

Fixes #218, Fixes #222, Fixes #221

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 14:21:31 +08:00

1.1 KiB
Raw Blame History

Reddit 配置指南

功能说明

Reddit 封锁了几乎所有非浏览器的直接访问(包括数据中心和 ISP 代理 IP),JSON API 返回 403。

Agent Reach 通过 Exa 实现 Reddit 的搜索和阅读功能:

  • 搜索web_search_exa + includeDomains: ["reddit.com"]
  • 阅读完整帖子+评论crawling_exa 读取 Reddit URL 的缓存内容

免费,无需代理,无需 API Key。

Agent 可自动完成的步骤

  1. 检查 Exa 是否可用:
agent-reach doctor | grep -E "Reddit|Exa"
  1. 如果 Exa 未安装,自动安装:
npm install -g mcporter
mcporter config add exa https://mcp.exa.ai/mcp

或一键安装:

agent-reach install --env=auto

使用示例

搜索 Reddit 内容:

mcporter call 'exa.web_search_exa(query: "python best practices", numResults: 5, includeDomains: ["reddit.com"])'

阅读完整帖子和评论:

mcporter call 'exa.crawling_exa(urls: ["https://www.reddit.com/r/python/comments/xxx/"], maxCharacters: 10000)'

需要用户手动做的步骤

无。Exa 通过 agent-reach install --env=auto 自动配置。