快速开始 · Python 3.11 / 3.12一分钟
一分钟
跑起来。
克隆源码或一键安装,填入大模型 API Key,然后交给它第一个任务。GA 通过 Agent 自己生长环境——不需要预装一切。
安装
两种方式。
依赖刻意分层:核心只需 requests 与浏览器桥的四个轻量包;[ui] 额外安装自带前端。没有 Playwright、没有 LangChain、不下载浏览器。
克隆安装(推荐)
git clone https://github.com/lsdefine/GenericAgent.git && cd GenericAgent uv venv && uv pip install -e ".[ui]" cp mykey_template_en.py mykey.py # add your LLM API key python frontends/tui_v3.py # terminal UI
一键安装 · Windows PowerShell
powershell -ExecutionPolicy Bypass -c "$env:GLOBAL=1; irm https://raw.githubusercontent.com/lsdefine/GenericAgent/main/assets/ga_install.ps1 | iex"
一键安装 · Linux / macOS
GLOBAL=1 bash -c "$(curl -fsSL https://raw.githubusercontent.com/lsdefine/GenericAgent/main/assets/ga_install.sh)"
请使用 Python 3.11 或 3.12。Python 3.14 与 pywebview 等依赖不兼容。
解锁能力
高级能力靠一句指令解锁,而不是读文档。
每条指令都会让 GA 读取预装的 SOP、安装缺失的东西、适配你的系统,并把结果写进记忆。
01
网页自动化
“把你的网页自动化能力配起来。”——GA 引导你完成唯一的手动步骤:把自带的 Chrome 扩展拖进 chrome://extensions。
02
OCR
“用 rapidocr 配好 OCR 能力并保存到记忆。”
03
视觉
“按 memory/ 里的模板配好视觉能力。”——GA 接上你现有的密钥并自测。
04
计算机操作
“探测这台机器,配好你的计算机操作能力。”
前端
01
终端 UI(推荐)
python frontends/tui_v3.py
02
Streamlit Web UI
python launch.pyw
03
Telegram / Discord / 飞书
python frontends/tgapp.py · dcapp.py · fsapp.py
04
安卓手机
在 app.gaagent.ai 安装 APK
然后,给它一个从未见过的任务。
看它探索、完成、并把方法记下来——下次不必再摸索。