Runtime support: Devin (Cognition) via ACP

Aperta
#369 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
devtools

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
TypeScript
Stelle
3.8k
Fork
360
Merge medio
8h 10m
PR unite (30g)
540

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di simplexai-labs/linger

Tutte le issue di simplexai-labs/linger

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.