Generate a FastAPI web app from one Copilot command
The poster gave Copilot Agent Mode a single command to create a Python FastAPI web app and liked previewing the code before committing.
Done withGitHub Copilot
- 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.
- How it went
- 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.
- Worth knowing
- The concrete setup the source gives is minimal: a fresh VS Code folder plus an images subfolder with a few photos before issuing the one command.
Try it yourself with GitHub Copilot
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.
Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.
Source: Reddit · Undated
Related use cases
Run a solo company with eight agent departments
A founder set up CEO, CFO, COO, lawyer, accountant, marketing, CTO, and improver agents that share memory and consult each other.
Iterate on tasks with Copilot CLI autopilot and fleet
The author used autopilot to iterate until done and /fleet to split work across parallel subagents, noting overhead on small tasks.
Assign GitHub issues to Copilot coding agent
A developer assigned a GitHub issue to Copilot and watched it work, but it started from the default branch instead of the intended feature branch.
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.
Refactor a million-line repo with 1,393 subagents
A Nous Research developer had Hermes dispatch 1,393 subagents over about 19 hours to clean up its own repo, cutting non-test Python source by 34.4% in a merged PR.
Build a mobile app turning photos and voice into reminders
The poster built Loopi, an app that turns photos, text and voice into reminders, notes and expenses, in about 45 days using Replit and AI agents.
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.