Panniantong/Agent-Reach
Give your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
Panniantong/Agent-Reach
Give your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
Agent Reach 是一层面向 AI Agent 的互联网能力层:不包一层自己的读取 API,而是替你选型、安装、体检、路由当下最稳的上游工具,让 Claude Code、OpenClaw、Cursor、Windsurf 等能跑命令行的 Agent 去读网页、搜全网、看 YouTube / B站、刷小红书和推特。定位是「接入方式会换代,你不用自己盯」——某个 CLI 被风控或停更,项目换后端,用户无感。主流路径不是自己抄命令,而是把安装文档地址丢给 Agent,让它按 SKILL 完成装机。
agent-reach 负责探测可用后端并给出修复处方;真正读帖、抽字幕、搜仓库由 Agent 直接调用 yt-dlp、gh、bili、opencli 等上游命令agent-reach doctor 报告各渠道状态与当前后端;install 默认只检查环境,显式 --system 才装依赖、写配置让 Agent「上网找点东西」通常卡在付费 API、403、必须登录、字幕拿不到、HTML 噪声这一串坑。Agent Reach 把这些收敛成一次装机:本地电脑多数渠道免费;Cookie / Token 只落在 ~/.agent-reach/(权限 600),不上传。对日常调研、竞品口碑、技术视频总结,Agent 读完 SKILL.md 后自己知道调哪条命令,不必每次重新选型。平台改反爬时,维护者换路由,你继续对 Agent 说话即可。
pip install)。openclaw config set tools.profile "coding",或在 ~/.openclaw/openclaw.json 设 "tools": { "profile": "coding" },然后 openclaw gateway restart 并开新对话。python3 弹出 Microsoft Store,改用 py -3 或真实 python.exe,不要用 Store alias。推荐:把下面这句话发给你的 Agent
帮我安装 Agent Reach:https://raw.githubusercontent.com/Panniantong/agent-reach/main/docs/install.md只检查、不改系统时可以说「帮我安全检查并安装」。已装过要更新:
帮我更新 Agent Reach:https://raw.githubusercontent.com/Panniantong/agent-reach/main/docs/update.md人类手动安装(pipx)
pipx install https://github.com/Panniantong/agent-reach/archive/main.zipagent-reach install --env=auto # 默认:只读检查agent-reach install --env=auto --dry-run # 预览 --system 会做什么# 你明确允许改本机后再执行:agent-reach install --env=auto --system不要 pip install agent-reach 装 PyPI 同名包。遇到 externally-managed-environment 时用 pipx,或:
python3 -m venv ~/.agent-reach-venvsource ~/.agent-reach-venv/bin/activatepip install https://github.com/Panniantong/agent-reach/archive/main.zip国内克隆可用 AtomGit 镜像。
默认只激活网页、YouTube、GitHub、RSS、Exa、V2EX、B站基础渠道。需要登录态时让 Agent 按菜单装,例如:
agent-reach install --env=auto --system --channels=opencli,xiaohongshuagent-reach install --env=auto --system --channels=twitter,reddit# 渠道名:opencli, twitter, xiaoyuzhou, xueqiu, xiaohongshu,# reddit, facebook, instagram, bilibili, linkedin, all装好后对 Agent 直接说人话即可,例如「帮我看看这个链接」「B站搜一下 AI 教程」「这个 YouTube 视频讲了什么」。需要配 Twitter / 小红书时说「帮我配 XXX」,按提示用 Cookie-Editor 导出 Header String,或在 Chrome 里先登录再走 OpenCLI。
卸载:
agent-reach uninstall # 清 ~/.agent-reach/、skill 与 MCP 配置agent-reach uninstall --dry-runagent-reach uninstall --keep-configpip uninstall agent-reach # 仅卸 Python 包agent-reach doctor 里核心渠道为 ✅,并显示各平台 当前后端(agent-reach doctor --json 的 active_backend)。gh repo view 一个公开仓库、对 YouTube 抽字幕或 bili search 一次。TWITTER_AUTH_TOKEN 与 TWITTER_CT0 后再跑 twitter 命令;configure twitter-cookies 只给 doctor 做齐全性检查。agent-reach watch(有问题才通知)。--system 时只是检查清单,渠道不会真正装上。twitter 仍需在该 shell 里 export TWITTER_AUTH_TOKEN / TWITTER_CT0。agent-reach configure proxy。中国大陆访问 X / Reddit 需自备代理。pip / twitter 等命令,必须先切 coding profile。