rename: Agent Eyes → Agent Reach
全局重命名: - 包名: agent_eyes → agent_reach - CLI: agent-eyes → agent-reach - 类名: AgentEyes → AgentReach - 显示名: Agent Eyes → Agent Reach - GitHub: Panniantong/agent-eyes → Panniantong/Agent-Reach 所有 36 个测试通过,CLI/doctor/read/search 全部正常。
This commit is contained in:
+23
-23
@@ -1,8 +1,8 @@
|
||||
# 👁️ Agent Eyes
|
||||
# 👁️ Agent Reach
|
||||
|
||||
**Give your AI Agent eyes to see the entire internet.**
|
||||
|
||||
Your AI Agent is smart but blind. It can't browse Reddit, search Twitter, or read Bilibili videos. Agent Eyes fixes this — once installed, your Agent can search and read content across 10+ platforms.
|
||||
Your AI Agent is smart but blind. It can't browse Reddit, search Twitter, or read Bilibili videos. Agent Reach fixes this — once installed, your Agent can search and read content across 10+ platforms.
|
||||
|
||||
> Install once. Superpowers unlocked. Most features work with zero config, zero cost.
|
||||
|
||||
@@ -15,7 +15,7 @@ Your AI Agent is smart but blind. It can't browse Reddit, search Twitter, or rea
|
||||
Copy this to your AI Agent (Claude Code, OpenClaw, Cursor, etc.):
|
||||
|
||||
```
|
||||
Install Agent Eyes: https://raw.githubusercontent.com/Panniantong/agent-eyes/main/docs/install.md
|
||||
Install Agent Reach: https://raw.githubusercontent.com/Panniantong/agent-reach/main/docs/install.md
|
||||
```
|
||||
|
||||
Your Agent handles everything. You answer 1-2 questions at most.
|
||||
@@ -24,9 +24,9 @@ Your Agent handles everything. You answer 1-2 questions at most.
|
||||
<summary>Manual install</summary>
|
||||
|
||||
```bash
|
||||
pip install https://github.com/Panniantong/agent-eyes/archive/main.zip
|
||||
agent-eyes install --env=auto
|
||||
agent-eyes doctor
|
||||
pip install https://github.com/Panniantong/agent-reach/archive/main.zip
|
||||
agent-reach install --env=auto
|
||||
agent-reach doctor
|
||||
```
|
||||
</details>
|
||||
|
||||
@@ -44,8 +44,8 @@ No configuration needed:
|
||||
- 🐦 **Twitter** — read individual tweets
|
||||
|
||||
```bash
|
||||
agent-eyes read "https://github.com/openai/gpt-4"
|
||||
agent-eyes search-github "LLM framework"
|
||||
agent-reach read "https://github.com/openai/gpt-4"
|
||||
agent-reach search-github "LLM framework"
|
||||
```
|
||||
|
||||
---
|
||||
@@ -55,10 +55,10 @@ agent-eyes search-github "LLM framework"
|
||||
Sign up at [Exa](https://exa.ai) (free, 1000 searches/month). One key unlocks **web + Reddit + Twitter search**:
|
||||
|
||||
```bash
|
||||
agent-eyes configure exa-key YOUR_KEY
|
||||
agent-eyes search "best open source LLM 2025"
|
||||
agent-eyes search-reddit "self-hosted LLM" --sub LocalLLaMA
|
||||
agent-eyes search-twitter "AI agent"
|
||||
agent-reach configure exa-key YOUR_KEY
|
||||
agent-reach search "best open source LLM 2025"
|
||||
agent-reach search-reddit "self-hosted LLM" --sub LocalLLaMA
|
||||
agent-reach search-twitter "AI agent"
|
||||
```
|
||||
|
||||
---
|
||||
@@ -69,11 +69,11 @@ agent-eyes search-twitter "AI agent"
|
||||
|
||||
```bash
|
||||
# Local: auto-import all cookies
|
||||
agent-eyes configure --from-browser chrome
|
||||
agent-reach configure --from-browser chrome
|
||||
|
||||
# Server: use Cookie-Editor extension, export Header String
|
||||
agent-eyes configure twitter-cookies "cookie_string"
|
||||
agent-eyes configure xhs-cookie "cookie_string"
|
||||
agent-reach configure twitter-cookies "cookie_string"
|
||||
agent-reach configure xhs-cookie "cookie_string"
|
||||
```
|
||||
|
||||
Unlocks: Twitter deep search, XiaoHongShu notes
|
||||
@@ -83,7 +83,7 @@ Unlocks: Twitter deep search, XiaoHongShu notes
|
||||
Reddit and Bilibili block server IPs. Local computers are fine.
|
||||
|
||||
```bash
|
||||
agent-eyes configure proxy http://user:pass@ip:port
|
||||
agent-reach configure proxy http://user:pass@ip:port
|
||||
```
|
||||
|
||||
Recommend [Webshare](https://webshare.io). One proxy covers both Reddit and Bilibili.
|
||||
@@ -95,24 +95,24 @@ Recommend [Webshare](https://webshare.io). One proxy covers both Reddit and Bili
|
||||
**CLI** · **Python API** · **MCP Server**
|
||||
|
||||
```bash
|
||||
agent-eyes read "URL"
|
||||
agent-eyes search "query"
|
||||
agent-eyes doctor
|
||||
agent-reach read "URL"
|
||||
agent-reach search "query"
|
||||
agent-reach doctor
|
||||
```
|
||||
|
||||
```python
|
||||
from agent_eyes import AgentEyes
|
||||
eyes = AgentEyes()
|
||||
from agent_reach import AgentReach
|
||||
eyes = AgentReach()
|
||||
result = asyncio.run(eyes.read("https://example.com"))
|
||||
```
|
||||
|
||||
```json
|
||||
{"mcpServers": {"agent-eyes": {"command": "python", "args": ["-m", "agent_eyes.integrations.mcp_server"]}}}
|
||||
{"mcpServers": {"agent-reach": {"command": "python", "args": ["-m", "agent_reach.integrations.mcp_server"]}}}
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Why Agent Eyes?
|
||||
## Why Agent Reach?
|
||||
|
||||
Not a framework. Not an SDK. Just glue — beautifully simple glue.
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ Here's how to export cookies from your local computer — **fastest method first
|
||||
|
||||
That's it! Your Agent will run:
|
||||
```bash
|
||||
agent-eyes configure twitter-cookies <your_pasted_string>
|
||||
agent-reach configure twitter-cookies <your_pasted_string>
|
||||
```
|
||||
|
||||
### Sites to export:
|
||||
|
||||
+17
-17
@@ -1,11 +1,11 @@
|
||||
# Agent Eyes — Installation Guide
|
||||
# Agent Reach — Installation Guide
|
||||
|
||||
## For Humans
|
||||
|
||||
Copy this to your AI Agent:
|
||||
|
||||
```
|
||||
帮我安装 Agent Eyes:https://raw.githubusercontent.com/Panniantong/agent-eyes/main/docs/install.md
|
||||
帮我安装 Agent Reach:https://raw.githubusercontent.com/Panniantong/agent-reach/main/docs/install.md
|
||||
```
|
||||
|
||||
---
|
||||
@@ -15,8 +15,8 @@ Copy this to your AI Agent:
|
||||
### Step 1: Install
|
||||
|
||||
```bash
|
||||
pip install https://github.com/Panniantong/agent-eyes/archive/main.zip || pip3 install https://github.com/Panniantong/agent-eyes/archive/main.zip
|
||||
agent-eyes install --env=auto
|
||||
pip install https://github.com/Panniantong/agent-reach/archive/main.zip || pip3 install https://github.com/Panniantong/agent-reach/archive/main.zip
|
||||
agent-reach install --env=auto
|
||||
```
|
||||
|
||||
This single command does everything automatically:
|
||||
@@ -37,7 +37,7 @@ Only ask the user for items the install output says are missing.
|
||||
> "Want to unlock web search? Go to https://exa.ai → sign up (free) → send me the API key."
|
||||
|
||||
```bash
|
||||
agent-eyes configure exa-key THE_KEY
|
||||
agent-reach configure exa-key THE_KEY
|
||||
```
|
||||
|
||||
**If cookies were not auto-imported (server users):**
|
||||
@@ -45,21 +45,21 @@ agent-eyes configure exa-key THE_KEY
|
||||
> Extension: https://chromewebstore.google.com/detail/cookie-editor/hlkenndednhfkekhgcdicdfddnkalmdm
|
||||
|
||||
```bash
|
||||
agent-eyes configure twitter-cookies "PASTED_STRING"
|
||||
agent-eyes configure xhs-cookie "PASTED_STRING"
|
||||
agent-reach configure twitter-cookies "PASTED_STRING"
|
||||
agent-reach configure xhs-cookie "PASTED_STRING"
|
||||
```
|
||||
|
||||
**If on server and wants Reddit/Bilibili full access:**
|
||||
> "Reddit and Bilibili block server IPs. Get a proxy at https://webshare.io ($1/month) and send me the address."
|
||||
|
||||
```bash
|
||||
agent-eyes configure proxy http://user:pass@ip:port
|
||||
agent-reach configure proxy http://user:pass@ip:port
|
||||
```
|
||||
|
||||
### Step 3: Verify
|
||||
|
||||
```bash
|
||||
agent-eyes doctor
|
||||
agent-reach doctor
|
||||
```
|
||||
|
||||
Report what's active. Users can configure more anytime by asking.
|
||||
@@ -70,11 +70,11 @@ Report what's active. Users can configure more anytime by asking.
|
||||
|
||||
| Command | What it does |
|
||||
|---------|-------------|
|
||||
| `agent-eyes install --env=auto` | Full auto-setup |
|
||||
| `agent-eyes doctor` | Show status |
|
||||
| `agent-eyes configure exa-key KEY` | Unlock search |
|
||||
| `agent-eyes configure twitter-cookies "..."` | Unlock Twitter |
|
||||
| `agent-eyes configure xhs-cookie "..."` | Unlock XiaoHongShu |
|
||||
| `agent-eyes configure proxy URL` | Unlock Reddit + Bilibili (server) |
|
||||
| `agent-eyes read URL` | Read any URL |
|
||||
| `agent-eyes search "query"` | Search the web |
|
||||
| `agent-reach install --env=auto` | Full auto-setup |
|
||||
| `agent-reach doctor` | Show status |
|
||||
| `agent-reach configure exa-key KEY` | Unlock search |
|
||||
| `agent-reach configure twitter-cookies "..."` | Unlock Twitter |
|
||||
| `agent-reach configure xhs-cookie "..."` | Unlock XiaoHongShu |
|
||||
| `agent-reach configure proxy URL` | Unlock Reddit + Bilibili (server) |
|
||||
| `agent-reach read URL` | Read any URL |
|
||||
| `agent-reach search "query"` | Search the web |
|
||||
|
||||
Reference in New Issue
Block a user