Runtime support: Devin (Cognition) via ACP

未关闭
#369 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
typescript
领域
devtools

调研方向

Start from the ACP provider under apps/computer/local-daemon/internal/provider/native/ (the antigravity_* files) and read how it discovers the binary, authenticates and handles session/load and session/request_permission. The work is to generalize that adapter into a devin runtime kind that runs devin acp with a --model flag, then cover discovery, auth, session store and model listing. Done means a Devin-backed agent can complete a prompt through the Subscription path, verified against the daemon's provider tests.

由索引模型根据 Issue 内容生成。

描述

Problem

I want Linger's agents to run on my Devin (Cognition) subscription. Today the three model sources are Local model (Pi), Subscription (Claude Code or Codex), and BYOK — and Devin fits none of them:

  • It is not among the supported Runtimes, so the Subscription path cannot use it.
  • It exposes no OpenAI- or Anthropic-compatible endpoint, so BYOK has nothing to point at.

Proposal

Add Devin as a supported Runtime, the same way a Claude Code or Codex subscription can drive agents today.

The architecture almost supports this already: apps/computer/local-daemon ships an ACP-based provider for Antigravity (internal/provider/native/antigravity_*), and Devin's CLI is a maintained ACP server — devin acp supports session/new and session/load (both accepting MCP servers), session/prompt, session/cancel, and a --model flag. Generalizing the ACP adapter into a devin runtime kind (or a generic ACP kind) looks like a much smaller change than a bespoke provider.

What seems Devin-specific, from reading the adapter: discovery (devin binary + acp argument instead of agy), authentication (Devin sign-in via its own CLI rather than a gemini-api-key method), session-store semantics for session/load, the shape of session/request_permission raw input for the Guardrail, and model listing/selection.

Alternatives

  • BYOK: not possible — Devin's model traffic uses a private Connect-RPC surface (server.codeium.com), not an OpenAI/Anthropic endpoint.
  • Pretending to be Pi: the daemon validates Pi's on-disk session files and relies on Pi's private JSON-RPC commands and per-message token usage; none of that exists on the Devin side.
  • Unofficial reverse proxies (third-party projects that wrap a Devin account into OpenAI-compatible endpoints) exist, but they violate Cognition's terms, risk account suspension, and are not something a supported path should be built on.

Happy to test-drive an early build on a Linux server — I run devin acp there already.

主要语言
TypeScript
星标
3.8k
派生
360
平均合并
8 小时 10 分钟
30 天内合并 PR
540

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

simplexai-labs/linger 的其他 Issue

查看 simplexai-labs/linger 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。