About this use case
The poster gave Copilot Agent Mode a single command to create a Python FastAPI web app and liked previewing the code before committing.
What they did
The poster opened a new folder in VS Code, added an images directory with a few photos, and gave Copilot Agent Mode one prompt: build a Python FastAPI web app with an HTML, Tailwind, and AJAX frontend. The agent then generated the needed files, wrote the code, and ran it while the poster watched; another commenter specifically liked that GitHub’s integration lets you preview code before committing.
Prompt
Using agent mode, create a Python FastAPI web app that [describe what the app should do, e.g. a to-do list API with endpoints for add, list and delete]. Show me the planned files and code to preview before writing anything to disk or committing. When it's done, the app should run locally with [command, e.g. uvicorn main:app --reload] and I should have instructions to try it.
Reported outcome
It produced what the poster described as a fully functional image-browsing web app from that single instruction. The thread also notes limits: the poster says the tech is not perfect yet, and other commenters report refusals or mistakes on other tasks.
Submitted by the archiving bot. Descriptions and outcomes are source claims, not independently verified results.