Use Copilot to assemble a FastAPI image browser
A developer asked GitHub Copilot Agent Mode for one FastAPI app and got a working image browser back.
- What they did
- They started with a new VS Code workspace and put a handful of photos into an images folder. Then they gave Copilot Agent Mode a single instruction to create a Python FastAPI site with an HTML interface, Tailwind styling, and AJAX behavior. Copilot generated the project files and executed the app while they observed, and another commenter appreciated being able to inspect the code before any commit.
- How it went
- From that one request, they ended up with a working web app for viewing images. The discussion also pointed out that the tool still has rough edges, and other commenters mentioned refusals or errors on different jobs.
- Tips
- A small, tidy starting folder makes it easier for the agent to stay on task. If you want to avoid surprises, ask to see the proposed changes first and approve them before anything is committed or otherwise irreversible.
Try it yourself with GitHub Copilot
In a fresh VS Code workspace that already has an images folder with a few sample photos, help me build a Python FastAPI web app for browsing those images. Use an HTML front end with Tailwind styling and AJAX calls. Before you create or save any files, show me the planned structure and the code you want to add so I can review it. Do not commit, submit, delete, or send anything until I say go. Once approved, create the project, run it locally with [command], and then give me simple instructions for checking that it works.
Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.
Get 3 agent uses like this every morning
With the day's top AI news. Free, and one click to unsubscribe.
Related agent uses
Use Copilot agent mode to finish a web app
Jonas used GitHub Copilot with Claude Sonnet to turn a game-score idea into a working app.
Use Copilot to draft a hard Flutter function
A developer had GitHub Copilot write a tricky Flutter function, then checked it with their own tests and harness.
Use Copilot to handle small site edits in draft PRs
A developer handed GitHub Copilot two minor website tweaks and got back separate draft pull requests that were easy to test and merge.
Try Copilot Agents for a complex app upgrade
A developer moved a big web app migration from Copilot Chat to Copilot Agents after Chat had trouble keeping up with the full project.
Use Copilot CLI subagents for parallel terminal work
A commenter used GitHub Copilot CLI to split repo work across multiple subagents, run commands in parallel, and review the results live.
Run Copilot CLI in loops and split multi-part work
Daniel Ward used GitHub Copilot’s autopilot and /fleet features to finish larger jobs and divide separate chunks across parallel agents.