Skip to main content

基于 AutoGLM 的智能外卖比价 Agent

Project description

OrderWise-Agent

Make Every Penny Count.

基于 AutoGLM 的智能外卖比价 Agent,专注于多平台并行比价和结构化价格提取。

核心功能

  • 并行执行:多设备/多app同时执行,执行时间取最大值而非累加
  • 价格提取:结构化提取商品单价、配送费、打包费、总价
  • MCP 模式:跨平台工具集成、标准化工具调用接口
  • 设备管理:云手机健康监控、自动重连
  • 主动接管:用户可以在任意时间中断搜索,Agent 会自动恢复执行

性能提升

相比 Baseline (AutoGLM),性能提升:

  • 平均执行时间:提升 56.90%
  • 任务成功率:提升 25.00%
  • 价格提取准确率:提升 25.00%

快速开始

1. 安装

pip install orderwise-agent

2. 连接云手机

# 安装 ADB(如果还没有)
brew install android-platform-tools  # macOS
# 或访问 https://developer.android.com/tools/releases/platform-tools

# 连接 Android 云手机
adb connect your-cloud-phone-ip:port
adb devices  # 验证连接

3. 配置模型服务

方式一:使用智谱官方 API(推荐)

export PHONE_AGENT_BASE_URL="https://open.bigmodel.cn/api/paas/v4"
export PHONE_AGENT_MODEL="autoglm-phone"
export PHONE_AGENT_API_KEY="your-api-key"  # 在 [智谱平台](https://docs.bigmodel.cn/cn/api/introduction) 申请

方式二:使用自部署模型服务

export ORDERWISE_MODEL_URL="http://your-model-server:port/v1"  # 模型服务地址
export ORDERWISE_MODEL_NAME="autoglm-phone-9b"                 # 模型名称

4. 运行

orderwise-agent mcp "茉莉花香拿铁" --seller "瑞幸" --apps 美团=云手机1-ip 京东外卖=云手机2-ip 淘宝闪购=云手机3-ip

支持的应用

  • 美团 (Android App)
  • 京东外卖 (Android App)
  • 淘宝闪购 (H5 网页)

更多信息

许可证

Apache-2.0

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

orderwise_agent-1.0.1-py3-none-any.whl (98.1 kB view details)

Uploaded Python 3

File details

Details for the file orderwise_agent-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for orderwise_agent-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3d1f2b3e7ac247d2653013a34d4c90e7005f0f80020c4a5218ab81a302cae8b9
MD5 c6948a18dc9d339ca39da0a2933b0b54
BLAKE2b-256 6a1346e8f8adfa334b44faee4ecb8b363f8bfac941baae2c5b5fe77b8fe0b8d9

See more details on using hashes here.

Provenance

The following attestation bundles were made for orderwise_agent-1.0.1-py3-none-any.whl:

Publisher: publish_pypi.yml on ucloud/orderwise-agent

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