r/ChatGPTCoding • • Feb 23 '24

Project GPT-4 powered tool that builds web apps from start to finish by talking to you: what we learned building GPT Pilot (research + examples)

197 Upvotes

For the past 6 months, I’ve been working on GPT Pilot (https://github.com/Pythagora-io/gpt-pilot) to understand how much we can really automate coding with AI.

When I started, I posted here on r/ChatGPTCoding about how I approached building an AI developer. The idea was to set the main pillars on top of which it will be built. Now, after testing it in the real world, I want to share our learnings so far and how far it’s able to go.

Right now, you can create simple but non-trivial apps with GPT Pilot. One example is an app we call CodeWhisperer in which you paste a Github repo URL, it analyses it with an LLM, and provides you with an interface in which you can ask questions about your repo. The entire code was written by GPT Pilot, while the user only provided feedback about what was working and what was not working.

Here are examples of apps created with GPT Pilot with demo and the codebase (along with CodeWhisperer) - https://github.com/Pythagora-io/gpt-pilot/wiki/Apps-created-with-GPT-Pilot

While building GPT Pilot, I’ve made a lot of learnings (you can see a deep dive in this blog post) - here they are:

  1. It’s hard to get an LLM to think outside the box. This was one of the biggest learnings for me. I thought you could prompt GPT-4 by giving it a couple of solutions it had already used to fix an issue and tell it to think of another solution. However, this is not as remotely easy as it sounds. What we ended up doing was asking the LLM to list all the possible solutions it could think of and save them in memory. When we needed to try something else, we pulled the alternative solutions and told it to try a different but specific solution.

  2. Agents can review themselves. My thinking was that if an agent reviews what the other agent did, it would be redundant because it’s the same LLM reprocessing the same information. But it turns out that when an agent reviews the work of another agent, it works amazingly well. We have 2 different “Reviewer” agents that review how the code was implemented. One does it on a high level, such as how the entire task was implemented, and another one reviews each change before they are made to a file (like doing a git add -p).

  3. Verbose logs help. This is very obvious now, but initially, we didn’t tell GPT-4 to add any logs around the code. Now, it creates code with verbose logging so that when you run the app and encounter an error, GPT-4 will have a much easier time debugging when it sees which logs have been written and where those logs are in the code.

  4. The initial description of the app is much more important than I thought. My original thinking was that, with human input, GPT Pilot would be able to navigate in the right direction and get closer and closer to the working solution, even if the initial description was vague. However, GPT Pilot’s thinking branches out throughout the prompts, beginning with the initial description. And with that, if something is misleading in the initial prompt, all the other info that GPT Pilot has will lead in the wrong direction.

  5. Coding is not a straight line. Refactoring happens all the time, and GPT Pilot must do so as well. GPT Pilot needs to create markers around its decision tree so that whenever something isn’t working, it can review markers and think about where it could have made a wrong turn.

  6. LLMs work best when they can focus on one problem compared to multiple problems in a single prompt. For example, if you tell GPT Pilot to make 2 different changes in a single description, it will have difficulty focusing on both. So, we split each human input into multiple pieces in case the input contains several different requests.

  7. Splitting the codebase into smaller files helps a lot. This is also an obvious conclusion, but we had to learn it. It’s much easier for GPT-4 to implement features and fix bugs if the code is split into many files instead of a few large ones.

I'm super curious to hear what you think - have you seen a CodeGen tool that has abilities to create more complex apps with AI than these? Do you think there is a limit to what kind of an app AI will be able to create?


r/ChatGPTCoding • • Apr 04 '25 Mindblown

Resources And Tips A simple guide to setting up Gemini 2.5 Pro, free, without running into 3rd party rate limits

196 Upvotes

EDIT May 12: Google added new rate limits to AI studio this morning, 25 RPD, so this is effectively no longer working. We had a good run!
EDIT: The Open Router integration and google ai studio key method seems like the easiest way that works for everyone, especially if you already have an openrouter account. Pasting that method here for visibility:

  1. Get a Google AI Studio API key from https://aistudio.google.com/apikey

  2. Plug that API key into the Google AI Studio integration on https://openrouter.ai/settings/integrations, select enabled but not "Use as fallback"

  3. You can now use your Openrouter key anywhere and as long as you select Gemini 2.5 Pro Experimental as your model, it will use your key. (4. If you also add a GCP key and have Vertex AI enabled for the project, obtained as per the instructions below, you can add that to your integrations as well, and you will have two sources of 2.5 Pro backing your Openrouter calls.)

Hey all,
After dealing with Openrouter and Requesty giving me constant rate limits for Gemini 2.5 Pro, I got frustrated and decided to get things set up directly through Google's APIs. I have now sent over 60 million tokens in a single day without hitting any rate limits, all for $0—an equivalent usage with Claude would have cost $180. I also had a few other engineers confirm these steps. Here's how to do it and then integrate with Roo Code--but this should work for other tools like Cline, too:

Setting Up Google Cloud

  1. Create or log into your Google Cloud account.

  2. Open the Google Cloud Console.

  3. Create a new Google Cloud project (I named mine "Roo Code").

  4. Enable billing for your newly created Google Cloud project.

  5. Enable the Vertex AI API.

  6. Enable the Gemini API from the API overview page.

  7. In your project dashboard, navigate to APIs & Services → Credentials.

  8. Click "Create Credentials" → "API Key".

  9. Copy the generated API key and save it securely.

Integrating with Your IDE (Example: Roo Code)

  1. In VSCode or Cursor, navigate to the extensions marketplace (Shift + Cmd + X on Mac), search for and install "Roo Code" (or your preferred tool like Cline).

  2. Open Roo Code (Cmd + Shift + P, then type "View: Show Roo Code").

  3. Click to configure a new API provider, selecting "Google Gemini".

  4. Paste the API key you saved earlier into the API key field.

  5. Select "google/gemini-2.5-pro-exp-03-25:free" as the model.

  6. Click Save.

There you go! Happy coding. Let me know if you run into any issues.

Edit: looks like some are having issues. A few ideas/alternatives:

  1. Use a Vertex api key, but gemini api as provider in Roo Code. There is only one key, ignore this alternative.

  2. Use vertex api as the provider in Roo Code--its just a little more complicated, you'll have to create a service account in the credentials page of the project, and paste the json in Roo Code when configuring the provider

  3. If you have an OpenRouter account, you can go to the integrations page https://openrouter.ai/settings/integrations and add your vertex api key to the google vertex integration. You can also add a google ai studio api key to the Google AI Studio integration. In each setting window where you add the key, make sure it is enabled. Then, in Roo Code, you use your openrouter account, but whenever it uses Gemini 2.5 pro free, it will default to your API key, not one of theirs which is being rotated among many users.


r/ChatGPTCoding • • Apr 04 '25

Resources And Tips Principal Engineer here 35 you. Vibe coding a terrific tracker in one shot with roo

Thumbnail
gallery
196 Upvotes

I woke up this morning and decided to whip up a tariff tracker with Roo, gpt 4o, o3-mini,and 3.7 sonnet.

Postgres db powered by sqlalchemy backed python backend. Nextjs front-end, auth0 for authentication. Stripe for payments and registration.

Fully dockerized nextjs front-end and flask backend with deployment pipeline through github actions and deploying to GCP Kubernetties cluster.

Tested with pytest. There's an admin. There are premium tiers.

The full app was generated in a single multi step task. There were 5 bugs that the model one shot. All this was coded in github code spaces. Total cost $5.87. Took all of 30 minutes.

AMA.


r/ChatGPTCoding • • Oct 09 '25 Bless Up

Discussion I can’t stop vibe coding with Codex CLI. It just feels magical

195 Upvotes

I'm using Codex CLI with the gpt-5-codex model, and I can't stop enjoying vibe coding. This tool is great. I believe that the magic is not only in the model but in the application as well—in the way it’s thinking, planning, controlling, testing everything, and doing it again and again. But somehow, at the same time, despite consuming a lot of tokens, it makes minimal changes in the code, which together works like magic, and it’s really great. I really don’t need to debug and find errors in the code after Codex CLI. So, I love this tool.

Interestingly, the same model doesn’t produce the same result in Visual Studio Code as in the Codex CLI.


r/ChatGPTCoding • • Jan 20 '26

Discussion My company banned AI tools and I dont know what to do

192 Upvotes

Security team sent an email last month. No AI tools allowed. No ChatGPT, no Claude, no Copilot, no automation platforms with LLMs.

Their reasoning is data privacy and theyre not entirely wrong. We work with sensitive client info.

But watching competitors move faster while we do everything manually is frustrating. I see what people automate here and know we could benefit.

Some people on my team are definitely using AI anyway on personal devices. Nobody talks about it but you can tell.

I'm torn between following policy and falling behind or finding workarounds that might get me in trouble.

Tried bringing it up with my manager. Response was "policy is policy" and maybe they'll revisit later. Later meaning probably never.

Anyone dealt with this? Did your company change their policy? Find ways to use AI that satisfied security? Or just leave for somewhere else?

Some mentioned self hosted options like Vellum or local models but I dont have authority to set that up and IT wont help.

Feels like being stuck in 2020.


r/ChatGPTCoding • • May 16 '25

Project wtf are 8 billion people doing right now? i made a simulation to find out

Post image
191 Upvotes

couldn’t stop thinking about how many people are out there just… doing stuff.
so i made a site that guesses what everyone’s up to based on time of day, population stats, and vibes.

https://humans.maxcomperatore.com/

warning: includes stats on sleeping, commuting, and statistically estimated global intimacy.


r/ChatGPTCoding • • Oct 25 '24 Heart of Silver

Resources And Tips My custom instructions for coding (and anything else)

191 Upvotes

Provide a Chain-Of-Thought analysis before answering.

Review the attached files thoroughly. If there is anything you need referenced that’s missing, ask for it.

If you’re unsure about any aspect of the task, ask for clarification. Don’t guess. Don’t make assumptions.

Don’t do anything unless explicitly instructed to do so. Nothing “extra”.

Always preserve everything from the original files, except for what is being updated.

Write code in full with no placeholders. If you get cut off, I’ll say “continue”

—

EDIT 10/27/24: Added “Always preserve” line


r/ChatGPTCoding • • Oct 06 '26

Discussion Im tired of reviewing code nobody actually wrote

190 Upvotes

every day I review 20 or so PRs that nobody on my team actually wrote. the agent wrote it, coderabbit already commented on it, the author skimmed the comments and pasted them back in, and now it's on me to be the human who says yes.

I'm not scared of losing my job. I'm just tired. I got into this to build things and now my whole day is being the last checkbox on code nobody will remember making.

I don't even hate AI, it's genuinely useful. I just didn't sign up to be a full time proofreader. some days I wish I'd picked a trade.


r/ChatGPTCoding • • Feb 16 '25

Discussion New Junior Developers Can’t Actually Code

Thumbnail
nmn.gl
190 Upvotes

r/ChatGPTCoding • • Dec 19 '24

Project I made wut – a CLI that explains the output of your last command with an LLM

190 Upvotes

r/ChatGPTCoding • • Feb 17 '26

Discussion The Opus vs Codex horse race in one poll

Post image
189 Upvotes

Adam Wathan asked what models people are using, and after 2600 votes Opus 4.6 and GPT 5.3 Codex are neck and neck.

Wild times.


r/ChatGPTCoding • • Jul 16 '25

Discussion Good job humanity!

Post image
189 Upvotes

r/ChatGPTCoding • • Mar 07 '25

Community Warning about the Cursor sub

189 Upvotes

Hey all,

Just a warning if you are looking for an AI coding assistant.

Unfortunately, as a result of significant dissatisfaction about the state of the product and lack of transparency from the cursor team, the cursor team has made the decision to start to ban people and remove posts on the sub critical of cursor.

A recent post on this sub by another user surfaced the issue, and funny enough, I was banned for a post a few hours later. It’s unfortunate the team has decided to behave this way, but thankfully there are other options that get better every day! Claude Code has been a good bit more expensive but worth it for me.


r/ChatGPTCoding • • Jan 06 '25

Resources And Tips Cline v3.1 now saves checkpoints–new ‘Compare’, ‘Restore’, and ‘See new changes’ buttons

189 Upvotes

r/ChatGPTCoding • • Jul 29 '25

Resources And Tips PSA: zai/glm-4.5 is absolutely crushing it for coding - way better than Claude’s recent performance

188 Upvotes

Okay, so I’ve been lurking here for a while and finally have something worth sharing. I know everyone’s been using Claude Code as the king of coding, but hear me out.

I was a loyal Claude subscriber paying $200/month for their coding plan. For months it was solid, but lately? Man, it’s been making some really dumb mistakes. Like, basic syntax errors, forgetting context mid-conversation, suggesting deprecated APIs. I’m pretty sure they’re running a quantized version now because the quality drop has been noticeable.

I’m mostly writing Cloudflare worker backends.

I decided to give this new GLM-4.5 model a shot. Holy shit. This thing gets it right on the first try. Every. Single. Time. I’m talking about:

•	Complex async/await patterns with Durable Objects
•	KV store integrations with proper error handling
•	WebSocket connections that actually work
•	Even the tricky stuff like handling FormData in edge environments

It’s like $0.60 for input token/Million, and my usage is mostly input tokens. So, I’m going to try the pay per token approach and see how much mileage I get before I spend too much.

Again, it feels delightful again to code with AI, when it just gets it right the first time.


r/ChatGPTCoding • • Feb 03 '25

Discussion DeepSeek might not be as disruptive as claimed, firm reportedly has 50,000 Nvidia GPUs and spent $1.6 billion on buildouts Spoiler

Thumbnail
tomshardware.com
188 Upvotes

r/ChatGPTCoding • • Oct 03 '24

Resources And Tips OpenAI launches 'Canvas', a pretty sweet looking coding interface

Thumbnail
x.com
187 Upvotes

r/ChatGPTCoding • • Nov 22 '23

Discussion A developer made 140K in 3 months with his AI wrapper before Stripe shut him down. Should uncensored AI be banned?

Thumbnail
twitter.com
187 Upvotes

r/ChatGPTCoding • • Jun 13 '25

Project Roo Code 3.20.0 | THIS IS A BIG ONE!!

186 Upvotes

This release introduces the experimental Marketplace for extensions and modes, concurrent file edits and reads, and numerous other improvements and bug fixes. Full release notes here.

🛒 MCP & Mode Marketplace (experimental)

We've introduced an experimental Marketplace for discovering and installing community-contributed extensions and modes. This feature allows you to:

  • Browse and search for new modes and MCP servers (thanks Smartsheet-JB-Brown, elianiva, monkeyDluffy6017, NamesMT, daniel-lxs, and more!)

  • Install items at project or global scope

  • Manage installations directly from the Marketplace view

To enable: Open Roo Code settings (⚙️) → Experimental Settings → Enable "Marketplace"

📄 Concurrent Edits (aka multi-file)(experimental)

You can now perform edits across multiple files at once, dramatically speeding up refactoring and multi-file changes. Instead of approving each file edit individually, you can review and approve all changes at once through a unified batch approval interface. Check out our concurrent file edits documentation for more details. (thanks samhvw8!)

To enable: Open Roo Code settings (⚙️) → Experimental Settings → Enable "Enable multi-file edits"

📚 Concurrent Reads (aka multi-file)

The setting for concurrent reads has been moved to the context settings, with a default of 5. This feature allows Roo to read multiple files from your workspace in a single step, significantly improving efficiency when working on tasks that require context from several files. Learn more in our concurrent file reads documentation.

⬆️ Prompt History

Navigate your prompt history with a terminal-like experience using the arrow keys. This feature makes it easy to reuse and refine previous prompts, whether from your current conversation or past tasks. See our keyboard shortcuts documentation for usage details.

🔧 Other Improvements and Fixes

This release includes 17 additional enhancements, covering Quality of Life updates, important Bug Fixes, Provider Updates (including DeepSeek R1, Bedrock reasoning budget, XAI, O3, OpenAI-Compatible, and OpenRouter), and various other improvements. Thanks SOOOOOO much to the additional contributors in this release samhvw8, NamesMT, KJ7LNW, qdaxb, edwin-truthsearch-io, dflatline, chrarnoldus, Ruakij, forestyoo, and daniel-lxs!


r/ChatGPTCoding • • Apr 16 '25

Discussion OpenAI In Talks to Buy Windsurf for About $3 Billion

Thumbnail
bloomberg.com
185 Upvotes

r/ChatGPTCoding • • Apr 11 '25

Resources And Tips Gemini on Copilot from now.

Post image
184 Upvotes

r/ChatGPTCoding • • May 08 '23

Discussion I used ChatGPT to create a 2D RPG Pokémon style game with JavaScript and HTML, no experience before, no write single line of code, all reply GPT4! (Full conversation in the video description.)

184 Upvotes

r/ChatGPTCoding • • Dec 09 '24

Resources And Tips Get pastable context by replacing 'hub' with 'ingest' in any Github URL

183 Upvotes

r/ChatGPTCoding • • Sep 24 '25

Community I've rediscovered my joy of programming again with vibe coding

182 Upvotes

I am a senior engineer with two decades of programming experience. For the past 8 years I've held managerial and CTO positions but still managed to squeeze a few company-internal and personal side projects here and there. Mostly for fun.

However, I noticed I've became a bit lazy to program because I've already gone a couple of laps around the programming wheel already. "I kind of already know the architecture in my head, but now I also have to write code. Nah. Suck it! I will just doom scroll for a while instead". Programming stoped being fun in a way because it was a low-level activity.

But vibe coding brought back the fun into programming again. It's my dream come true! Now I have a trusted partner whom I can tell what code to write. Sometimes she misunderstands but it's ok, we can always correct it. She never gets tired and always waits for me to stop. Comes at a cost but worth every penny because my productivity quadrupled and I write code with a totally adequate quality.

I feel vibe coding lifts me up an abstraction level. I think about architecture and design patterns instead of sweating the details.

What usually took me 3 days now takes 4-5 hours instead. Sure, there is a fair share of clean up but often it's me not being expressive or exact enough. But it's ok because I am still having so much fun (and still push a lot of code)!

Anyone else feel this way?