Skip to main content

Web GUI for AutoGLM Phone Agent - AI-powered Android automation

Project description

AutoGLM-GUI

AutoGLM 手机助手的现代化 Web 图形界面 - 让 AI 自动化操作 Android 设备变得简单

Python License

✨ 特性

  • 对话式任务管理 - 通过聊天界面控制 Android 设备
  • 实时屏幕预览 - 随时查看设备正在执行的操作
  • 零配置部署 - 支持任何 OpenAI 兼容的 LLM API
  • ADB 深度集成 - 通过 Android Debug Bridge 直接控制设备

🚀 快速开始

前置要求

  • Python 3.10+
  • 已开启 USB 调试的 Android 设备
  • 已安装 ADB 并添加到系统 PATH
  • 一个 OpenAI 兼容的 API 端点

快捷运行(推荐)

无需安装,直接运行:

# 使用 uvx 一键启动(无需提前安装包)
uvx autoglm-gui --base-url http://localhost:8080/v1

这是最简单的方式!uvx 会自动下载并运行最新版本,无需手动安装。

传统安装

如果你需要离线使用或想要固定版本:

# 方式 1: 通过 pip 安装
pip install autoglm-gui
autoglm-gui --base-url http://localhost:8080/v1

# 方式 2: 从源码安装
git clone https://github.com/your-repo/AutoGLM-GUI.git
cd AutoGLM-GUI
uv sync
uv run autoglm-gui --base-url http://localhost:8080/v1

启动后,在浏览器中打开 http://localhost:8000 即可开始使用!

📖 使用说明

  1. 连接设备 - 启用 USB 调试并通过 ADB 连接设备
  2. 初始化 - 点击 "Initialize Agent" 并配置 API 设置
  3. 对话 - 描述你想要做什么(例如:"打开微信,找到张三的聊天记录")
  4. 观察 - Agent 会逐步执行操作

API 配置

界面会提示你配置:

  • Base URL - 你的 OpenAI 兼容 API 地址(如 http://localhost:8080/v1
  • API Key - API 密钥(本地模型可留空)
  • Model - 模型名称(如 gpt-4oclaude-3-5-sonnet

🛠️ 开发指南

# 后端开发(自动重载)
uv run autoglm-gui --base-url http://localhost:8080/v1 --reload

# 前端开发服务器
cd frontend && pnpm dev

# 构建完整包
uv run python scripts/build.py --pack

📝 开源协议

Apache License 2.0

🙏 致谢

本项目基于 Open-AutoGLM 构建,感谢 zai-org 团队在 AutoGLM 框架上的卓越工作。

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

autoglm_gui-0.1.4.tar.gz (120.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

autoglm_gui-0.1.4-py3-none-any.whl (128.6 kB view details)

Uploaded Python 3

File details

Details for the file autoglm_gui-0.1.4.tar.gz.

File metadata

  • Download URL: autoglm_gui-0.1.4.tar.gz
  • Upload date:
  • Size: 120.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for autoglm_gui-0.1.4.tar.gz
Algorithm Hash digest
SHA256 5bede2bbaeb94583d0a19418844fe17b27876f1a75c9a093dc9801042297b44d
MD5 8e577764177d4b943c43cd71b93ed981
BLAKE2b-256 fabd88a14d4f3a2ed818d16a5fee38e5213ddf48288ecff5655c024ea055107c

See more details on using hashes here.

Provenance

The following attestation bundles were made for autoglm_gui-0.1.4.tar.gz:

Publisher: release.yml on suyiiyii/AutoGLM-GUI

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file autoglm_gui-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: autoglm_gui-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 128.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for autoglm_gui-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d4eeb35565687d512533763be6ccbd0390d911937d48f5f2c8a27bc9ef7cdcfb
MD5 8d68a7a9856fe44ff5f787e984c38d23
BLAKE2b-256 63d998ac72eabf633ac9c3f8ae0193d7571565f7a7927690ec7937512d9b825b

See more details on using hashes here.

Provenance

The following attestation bundles were made for autoglm_gui-0.1.4-py3-none-any.whl:

Publisher: release.yml on suyiiyii/AutoGLM-GUI

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page