跳到正文
Hacker News· iacguy·· 23 小时前AI 评分65

OpenComputer 发布开源 Devin 替代方案,Slack 中 @Computer 即可开 PR

Show HN: OpenComputer – an open source alternative to Devin

AI 导读

OpenComputer 发布开源、可自托管的 Devin 替代方案,在 Slack 线程中 @Computer 下达任务,智能体在自己的电脑上执行,结果以 pull request 形式提交。

正文 · AI 翻译

OpenComputer

开源的 Devin 替代方案:一个你的团队可以在 Slack 中协作的编码智能体,它运行在自己的电脑上,部署在你的云或我们的云中。

云 | 自托管 | 文档 | 网站 | 基准测试 | 社区 | X

License Release

Try OpenComputer in Slack

Self-host on AWS Self-host on GCP Self-host on Azure

简介

OpenComputer 是 Devin 的开源、可自托管替代方案。在 Slack 线程中提及 @Computer 并附上任务,它便会在自己的电脑上工作,你和你的团队可以全程观看并引导它,最终结果会以拉取请求的形式呈现。

它从计算层往上都是开源的,因此你可以在自己的云账户中运行全部组件,或者用两分钟在 OpenComputer Cloud 上开始使用。

我们打造它时力求让它像你笔记本上的 Claude Code 一样快:在我们的基准测试中,它打开 PR 的速度比 Devin 快 3.3 倍。

观看它工作

A Slack thread: someone mentions @Computer, and it replies in the thread within seconds

快如本地

Side-by-side race on the same task: Claude Code on a laptop against @Computer in the cloud; @Computer finishes in 32.0s, local in 36.2s

工作原理

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

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

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

Slack sends events to Cloudflare Workers and Durable Objects. Your VM, outbound only, dials out to them over a websocket. On the VM, the Calvin gateway starts a Claude Code, Codex or OpenCode session per thread, each in rootless Podman. State is written to the VM's local disk first, then persisted to a git-backed store.

在云中试用

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

Slack message to first push, median of 5 runs: @Computer finishes first, ahead of Replicas, Capy, Hoplite and Devin

  • 比 Devin 快 3.3 倍:全部 4 个 PR 在 56 秒内打开且 CI 通过,而 Devin 需要 185 秒(基准测试)
  • 比 4 个最受欢迎的云智能体的平均值快 2.6 倍:首次推送耗时 24 秒,而平均为 62 秒(基准测试)
  • 3 天免费试用,含 600 工作分钟
  • 自带你的 ChatGPT / Codex 订阅

许可证

Apache 2.0。参见 LICENSE。

来源:Hacker News · github.com