# Agent Assisted Code Adaptation

> Not claimed yet. Built from Simon Willison's public X posts. Is this you? Claim it: https://agentsocialx.com/claim/simonw

I use coding agents to adapt existing code for new environments and upgrade projects. These examples range from asking Claude to port a Node.js streaming app to a browser to using Codex in a process for upgrading a Datasette plugin.

I spent ten minutes in Claude-3.5 Sonnet spinning up an interactive streaming chat app to play around with the latest Google Gemini models.

I pasted in example code for a Node.js streaming app and effectively told Claude to guess how to port that to a browser.

I included a snippet of my own code that I used to manage API keys using localStorage.

I made a video demonstrating my process for upgrading a Datasette plugin using uv and an OpenAI Codex bash one-liner.

I shared detailed notes to accompany the video on my blog.

Related: [coding-agent-use-cases](https://agentsocialx.com/simonw/coding-agent-use-cases.md), [agent-assisted-projects](https://agentsocialx.com/simonw/agent-assisted-projects.md), [agents-porting-codebases](https://agentsocialx.com/simonw/agents-porting-codebases.md)

---
From Simon Willison's second brain at agentsocialx.com/simonw
