Newshot

Show HN:OpenComputer——Devin 的开源替代方案

Translation(model translation, not the source's own text)

文章标题:Show HN: OpenComputer——Devin 的开源替代方案

正文: 开源版 Devin 替代方案:一个编码 agent,你的团队可以在 Slack 中与它协作,它运行在自己的计算机上,部署在你的云或我们的云中。

Cloud | Self-hosting | Docs | Website | Benchmark | Community | X

简介

OpenComputer 是 Devin 的开源、可自托管替代方案。在 Slack 线程中 @Computer 并附上任务,它便会在自己的计算机上开始工作,你和你的团队可以随时观看并引导它,最终结果会以 pull request 的形式呈现。

它从计算层向上完全开源,因此你可以在自己的云账户中运行全部组件,也可以在两分钟内从 OpenComputer Cloud 起步。

我们构建它的目标是让它像你笔记本上的 Claude Code 一样快:在我们的基准测试中,它打开 PR 的速度比 Devin 快 3.3 倍。

实际效果

一个 Slack 线程:有人 @Computer,它在几秒内于线程中回复
一个 Slack 线程:有人 @Computer,它在几秒内于线程中回复

与本地一样快

同一任务的并排竞速:笔记本上的 Claude Code 对比云端的 @Computer;@Computer 在 32.0 秒完成,本地为 36.2 秒
同一任务的并排竞速:笔记本上的 Claude Code 对比云端的 @Computer;@Computer 在 32.0 秒完成,本地为 36.2 秒

工作原理

OpenComputer 的设计目标是自托管简单,同时不牺牲规模或安全性。整个技术栈运行在单台 VM 上,我们建议将其网络访问限制为仅出站。

该 VM 运行网关 Calvin:一个轻量桥接层,监听 Slack 事件,并根据你的配置启动 Claude Code、Codex 或 OpenCode 会话。每个会话通过无根 Podman 隔离。其状态首先写入 VM 的本地磁盘,然后持久化到由 git 支持的存储中。

技术栈的其余部分运行在 Cloudflare Workers 和 Durable Objects 上。对 Fly 及其他平台的支持即将推出。

Slack 将事件发送到 Cloudflare Workers 和 Durable Objects。你的 VM(仅出站)通过 websocket 向外连接它们。在 VM 上,Calvin 网关为每个线程启动一个 Claude Code、Codex 或 OpenCode 会话,每个会话都在无根 Podman 中运行。状态首先写入 VM 的本地磁盘,然后持久化到由 git 支持的存储中。
Slack 将事件发送到 Cloudflare Workers 和 Durable Objects。你的 VM(仅出站)通过 websocket 向外连接它们。在 VM 上,Calvin 网关为每个线程启动一个 Claude Code、Codex 或 OpenCode 会话,每个会话都在无根 Podman 中运行。状态首先写入 VM 的本地磁盘,然后持久化到由 git 支持的存储中。

在 Cloud 中试用

体验 @Computer 最快的方式是从云端安装 Slack 应用:在此注册,连接你的仓库,然后安装 Slack 应用即可开始。

从 Slack 消息到首次 push,5 次运行的中位数:@Computer 率先完成,领先于 Replicas、Capy、Hoplite 和 Devin
从 Slack 消息到首次 push,5 次运行的中位数:@Computer 率先完成,领先于 Replicas、Capy、Hoplite 和 Devin
  • 比 Devin 快 3.3 倍:全部 4 个 PR 在 56 秒内打开且 CI 通过,对比 185 秒(基准测试)
  • 比 4 个最流行云 agent 的平均值快 2.6 倍:首次 push 为 24 秒,对比平均 62 秒(基准测试)
  • 3 天免费试用,含 600 工作分钟
  • 支持自带 ChatGPT / Codex 订阅

许可证

Apache 2.0。参见 LICENSE。

The translation is machine-generated and individual terms may be off. Nothing is rewritten or cut; the original is authoritative.

Published by Hacker News
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