Runtime support: Devin (Cognition) via ACP

オープン
#369 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
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分
マージ済み PR(30日)
540

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

simplexai-labs/linger のほかの issue

simplexai-labs/linger の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。