Skip to main content
9 – 17 UHR +49 8031 3508270 LUITPOLDSTR. 9, 83022 ROSENHEIM
DE / EN
Coding agent Cognition United States Cloud agent, CLI

Devin

Devin is Cognition's AI software engineer, combining a cloud agent with a local Devin CLI. Sessions, Knowledge, Playbooks, MCP, and Enterprise deployment explained.

Licence Proprietary
First release March 2024
Interfaces Web (app.devin.ai), Terminal (Devin CLI), Slack, Microsoft Teams, API
Platforms macOS, Linux, Windows
Instruction file AGENTS.md

The seven building blocks in Devin

How Devin implements the building blocks of an AI harness

  1. 1

    Agent loop

    Cloud Devin works session-based with an Ask mode for planning and an Agent mode for autonomous execution; the Devin CLI runs the same loop locally and can hand a task off to a cloud session.

  2. 2

    Tools and execution environment

    Devin uses its own execution environment with a code editor, terminal, and browser, and according to the documentation can perform PR review, visual QA, and task automation; the CLI adds tools via MCP servers.

  3. 3

    Context management

    Before starting work, Devin automatically looks for an AGENTS.md file in the project for setup commands, code standards, test requirements, and development workflow; repositories must first be indexed.

  4. 4

    State and memory

    Knowledge stores project- or organization-wide guidance that Devin retrieves automatically only when relevant, rather than loading it fully into every context; Playbooks bundle reusable procedures for recurring tasks.

  5. 5

    Permissions

    The Devin CLI uses an Allow/Ask/Deny permission model with an optional sandbox that restricts write access to granted paths and, according to the documentation, refuses to start rather than run unsandboxed if sandbox resolution fails.

  6. 6

    Verification and feedback

    Users can follow Devin's development process in real time and take it over; a dedicated code-review feature plus scheduled sessions and playbooks support recurring quality checks.

  7. 7

    Orchestration

    The Devin CLI can define custom subagents as Markdown files under agents/, running in the foreground or background and, depending on configuration, using their own models and tools; cloud Devin integrates with Slack and Microsoft Teams for task handoff.

Models and model access

Which models the harness uses and how they are obtained

Models and model access
Models Cognition's own SWE models alongside models from Anthropic, OpenAI, Google, and open-source providers
Access routes Cognition (SWE models, default), Anthropic (Claude), OpenAI (Codex/GPT), Google (Gemini), open-source models (including DeepSeek, Kimi, GLM)
Free choice of model No
Custom endpoint / LLM gateway No
In the Devin CLI, users choose among several predefined models via the --model flag, the /model command, or the configuration file, using short names such as opus, sonnet, swe, codex, or gemini; per Cognition's enterprise FAQ, Devin does not currently support custom LLM API keys or model endpoints, as it is built as a closed 'compound AI system'.
Features
MCP servers Sub-agents Hooks Skills Plugins / extensions Sandbox Headless / CI IDE integration Resume sessions
Running it with herdr
Supported by herdr Yes
State detection Screen manifest
Integration Session
herdr's agent table explicitly names the Devin CLI (not the cloud agent) with this integration level (as of 20 September 2026).
More about herdr →

Enterprise use

Data processing, controls and pricing model according to the vendor

Deployment options

Alongside its multi-tenant cloud (Enterprise Cloud), Cognition offers Enterprise customers a dedicated deployment in a single-tenant VPC connected via AWS PrivateLink or an IPSec tunnel; a genuine on-premises installation without Cognition's infrastructure is not documented.

Identity and SSO

Enterprise organizations can connect via SAML 2.0 or OIDC (including Okta and Microsoft Entra ID); SCIM 2.0 automatically syncs users and group memberships with the identity provider.

Admin policy

Enterprise admins centrally manage roles, IdP groups, IP access lists, and organization-wide Knowledge and Playbook standards at the Enterprise level.

Data processing

According to the documentation, customer data stays within the customer's tenant under dedicated deployment and is encrypted in transit and at rest; Cognition states it does not by default train models on customer data or code.

Certification

Cognition states it obtained SOC 2 Type II certification in September 2024.

Strengths
  • Combines a cloud agent for complex tasks with a local CLI for quick terminal fixes
  • Knowledge retrieves project-specific guidance automatically, only when needed
  • Playbooks standardise recurring workflows across a team
  • Dedicated VPC deployment with private networking for Enterprise customers
  • MCP server for sessions, playbooks, knowledge, and repository documentation
  • The Devin CLI's non-interactive `--print`/`-p` mode for scripts and CI
Limitations
  • A genuine on-premises installation without Cognition's infrastructure is not documented; Enterprise customers instead get dedicated VPC hosting run by Cognition
  • Per Cognition's own enterprise FAQ, Devin does not currently support custom LLM API keys or model endpoints, as it is built as a closed 'compound AI system'; model choice is limited to the models Devin offers
  • According to the documentation, the Devin CLI does not yet support Knowledge, Playbooks, or Secrets from a Devin account; Cognition says it plans to add this

Use cases

Typical tasks for this harness

Autonomous handling of tickets, bug fixes, and new features in the cloud agent
Quick code exploration and local fixes via the Devin CLI, handed off to the cloud when needed
PR review and visual QA for UI changes
Standardised, recurring workflows via Playbooks
Connecting Slack or Microsoft Teams for task handoff from chat

AI harness software is what turns a language model into a working agent. Devin is one such harness from Cognition: an AI software engineer available as a cloud-based agent with its own editor, terminal, and browser, and as a local Devin CLI for quick terminal tasks. As of 20 September 2026.

