项目预览
项目数据
项目介绍
Star 增长趋势
本站每日记录该项目 GitHub 星标变化,观测越久曲线越完整
数据来源:GitHub API 逐日快照 · 收录于 2026-10-01 · 当前星标 ★ 1364
使用教程
环境要求
- Linux 或 macOS(Windows/macOS 桌面运行时按 README 单独创建)
- Python 3.11 或更新版本(手动安装时)
- 本地运行时需完成本机虚拟化设置,macOS 会通过 Homebrew 安装 QEMU,Linux 可能要求 sudo
- 使用 Celesto Cloud 只需 Python 包和 CELESTO_API_KEY
安装与启动步骤
-
1一键安装 Celesto
在 Linux 或 macOS 上执行该脚本,会安装 CLI 与 Python SDK、准备机器并检查是否就绪。
curl -fsSL https://celesto.ai/install.sh | bash -
2手动安装 SDK
不使用一键脚本时,用 pip 安装 celesto 包,注意 Python 版本需 3.11 以上。
pip install celesto -
3准备并检查环境
setup 负责准备本机(macOS 装 QEMU,Linux 可能提示 sudo),doctor 检查环境是否可用。
celesto setup celesto doctor -
4在沙箱中运行命令
双横线 -- 之后的内容会在沙箱内执行,示例是查看沙箱里的 Python 版本。
celesto computer exec my-sandbox -- python --version -
5调用 Python API
用 Computer 作为上下文管理器,创建沙箱后执行命令并读取 stdout 结果。
from celesto import Computer with Computer() as computer: result = computer.run("python --version") print(result.stdout) -
6切换到云端沙箱
云端不需要本机虚拟化,先导出 API Key,再把 provider 参数设为 cloud。
export CELESTO_API_KEY="your-api-key" -
7选用专用运行时
浏览器用 celesto browser;需要完整桌面时创建 desktop 实例,还可指定 windows 或 macos。
celesto browser celesto computer create --desktop celesto computer create --os windows --image PATH celesto computer create --os macos
关键配置
| 配置项 | 必填 | 说明 | 示例 |
|---|---|---|---|
CELESTO_API_KEY | 是 | 云端 sandbox 的鉴权密钥,仅使用 provider="cloud" 时需要 | your-api-key |
如何确认成功
运行 celesto doctor 无报错即环境就绪;执行 celesto computer exec my-sandbox -- python --version 能输出沙箱内 Python 版本即沙箱可用。
常见问题
Q:本地运行需要装虚拟化软件吗?
A:需要。每个沙箱是轻量虚拟机,本地 provider 依赖本机虚拟化设置:macOS 由 setup 用 Homebrew 安装 QEMU,Linux 可能要求 sudo 权限。
Q:不想在本机装虚拟化怎么办?
A:改用 Celesto Cloud:设置 CELESTO_API_KEY 后,在 Python 里使用 Computer(provider="cloud"),云端沙箱不要求本机具备虚拟化能力。
Q:沙箱启动慢吗、状态能保留吗?
A:README 说明沙箱约 500 ms 启动,并且可以在会话之间保留文件与状态,适合长时间、多步骤任务。
Q:浏览器和桌面操作怎么选运行时?
A:Chromium、CDP、截图或实时查看用 celesto browser(Python 侧 Celesto.browser());需要完整 Linux 桌面或多个 GUI 应用用 celesto computer create --desktop。
Q:Windows 和 macOS 桌面怎么创建?
A:Windows 用 celesto computer create --os windows --image PATH;macOS 桌面用 celesto computer create --os macos(Apple Silicon,README 标注暂无 Python API)。
注意事项
- 项目处于早期阶段,接口和功能可能变动。
- OpenMuse 是预览版,需要 clone 仓库后本地运行。
- 本地 provider 适合开发、测试和私有工作负载;云端适合远程任务、持久工作区和生产负载。
- 使用低层 VM 选项(后端、通信通道、guest OS、挂载、网络策略)时直接用 Celesto(...) 构造。
核心亮点
- 提供持久化运行环境,智能体任务中断后可恢复状态,不必每次从零开始
- 沙箱隔离设计,限制智能体对宿主机和敏感数据的直接访问,降低安全风险
- 同时覆盖浏览器操作与桌面 computer-use,适合多步骤真实软件交互任务
不足之处
- 项目处于早期,API 和架构可能频繁变动,生产使用需谨慎
- 文档与社区生态尚不完善,遇到问题可参考的资料有限
适用场景
- 让智能体自动完成需要登录、多页跳转的网页表单填写与数据采集
- 长时间运行的自动化任务,中途暂停后继续执行而不丢失上下文
- 在隔离环境中测试智能体的桌面操作能力,避免影响本机系统
替代项目
browser-use、E2B
上一篇:agent-skills
下一篇:agent-beacon
同类项目推荐
ai--manus
开源
在沙箱里调工具干活的通用 AI 智能体框架
AI Manus is a general-purpose AI Agent system that supports running various tools an···
AgentFigureGallery
开源
让 AI 编程助手直接产出学术级科学图表
Drop-in scientific plotting skill for Claude Code, Codex, Cursor, and other coding a···
llmwiki
开源
上传文档,让 Claude 自动帮你写 Wiki
Open Source Implementation of Karpathy's LLM Wiki. Upload documents, connect your Cl···
ai--manus
开源
在沙箱里跑工具的通用 AI 智能体,能对话也能动手做事
AI Manus is a general-purpose AI Agent system that supports running various tools an···
agent-flow
开源
实时可视化 Claude Code 代理思考与协作,调试更直观。
Real-time visualization of Claude Code agent orchestration — see your agents think,···
sandboxd
开源
一条命令自托管,AI 智能体在沙箱里帮你把应用跑起来
Open-source, self-hosted AI app builder — an agent builds real apps in isolated san···
Tourmind-Booking-Skills
开源
让AI代理直接帮你搜酒店、比价、下单,一条龙搞定
AI agent skills for end-to-end hotel and flight booking—compare live hotel rates ac···
global-agent-hackathon-may-2025
开源
一个月玩转AI智能体,从构想到落地
A month-long, open-source AI Agent Hackathon — open to all builders and dreamers wo···
OmAgent
开源
快速搭建多模态语言智能体,从原型到生产一步到位
[EMNLP-2024] Build multimodal language agents for fast prototype and production
