agentusecases.aiAll 2,316 use cases
Software & DevOps

Port the Copilot runtime to Rust agentically

Microsoft reportedly used agents to port its Copilot runtime to Rust for $120K, according to the headline. · Sep 20, 2026

Done with a custom-built or unnamed agent

What they did
Microsoft used Copilot, driven by several LLMs picked for their strengths, to rewrite the TypeScript Copilot runtime in Rust one module at a time. The port was a direct replacement and did not restructure the runtime. On the 30,000-line session.ts, one session read the docs, spawned 15 child sessions in separate worktrees, and had them coordinate with each other.
How it went
Agents turned 430,000 lines of TypeScript into 800,000 lines of Rust over 14.5 weeks and 135+ releases. A benchmark ran 15.9x faster and memory fell from 1,383 MB to 126 MB, but a few dozen regressions appeared.
Worth knowing
Cost was about $120K in tokens plus roughly three weeks of a developer's time. Compiling did not mean correct, so regressions still got through.

Try it yourself with Codex

I want to port [component or module] in [repo path] from [source language] to Rust using an agentic workflow. Start by reading the code and proposing a phased porting plan with test checkpoints, and wait for my approval. Then port one module at a time, keeping the existing tests passing, and finish with a summary of what's ported, what's left, and an estimate of effort.

Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.

Read the original ↗

Discussion on HN · Sep 20, 2026

Related use cases

  • CL

    Build a C compiler with a team of parallel agents

    Anthropic's engineering write-up on tasking Opus 4.6 agent teams with building a C compiler.

    Claude

  • CC

    Autonomously test an entire iOS app and report bugs

    A tool lets Claude Code drive an iOS app through the accessibility tree, tap every screen, and return a structured bug summary.

    Claude Code

  • ··

    Audit a feature's issues and hand them to an engineer's agent

    An AI agent listed all issues with a feature and sent them to an engineer, whose own agent then addressed most of them automatically.

    Custom agent

  • CR

    Build small features and integrations with Cursor agent mode

    A commenter uses Cursor agent mode for smaller features, third-party integrations, background jobs, notifications and activity tracking, and has it log key findings to a worklog file for the next run.

    Cursor

  • CC

    Cross-check coding agent answers with a second agent

    The poster built a tool that automatically sends Claude Code responses to Codex for a second opinion, replacing manual copy-pasting.

    Claude CodeCodex

  • DE

    Upgrade vulnerable dependencies via automated pull request

    Devin opened a PR on a Spring Boot and Next.js sample app upgrading dependencies to fix listed CVEs, including 103 npm vulnerabilities on the frontend.

    Devin

Keep browsing

All 397 use cases from custom-built, lesser-known and unnamed agentsAll 433 Software & DevOps use cases

Get 5 like this every morning

The best things people got an AI agent to do, each with the prompt to try it.

All use casesAgentsTopicsJobsNewRSSAboutContactSponsorPrivacy
Sponsors
VCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor us
VCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor us