统一 AI Agent CLI:整合 Hermes/Codex/OpenClaw 能力
Project description
PRISM Agent
统一 AI Agent CLI + 桌面客户端 — 整合 Hermes + Codex + OpenClaw 能力
一键安装
Windows:
git clone https://github.com/jz616059669/prism-agent.git
cd prism-agent
.\scripts\install.ps1
Windows 额外支持:
# 打包桌面客户端
.\scripts\build-windows.ps1
# 后台运行 Gateway(NSSM)
nssm install PrismGateway "C:\path\to\prism.exe" "gateway start"
nssm start PrismGateway
macOS:
git clone https://github.com/jz616059669/prism-agent.git
cd prism-agent
bash scripts/install.sh
macOS 额外支持:
# 打包桌面客户端
bash scripts/build-macos.sh
# 安装 launchd 服务(后台运行 Gateway)
cp scripts/com.prism.gateway.plist ~/Library/LaunchAgents/
launchctl load ~/Library/LaunchAgents/com.prism.gateway.plist
launchctl list | grep prism
Linux(Ubuntu/Debian/Fedora/Arch):
git clone https://github.com/jz616059669/prism-agent.git
cd prism-agent
bash scripts/install.sh
Linux 额外支持:
# 打包桌面客户端
bash scripts/build-linux.sh
# 安装 systemd 服务(后台运行 Gateway)
sudo cp scripts/prism-gateway.service /etc/systemd/system/
sudo systemctl enable prism-gateway
sudo systemctl start prism-gateway
安装完成后:
prism --help # CLI
prism-desktop # 桌面客户端
手动安装
当前能力
| 能力 | 状态 | 说明 |
|---|---|---|
| 统一模型接口 | ✅ | 一个命令切换任意模型,自动降级 |
| 多 Key 轮转 | ✅ | 凭证池自动轮转,不怕单 Key 失效 |
| 文件/终端工具 | ✅ | 读写、补丁、shell、后台任务 |
| 浏览器控制 | ✅ | Playwright 驱动,支持导航、快照、点击、输入、截图 |
| 代码执行沙箱 | ✅ | Python 代码执行,支持超时和输出捕获 |
| MCP 客户端 | ✅ | stdio / HTTP 双模式 |
| Skills 系统 | ✅ | 6 个内置 skill,支持安装/移除 |
| Gateway | ✅ | 飞书 / Telegram / Discord 适配器 |
| CLI 子命令 | ✅ | gateway / skill / browser / config / chat / ask / tools |
快速开始
# 查看版本
prism version
# 列出工具
prism tools
# 列出 skills
prism skill list
# 打开网页
prism browser open https://example.com
# 单次提问
prism ask "用 Python 写一个快速排序"
# 交互聊天
prism chat
# 启动桌面客户端
prism-desktop
Gateway
# 查看状态
prism gateway status
# 前台运行
prism gateway start --platform telegram --token <TOKEN>
prism gateway start --platform feishu --app-id <ID> --app-secret <SECRET>
# Linux 后台运行(systemd)
sudo cp scripts/prism-gateway.service /etc/systemd/system/
sudo systemctl enable prism-gateway
sudo systemctl start prism-gateway
sudo systemctl status prism-gateway
# macOS 后台运行(launchd)
cp scripts/com.prism.gateway.plist ~/Library/LaunchAgents/
launchctl load ~/Library/LaunchAgents/com.prism.gateway.plist
launchctl list | grep prism
配置
prism config set model.default step-3.7-flash
prism config get model.default
prism config get
开发
git clone https://github.com/jz616059669/prism-agent.git
cd prism-agent
pip install -e .
pytest
路线图
- 飞书 / Telegram / Discord 真实连接验证
- MCP 服务器连接测试
- Skills 市场 / 一键安装
- 浏览器测试套件完善
- ACP 协议支持
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
prism_agent-0.2.1.tar.gz
(36.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file prism_agent-0.2.1.tar.gz.
File metadata
- Download URL: prism_agent-0.2.1.tar.gz
- Upload date:
- Size: 36.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b54ec8c85dd9c4b487599b271bb0db63ac57fb9ede332a8abc7f7c3918265a7
|
|
| MD5 |
153313405712650cfabac768418c5a06
|
|
| BLAKE2b-256 |
63704948efb3c27ada905f7953a4e8e98f0430e7f96bed14bb90f5fa171933ee
|
File details
Details for the file prism_agent-0.2.1-py3-none-any.whl.
File metadata
- Download URL: prism_agent-0.2.1-py3-none-any.whl
- Upload date:
- Size: 43.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eec0595784e15e3b690e0102b01879d1791d3ddf10dc1db521abfbdec7aebdbc
|
|
| MD5 |
5567c2b4f2a5411018e11ab7234f3a6d
|
|
| BLAKE2b-256 |
807752a895c5719222aa3c2c2e1b37567cea2437f2dd4ac55181c8ae29671fd2
|