Skip to content

Give your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.

fix: 3 bugs found in Docker clean-room test

Panniantongc40ffbd5edb3
diff --git a/README.md b/README.md
index 8844ee54..3e8f92ec 100644
--- a/README.md
+++ b/README.md
@@ -22,7 +22,7 @@ Your Agent reads the guide, installs everything, and configures itself. You just
**Or install manually:**
```bash
-pip install git+https://github.com/Panniantong/agent-eyes.git
+pip install https://github.com/Panniantong/agent-eyes/archive/main.zip
agent-eyes doctor # See what's available
agent-eyes setup # Unlock more (optional)
```
diff --git a/agent_eyes/cli.py b/agent_eyes/cli.py
index 94990d2d..1dd7e75b 100644
--- a/agent_eyes/cli.py
+++ b/agent_eyes/cli.py
@@ -523,6 +523,21 @@ async def _cmd_search(args):
else:
print(f"Unknown command: {args.command}", file=sys.stderr)
sys.exit(1)
+ except Exception as e:
+ error_str = str(e)
+ if "401" in error_str or "Unauthorized" in error_str:
+ print("⚠️ Exa API key not configured or invalid.")
+ print("Get a free key at https://exa.ai (1000 searches/month free)")
+ print("Then run: agent-eyes configure exa-key YOUR_KEY")
+ sys.exit(1)
+ elif "exa" in error_str.lower() or "api_key" in error_str.lower():
+ print("⚠️ Exa API key not configured.")
+ print("Get a free key at https://exa.ai")
+ print("Then run: agent-eyes configure exa-key YOUR_KEY")
+ sys.exit(1)
+ else:
+ print(f"❌ Error: {e}", file=sys.stderr)
+ sys.exit(1)
if not results:
print("No results found.")
diff --git a/docs/install.md b/docs/install.md
index c0c7d80e..fed4a8de 100644
--- a/docs/install.md
+++ b/docs/install.md
@@ -17,7 +17,7 @@ Install Agent Eyes with minimal user effort. Goal: fewest questions, fewest step
### Step 1: Install and detect
```bash
-pip install git+https://github.com/Panniantong/agent-eyes.git || pip3 install git+https://github.com/Panniantong/agent-eyes.git
+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
```
diff --git a/pyproject.toml b/pyproject.toml
index 350eb802..070a66a1 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -26,6 +26,7 @@ dependencies = [
"loguru>=0.7",
"pyyaml>=6.0",
"rich>=13.0",
+ "yt-dlp>=2024.0",
]
[project.optional-dependencies]