Runtime support: Devin (Cognition) via ACP

Đang mở
#369 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
devtools

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
TypeScript
Star
3.8k
Fork
360
Merge trung bình
8 giờ 10 phút
Pull request đã merge (30 ngày)
540

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của simplexai-labs/linger

Tất cả issue của simplexai-labs/linger

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.