AI Code

Describe an app, a website or a change to an existing repository. The agent reads the code, writes and edits files, runs the build or tests, fixes what breaks and keeps going until the task is done — in a sandboxed project folder you can preview, download, push to GitHub or send to Design.

Every file it changes appears here as a diff. Open a repository with Open from GitHub, or start from a Design-page mock-up with Build as app. It uses whichever model you pick; a strong code model follows the tool loop far better than a light one. It is not Claude Code — output quality is the model's; the loop, the sandbox, the diffs and the git plumbing are what this page adds.

Engine: the built-in agent (read → edit → run → fix, in turns); or the open-source Qwen Code CLI, which does the same through its own tools (install it from the button that appears); or the Claude Code CLI running on your PetAi models (see the Connect Claude Code card).