SmolVM 是 AI Skill Hub 本期精选Agent工作流之一。综合评分 8.0 分,整体质量较高。我们强烈推荐将其纳入你的 AI 工具库,帮助提升工作效率。
SmolVM 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
SmolVM 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
# 方式一:pip 安装(推荐)
pip install smolvm
# 方式二:虚拟环境安装(推荐生产环境)
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install smolvm
# 方式三:从源码安装(获取最新功能)
git clone https://github.com/CelestoAI/SmolVM
cd SmolVM
pip install -e .
# 验证安装
python -c "import smolvm; print('安装成功')"
# 命令行使用
smolvm --help
# 基本用法
smolvm input_file -o output_file
# Python 代码中调用
import smolvm
# 示例
result = smolvm.process("input")
print(result)
# smolvm 配置文件示例(config.yml) app: name: "smolvm" debug: false log_level: "INFO" # 运行时指定配置文件 smolvm --config config.yml # 或通过环境变量配置 export SMOLVM_API_KEY="your-key" export SMOLVM_OUTPUT_DIR="./output"
<img src="https://ik.imagekit.io/gradsflow/celestoai/oss/celesto-oss-banner_tHGcFZh4Ea.png" alt="Celesto AI" />
| Capability | What it provides |
|---|---|
| Fast start | A ready computer in about 500 ms, without an image pull on each start |
| Isolation | Each computer is separate from your machine and from other computers |
| Local or cloud | The same Computer API across development and production |
| Persistent state | Files and state that survive across sessions |
| Shared folders | Read-only or writable access to selected folders on your machine |
| Snapshots | Pause and restore memory, disk, and active processes |
| Network policy | Disable outbound access or allow specific IPv4 ranges on Linux with Firecracker |
| Multiple operating systems | Linux, Windows 11, and macOS preview support |
On Linux or macOS, this command installs the Celesto CLI and Python SDK, prepares the machine, and checks that it is ready:
curl -fsSL https://celesto.ai/install.sh | bash
<details> <summary>Manual local setup</summary>
Install Celesto with Python 3.11 or newer, prepare the machine, then check the setup:
pip install celesto
celesto setup
celesto doctor
On macOS, setup uses Homebrew to install QEMU. On Linux, setup may ask for sudo.
</details>
A custom template is a built-in template plus your own setup commands. Celesto runs the commands once and saves the result, so every cloud computer you create from the template starts with your packages ready:
from celesto import Template
template = Template.create(
name="data-env",
build_script="apt-get install -y ffmpeg\npip install pandas",
)
template.wait(on_log=print) # prints the build log; returns when the build is ready
with template.create_computer() as computer:
print(computer.run("ffmpeg -version").stdout)
The build script runs once, as root, and stops at the first failing command. Files can't be uploaded with it, so list packages directly instead of using pip install -r requirements.txt. Check a script first with Template.lint(script), load a template with Template.get("tpl_..."), or pass its ID as CloudComputer(template_id="tpl_..."). See the custom templates guide for limits, errors, and rebuilding.
The installer includes the Python SDK. The with block creates a local computer when the block starts and deletes it when the block ends:
from celesto import Computer
with Computer() as computer:
result = computer.run("echo 'Hello from Celesto!'")
print(result.stdout)
| Framework or task | Example |
|---|---|
| OpenAI Agents | [openai_agents_tool.py](examples/agent_tools/openai_agents_tool.py) |
| LangChain | [langchain_tool.py](examples/agent_tools/langchain_tool.py) |
| PydanticAI shell tool | [pydanticai_tool.py](examples/agent_tools/pydanticai_tool.py) |
| PydanticAI computer across turns | [pydanticai_reusable_tool.py](examples/agent_tools/pydanticai_reusable_tool.py) |
| PydanticAI browser automation | [pydanticai_agent_browser.py](examples/agent_tools/pydanticai_agent_browser.py) |
| Computer use | [computer_use_browser.py](examples/agent_tools/computer_use_browser.py) |
Each example includes any extra package command it requires.
SmolVM是一个高质量的开源AI沙箱基础设施项目
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ Apache 2.0 — 宽松开源协议,可商用,需保留版权声明和 NOTICE 文件,含专利授权条款。
经综合评估,SmolVM 在Agent工作流赛道中表现稳健,质量优秀。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | SmolVM |
| 原始描述 | 开源AI工作流:Open-source AI sandbox infrastructure for code execution, browser use, and AI ag。⭐569 · Python |
| Topics | AI沙箱浏览器代理代码执行 |
| GitHub | https://github.com/CelestoAI/SmolVM |
| License | Apache-2.0 |
| 语言 | Python |
收录时间:2026-06-02 · 更新时间:2026-06-02 · License:Apache-2.0 · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端