Agent-Reach/agent_eyes/guides/setup-groq.md
Panniantong 8eab038cb9 v1.0.0 — Agent Eyes: search + read the entire internet
Major restructure from x-reader fork to independent project:

Architecture:
- readers/ — content extraction from 10+ platforms (based on x-reader, MIT)
- search/ — semantic search via Exa, GitHub API, birdx (NEW)
- config.py — configuration management (~/.agent-eyes/config.yaml) (NEW)
- doctor.py — environment health checker (NEW)
- core.py — AgentEyes unified entry point (NEW)
- cli.py — full CLI: read, search, setup, doctor (NEW)
- integrations/mcp_server.py — 8 MCP tools (NEW)
- guides/ — 6 Agent-readable setup guides (NEW)
- integrations/skill/ — OpenClaw Skill package (NEW)

Platforms (zero config):
- Web pages, GitHub, Bilibili, YouTube, RSS, single tweets

Platforms (one free API key):
- Web search, Reddit search, Twitter search (via Exa)

Platforms (optional setup):
- Reddit full reader, Twitter advanced, WeChat, XiaoHongShu

Tests: 34/34 passing

Credits: Built on x-reader by @runes_leo (MIT License)
2026-02-24 04:00:47 +01:00

1.2 KiB
Raw Blame History

Groq Whisper 配置指南

功能说明

当 YouTube/Bilibili 视频没有字幕时,用 Groq 的 Whisper API 进行语音转文字。Groq 提供免费额度。

Agent 可自动完成的步骤

  1. 检查是否已配置:
agent-eyes doctor | grep -i "groq\|whisper"
  1. 如果用户提供了 key写入配置
from agent_eyes.config import Config
c = Config()
c.set("groq_api_key", "用户提供的KEY")
  1. 测试(可选):
curl -s https://api.groq.com/openai/v1/models \
  -H "Authorization: Bearer 用户提供的KEY" \
  -o /dev/null -w "%{http_code}"

返回 200 = 可用

需要用户手动做的步骤

请告诉用户:

视频语音转文字需要一个 Groq API Key免费

步骤:

  1. 打开 https://console.groq.com
  2. 用 Google 账号或邮箱注册
  3. 点击左侧 "API Keys"
  4. 点击 "Create API Key"
  5. 复制生成的 Key发给我

Groq 提供免费额度,日常使用完全够用。

Agent 收到 key 后的操作

  1. 写入配置:config.set("groq_api_key", key)
  2. 测试 API 可用性
  3. 反馈:" 语音转文字已开启!现在遇到没有字幕的视频,我也能帮你提取内容了。"