What is Devin?

Cognition introduced Devin in March 2024 as “the first AI software engineer” – a, by its own description, fully autonomous AI agent that handles tickets, implements features, fixes bugs, and builds tools. Access runs through the web app at app.devin.ai, complemented by integrations with Slack, Microsoft Teams, and the Devin API. In April 2026, Cognition added a local variant with the Devin CLI: it installs on macOS, Linux, and via WSL with curl -fsSL https://cli.devin.ai/install.sh | bash (macOS also via Homebrew, Windows via a PowerShell script) and runs directly in the terminal for quick fixes, code exploration, and interactive coding.

Devin as an AI harness

Cloud Devin distinguishes an Ask mode for planning together and an Agent mode for autonomous execution; repositories must be indexed before the first session so Devin understands the codebase. Project context comes from an AGENTS.md file with setup commands, code standards, and test requirements, which Devin automatically looks for before starting work. The Devin CLI adds its own permission model with Allow/Ask/Deny rules and a sandbox that, according to the documentation, refuses to start if sandbox resolution fails rather than running unsandboxed. For scoped subtasks, the CLI lets you define custom subagents as Markdown files under agents/, running in the foreground or background. The official Devin MCP server (https://mcp.devin.ai/mcp) lets other MCP-capable tools manage sessions, playbooks, knowledge, and schedules; conversely, the CLI itself can use external MCP servers as tools.

Models and model access

According to the documentation, the Devin CLI supports models from Anthropic, OpenAI, Google, and Cognition itself, as well as open-source models such as DeepSeek, Kimi, and GLM; short names such as opus, sonnet, swe, codex, or gemini each resolve to the current version of that model family, including Claude models and GPT models. Users switch models via the –model flag, the /model command, or the configuration file; per Cognition’s own enterprise FAQ, Devin does not currently support custom LLM API keys or model endpoints, as it is built as a closed “compound AI system”. Devin’s model access therefore cannot be routed through a central proxy such as the AI Gateway.

Enterprise use: data protection and governance

For Enterprise customers, alongside the shared cloud, Cognition offers a dedicated deployment in a single-tenant VPC connected via AWS PrivateLink or an IPSec tunnel; according to the documentation, customer data stays within the customer’s tenant and is encrypted in transit and at rest. Enterprise organizations connect identity via SAML or OIDC (including Okta and Microsoft Entra ID) and sync users via SCIM 2.0. A genuine on-premises installation without Cognition’s infrastructure is not documented. Important for enterprises: source code and prompts go to Devin or the selected model provider and should be reflected in the records of processing activities beforehand.

Orchestrating Devin with herdr

herdr explicitly lists the Devin CLI (not the cloud agent) in its agent table with the integration level “screen manifest” and “session”. This means herdr detects local Devin CLI sessions via the terminal screen manifest and folds them into its session management; the cloud-based Devin agent itself runs outside herdr’s terminal context.

Where it fits: developer harness and enterprise harness

Devin targets development teams who want to delegate tasks to an autonomous agent or need quick fixes in the terminal. For non-developer staff, CompanyGPT is the matching harness: the same underlying idea of tools, context, and permissions, but built for enterprise roles, integrations, and audit requirements. The AI Gateway can serve as a shared cost and governance layer across different harnesses. For an overview of other coding agents and orchestrators, see our overview of all AI harnesses. We help companies introduce coding harnesses like Devin safely and connect them to their existing AI governance.

From developer harness to enterprise harness

Coding harnesses are tools for developers. Business users, cost control and governance need two more layers.

CompanyGPT – the harness for business users

CompanyGPT gives any language model tools via MCP servers, integrations and n8n, company knowledge via companyRAG, roles from Entra ID or Keycloak, and audit logs – operated in your Azure environment or sovereignly on STACKIT.

Discover CompanyGPT
AI Gateway – cost and governance for every agent

The AI Gateway bundles the model access of your tools and coding agents behind an OpenAI-compatible API: authentication via Entra ID, budgets and cost centres per team, user and agent, guardrails and complete logging.

View the AI Gateway

Frequently Asked Questions

What is Devin?

Devin is an AI software engineer built by Cognition that can autonomously write, run, and test code. It exists as a cloud-based agent at app.devin.ai and as a local Devin CLI for quick terminal tasks.

What is the difference between cloud Devin and the Devin CLI?

Cloud Devin runs in Cognition's hosted environment with its own editor, terminal, and browser for more complex, longer-running tasks. The Devin CLI runs locally for quick fixes and code exploration and can hand a task off to a cloud session.

Is Devin open source?

No. Devin is a proprietary product from Cognition; no public source-code repository for the application itself is documented.

Which models does Devin support?

The Devin CLI supports Cognition's own SWE models as well as models from Anthropic, OpenAI, Google, and open-source providers such as DeepSeek, Kimi, or GLM, selectable via short names such as opus, sonnet, swe, codex, or gemini. A freely configurable custom endpoint is not documented.

Can Devin be used in a GDPR-compliant way?

For Enterprise customers, Cognition offers a dedicated single-tenant VPC deployment with encrypted data storage inside the customer's tenant; the public documentation does not state an explicit EU region or GDPR commitment, so this needs to be clarified contractually on a case-by-case basis.

Does Devin work with herdr?

herdr's agent table lists the Devin CLI with the integration levels screen manifest and session, meaning it is detected via the terminal screen manifest and its session is folded into herdr's session management.

Introduce coding agents safely in your company

We support selection, model access in the EU, permission design and cost control.