Cognition's Devin Turns 8 Months of COBOL Modernization Into 8 Days
Cognition's autonomous coding agent now plugs directly into AWS Transform job chats, carrying modernized legacy code through tests, pull requests, and production deployment.
Takeaways
- Cognition launched Devin inside AWS Transform, bridging legacy code modernization and production deployment on AWS.
- Devin starts from the Transform job chat, opens PRs with diffs, CI status, and app screenshots.
- Orchestrator runs on Amazon Bedrock AgentCore Runtime in your account, with no long-lived AWS keys for Devin.
- Mercedes-Benz reports Devin finished an eight-month, 200,000-line COBOL project in eight days.
- Follows a multi-year AWS collaboration signed in September alongside Cognition's $2B raise at $48B+ valuation.
- Available now via AWS Marketplace, counting toward eligible AWS commitments.
Cognition has integrated Devin into AWS Transform, Amazon’s service for modernizing legacy applications. Engineers can now launch the coding agent from a Transform job chat, approve its plan, and receive pull requests for the repairs and delivery work that automated code conversion leaves behind.
Automated conversion can translate workloads such as COBOL to Java or .NET on Windows to .NET on Linux. The resulting application may still have build failures, runtime bugs, missing tests, incomplete infrastructure, and no deployment pipeline. The integration assigns that post-conversion work to Devin within the existing Transform workflow.
| Stage | Owner | Output |
|---|---|---|
| Translate | AWS Transform | Modernized source code and a transformation report |
| Stabilize | Devin | Refactors, build and runtime fixes, tests, infrastructure as code, CI/CD, and monitoring |
| Review | Engineer | Approved pull requests or requested revisions inside AWS Transform |
From transformation report to reviewed PRs
Within a job chat, an engineer starts a Devin session through the flow described in Cognition’s announcement. Devin reads the transformation report and updated repository, proposes a plan, and begins working on separate branches after the engineer approves that plan.
Each pull request appears as a review task in Transform with the code diff, CI status, test results, and available screenshots or recordings of the running application. A reviewer can request changes, and the same Devin session updates the pull request.
One container bridges two clouds
The integration deploys a containerized orchestrator to Amazon Bedrock AgentCore Runtime in the customer’s AWS account. AgentCore provides the managed environment for running the orchestrator, which connects AWS Transform to the Devin API.
Repository code and test workloads run on Devin’s cloud machine. Devin receives no AWS credentials and can access only the repositories explicitly connected to its workspace.
- An administrator reviews the CloudFormation change set before creating the orchestrator.
- Installation creates two IAM roles constrained by the customer’s permissions boundary, which limits what those roles can do.
- Service authentication uses OpenID Connect federation, commonly called OIDC.
- AWS Secrets Manager stores the Devin API key.
Some application flows cannot be verified from Devin’s environment. A live Amazon Cognito sign-in is one example. Devin labels those flows as unverified until the team provides a staging environment where it can test them.
The partnership enters the console
The embedded workflow extends a previously announced multi-year agreement between Cognition and AWS. Devin was already available through the Marketplace listing, where purchases can count toward existing AWS commitments. This release adds session launch, task tracking, and pull-request review to the Transform console.
AWS continues to present Devin as one of several agent options for mainframe modernization. Its Transform materials also list Kiro, Claude Code, OpenAI Codex, and Cursor for build and verification work. Devin’s integration provides a direct route from a Transform report to a reviewed pull request within that broader agent catalog.
Mercedes reports an eight-day result
Cognition cites a Mercedes-Benz project as evidence for the workflow. Mercedes-Benz, which uses both products, said Devin analyzed more than 200,000 lines of COBOL and completed work estimated at eight months in eight days.
The figure comes from a vendor-supplied case study covering one customer and one codebase. The published account does not provide enough methodology to compare that result with other applications, teams, or modernization projects.
What teams need to run it
The integration targets teams already modernizing legacy applications with AWS Transform. Its practical effect is limited to those projects, where post-conversion work can otherwise consume weeks of engineering time.
- AWS: An account with Transform custom agents enabled and permission to review and deploy the CloudFormation resources.
- Devin: An active subscription with the target repositories connected.
- Marketplace: Access to the Devin for AWS Transform offer through the Marketplace listing.
Customers pay standard AWS charges for the orchestrator and related resources running in their accounts, alongside their Devin subscription costs. Cognition provides an installation guide covering deployment and configuration.