r/ChatGPTCoding • • Aug 22 '23

Project I created GPT Pilot - a PoC for a dev tool that writes fully working apps from scratch while the developer oversees the implementation - it creates code and tests step by step as a human would, debugs the code, runs commands, and asks for feedback.

166 Upvotes

Hi Everyone,

For a couple of months, I'm thinking about how can GPT be used to generate fully working apps and I still haven't seen any projects (like Smol developer or GPT engineer) that I think have a good approach for this task.

I have 3 main "pillars" that I think a dev tool that generates apps needs to have:

  1. Developer needs to be involved in the process of app creation - I think that we are still far off from an LLM that can just be hooked up to a CLI and work by itself to create any kind of an app by itself. Nevertheless, GPT-4 works amazingly well when writing code and it might be able to even write most of the codebase - but NOT all of it. That's why I think we need a tool that will write most of the code while the developer oversees what the AI is doing and gets involved when needed (eg. adding an API key or fixing a bug when AI gets stuck)

  2. The app needs to be coded step by step just like a human developer would create it in order for the developer to understand what is happening. All other app generators just give you the entire codebase which I very hard to get into. I think that, if a dev tool creates the app step by step, the developer who's overseeing it will be able to understand the code and fix issues as they arise.

  3. This tool needs to be scalable in a way that it should be able to create a small app the same way it should create a big, production ready app. There should be mechanisms to give the AI additional requirements or new features to implement and it should have in context only the code it needs to see for a specific task because it cannot scale if it needs to have the entire codebase in context.

So, having these in mind, I create a PoC for a dev tool that can create any kind of app from scratch while the developer oversees what is being developed.

I call it GPT Pilot and it's open sourced here.

Examples

Here are a couple of demo apps that GPT Pilot created:

  1. Real time chat app

  2. Markdown editor

  3. Timer app

How it works

Basically, it acts as a development agency where you enter a short description about what you want to build - then, it clarifies the requirements, and builds the code. I'm using a different agent for each step in the process. Here is a diagram of how it works:

The diagram for the entire coding workflow can be seen here.

Other concepts GPT Pilot uses

Recursive conversations (as I call them) are conversations with GPT that are set up in a way that they can be used "recursively". For example, if GPT Pilot detects an error, they need to debug this issue. However, during the debugging process, another error happens. Then, GPT Pilot needs to stop debugging the first issue, fix the second one, and then get back to fixing the first issue. This is a very important concept that, I believe, needs to work to make AI build large and scalable apps by itself.

Showing only relevant code to the LLM. To make GPT Pilot work on bigger, production ready apps, it cannot have the entire codebase in the context since it will take it up very quickly. To offset this, we show only the code that the LLM needs for each specific task. Before the LLM starts coding a task we ask it what code it needs to see to implement the task. With this question, we show it the file/folder structure where each file and the folder have descriptions of what is the purpose of them. Then, when it selects the files it needs, we show it the file contents but as a pseudocode which is basically a way how can compress the code. Then, when the LLM selects the specific pseudo code it needs for the current task and that code is the one we’re sending to LLM in order for it to actually implement the task.

What do you think about this? How far do you think an app like this could go and create a working code?


r/ChatGPTCoding • • Mar 31 '23

Resources And Tips I built a chatbot that lets you talk to any Github repository

166 Upvotes

r/ChatGPTCoding • • Apr 26 '25

Resources And Tips I was not paying attention and had Cline pointing directly to Gemini 2.5, watch out!

Post image
164 Upvotes

I was doing some C++ embedded work, no more chat volume than I have done in the past with Claude, maybe the bigger context window got me.


r/ChatGPTCoding • • Feb 25 '25

Discussion Introducing GitHub Copilot agent mode

Thumbnail
code.visualstudio.com
164 Upvotes

r/ChatGPTCoding • • Jan 27 '25 Heartwarming

Resources And Tips It took me 42 years to build my first app

164 Upvotes

I started coding in 1982. BASIC, and CRASH magazine. Truly wonderful days. Halcyon ones, because I really like the word and show off using it as much as possible.

But I never got beyond copying programs.

I went through the upgrade path to Atari ST, Amiga, and then a proper PC.

But coding always eluded me.

I've worked in education for ages, and I've had this burning ambition to build software to make learning both inspiring and fun. For a lifetime. An app that evolves with you, and becomes as familiar as a hot croissant on a Sunday.

But if code was a martial art, I'd be getting lost on the way to the dojo.

Then I started kicking these AI coding editors around.

Spent months failing. Always over-prompting.

Gradually I started to understand the basics. Using .clinerules. Planning more than building.

Last night was my last roll of the dice. But I must have amassed just enough learning to make something work.

And work it did. A v0.1 is now done. Committed to Github. And I have now swapped roles from educator to product manager. It feels fantastic.

AI tools and models I've used for my working prototype:

I wanted to share this journey with you, because the community has given me so much inspiration.

And if you want the full skinny, I have a podcast episode where I go into a lot more deets.


r/ChatGPTCoding • • Jun 25 '25

Discussion Gemini CLI: Open-source AI agent. Write code, debug, and automate tasks with Gemini 2.5 Pro with industry-leading high usage limits at no cost.

Thumbnail
blog.google
163 Upvotes

r/ChatGPTCoding • • Jun 09 '25

Discussion I’m done with ChatGPT (for now)

163 Upvotes

They keep taking working coding models and turning them into garbage.

I have been beating my head against a wall with a complicated script for a week with o4 mini high, and after getting absolutely nowhere (other than a lot of mileage in circles), I tried Gemini.

I generally have not liked Gemini, but Oh. My. God. It kicked out all 1,500 lines of code without omitting anything I already had and solved the problem in one run - and I didn’t even tell it what the problem was!

Open.ai does a lot of things right, but their models seem to keep taking one step forward and three steps back.


r/ChatGPTCoding • • Aug 08 '25

Discussion How it started vs how it's going

Thumbnail
gallery
162 Upvotes

r/ChatGPTCoding • • Feb 08 '25

Discussion Cursor alternative?

158 Upvotes

Hey everyone,

I've been using Cursor as my AI-powered IDE, and while I really like its features, the cost is starting to add up—especially with usage-based pricing for premium models like Claude 3.5 Sonnet.

I'm wondering if there are any free or more affordable alternatives that offer similar AI capabilities, particularly with access to models like Claude Sonnet 3.5, GPT-4, or similar LLMs for code completion and assistance.

Has anyone found a good alternative that balances cost and performance? Would love to hear your recommendations!

Thanks!

UPDATE (2 hours later):

Copilot in VSCode looks and performs amazingly! It's more responsive and faster then Cursor, and it seems to be more accurate in its actions. Even if I don't provide specific instructions, it intuitively searches, extracts relevant code snippets, and applies modifications exactly where and how they're needed (Testing it on a Laravel + Breeze + Blade project).

Huge thanks to u/cunningjames for the awesome suggestion! 🚀

UPDATE 3 (TRIED AIDE)
Horrible, the worst i ever tried, writes completely wrong code, doesn't even close </> tags, it's awful...


r/ChatGPTCoding • • Sep 06 '24 This

Resources And Tips how I build fullstack SaaS apps with Cursor + Claude

158 Upvotes

r/ChatGPTCoding • • Feb 24 '25

Discussion 3.7 sonnet LiveBench results are in

Post image
157 Upvotes

It’s not much higher than sonnet 10-22 which is interesting. It was substantially better in my initial tests. Thinking will be interesting to see.


r/ChatGPTCoding • • Mar 24 '24

Resources And Tips 100% Serverless RAG pipeline - Article

Thumbnail
medium.com
157 Upvotes

r/ChatGPTCoding • • Dec 12 '23

Project I made an AI programming assistant that generates system diagrams for your code

156 Upvotes

r/ChatGPTCoding • • Jun 06 '25

Resources And Tips Google will soon end free AI Studio, transitioning to a fully API key based system

Post image
154 Upvotes

r/ChatGPTCoding • • Dec 18 '24

Resources And Tips Github Copilot now has a free tier

Post image
154 Upvotes

r/ChatGPTCoding • • Dec 18 '24

Resources And Tips What I've Learned After 2 Weeks Working With Cline

154 Upvotes

I discovered Cline 2 weeks ago. I'm an experienced developer. I've worked with Cline on 3 projects (react js and next js, both with Tailwind CSS). I've experimented with many models but have the best results with Claude 3.5 Sonnet versions. Gemini seemed ok but you constantly get API errors and have to keep resending.

  1. Do a git commit every single time you have a working version. It can get caught in truncated file loops and you end up having to restore the file from whatever your last commit was. If you commit often, you won't lose a lot of work.

  2. Continuously refactor by extracting components. The smaller you keep your files, the fewer issues you'll have with truncated files. And it will run faster. I try to keep every source file under 200 lines.

  3. ALWAYS extract inline SVGs into icon components. It really chokes on inline SVGs. They slow down mods and are a major source of truncated files. And they add massive token usage for no reason. Better to get them into components because once you do, you'll never need it to read them again.

  4. Apply common refactors across the project. When you do a specific refactor, for example, extracting SVGs to components, have it grep the source directory and apply the refactor everywhere. It takes some time (and tokens) but will pay long term dividends. If you don't do this in one task, it won't remember how do it later and will possibly use a different approach.

  5. Give it examples or references. When you want to make a change to a page, ask it to review a working page with similar functionality and do it the same way. Otherwise, you get different coding styles and patterns on different pages. This is especially true for DB access and other API calls, especially if you've added help functions to access the APIs. It needs to know about them.

  6. Use Open Router. Without Open Router, you're going to constantly hit usage limits and be shut down for a few hours. With OpenRouter, I can work 12 hours at a time without issues. Just takes money. I'm spending about $10-15/day for it but it's worth it to me.

  7. Don't let it run the browser. Just reject requests to run the browser and verify changes in your own browser. This saves time and tokens.

That's all I can remember for now.

The one thing I've seen mentioned and want to do is create a brief project doc it can read for each new task. This doc would explain what's in each file, what my helpers are for things like DB access. Any patterns I use like the icon refactoring. How to reference import paths because it always forgets, etc. If anyone has any good ideas on that, I'd appreciate it.


r/ChatGPTCoding • • Jun 03 '25

Discussion They lied to you. Building software is really hard.

Thumbnail
blog.nordcraft.com
153 Upvotes

r/ChatGPTCoding • • May 26 '24

Project Please show the amazing potential of coding with LLMs

153 Upvotes

Hey all. I’ve tried gpt and friends for coding, but on real challenges, it hasn’t been too helpful. Basically it works around the level of a questionably-competent junior dev. It can do boilerplate, basic api interactions, and things you can mostly generate with templates anyway.

I keep getting told I just don’t know how to prompt it and it can 4x a senior dev. So I’m asking for one of you mega amazing prompt coders to please post a livestream or YouTube video with clear timestamps, along with accompanying GitHub repository, of coding with it, how to prompt it, etc. to get these results. And on a real project with actual complexity, not another Wordpress site you can generate with a template anyway or a bottom of the barrel “just train a neural network” upwork project. We’re talking experienced dev stuff. Like writing a real backend service with multiple components, or a game with actual gameplay, or basically anything non-trivial. A fun thing to try may be an NES emulator. There’s a huge corpus of extant code in this domain so it should be able to, theoretically.

The goal is to see how to actually save time on complex tasks. All of the steps from setup to prompting, debugging, and finally deployment.

If anyone is open to actually doing all this I’m happy to talk more details

Edit: mobile Reddit lost a whole edit I made so I’m being brief. I’m done with replies here.

Nobody has provided any evidence. In a thread I’m asking to be taught I’ve repeatedly been called disingenuous for not doing things some people think are obvious. Regardless, when I listen to their advice and try what they suggest, the goalposts move or the literal first task I thought of to ask it is too niche and only for the best programmers in the world. It’s not, I see junior level devs succeed at similar tasks on a weekly basis.

I’ve been offered no direct evidence that LLMs are good for anything other than enhanced auto complete and questionably-competent entry or junior-level dev work. No advice that I haven’t tried out myself while evaluating them. And I think that if you can currently outperform chatgpt, don’t worry too much about your job. In fact a rule of thumb, don’t worry until OpenAI starts firing their developers and having AI to development for them.


r/ChatGPTCoding • • Jul 11 '25

Discussion Grok 4 still doesn't come close to Claude 4 on frontend dev. In fact, it's performing worse than Grok 3

Thumbnail
gallery
152 Upvotes

Grok 4 has been crushing the benchmarks except this one where models are being evaluated on crowdsource comparisons on the designs and frontends different models produce.

Right now, after around ~250 votes, Grok 4 is 10th on the leaderboard, behind Grok 3 at 6th and Claude Opus 4 and Claude Sonnet 4 as the top 2.

I've found Grok 4 to be a bit underwhelming in terms of developing UI given how much it's been hyped on other benchmarks. Have people gotten a chance to try Grok 4 and what have you found so far?


r/ChatGPTCoding • • May 22 '25

Discussion Am I the only one who thinks AI coding is like using Dreamweaver?

152 Upvotes

I am showing my age here little bit and happy to admit that some of the AI stuff is beyond me but I can't be the only one who thinks vibing is akin to using Dreamweaver / Frontpage in the early 2000's?

I used to roll my eyes whenever a developer said that they were experts in DW/FP.


r/ChatGPTCoding • • Apr 08 '25

Discussion Just got charged for 300usd on gemini 2.5 preview, dunno what to do

152 Upvotes

My account was suspended and I didn’t know why and then I looked at cost and they charged me for 300usd for using gemini 2.5 api then I realised that in cline I have selected preview and not experimental lol, now I don’t know what to do because I don’t have that money. Also why the fuck are they charging you after using api? Every fucking one else have that opposite, first you have to charge your credits and then you can use api, what the hell is that, how much I’m fucked up? Do I have pay for this? What happen if not? I don’t like it that they charged me after using it and not before. Do you have some advice please?

Edit: also I had in case set up alert if I exceed the 25 usd limit and you know what, the email arrived after few hours and told me that I have exceed 150% of my budget wtf, why after many hours

Edit 2: I have contacted cloud support and now I’m waiting for response

Edit 3: Look at comments bellow I posted images of recieving emails, warning of suspended acc and alert email and look at times

Edit 4: I now have time to reply to negative comments, I replied to them with provided screenshot that it isn’t really easy find the exact text which is telling how are customers charged, just look down to comments and sry for many edits, but it seems some people don’t understand that they made it very easy to make API key and set up billing acc to make 50 more free request and if want to find how they are charging for it you need relly do many click and pay more attention to it , also no other company that has AI and has API like gpt, claude, deepseek don’t do that, first credits must be charged and then they can be used and you can use their api, so yes, it is partly my fault, I certainly confirmed some terms of use somewhere, but it simply does not occur to a person immediately that Google will only want payment after use and it is not written anywhere visibly and in bold "be careful, we will require payment after using the API, because we must be differenet from others", if it was there somewhere on website where you generate APIs, I would say nothing, but I simply do not like this approach

Edit 5: Google responded “Based on the information you provided and further analysis by Google, we have reinstated your billing account 01E14B…... Your account is in good standing, and you should now have full access to your account and related Project(s) and Service(s).” So I think I’m good for now, thanks for all helps

Edit 6: still owe money and google will respon in 24-48, the email before was to something else


r/ChatGPTCoding • • Oct 16 '23

Discussion Do you believe code will be something AI could completely automate away in the foreseeable future?

Post image
152 Upvotes

r/ChatGPTCoding • • Aug 25 '23

Question Getting Back in the Game: What Is/Are Currently the Best AI Tool(s) for Coding?

152 Upvotes

I am back after a months-long hiatus from coding and a bit overwhelmed by all the AI coding tools being thrown at us; Code Llama vs. CodeCursor vs. GPT-Engineer vs. Auto-GPT vs. Code Interpreter vs. [the list goes on...]

Previously, I was using the OpenAI API to code as I could get way more tokens into my prompts and GPT's responses seemed to be more cohesive and less forgetful from the API than when using ChatGPT (I always used GPT-4 FYI). However, now with Code Interpreter, it looks like I can potentially upload an entire codebase as, say, a TXT file (Idk if there's a token limit on the uploaded file) and this should (ideally) eliminate the many-more-tokens-per-prompt advantage the API held over ChatGPT. But Code Interpreter looks to be geared more toward Python so Idk if it has poorer performance on non-Python languages (lately I am using React-TS).

Now we have even more automated synthesis tools like GPT-Engineer (is this more for initializing codebases, or can it also be used to augment existing codebases?), Auto-GPT (haven't kept up with this one, last I remember months ago it had quite a few issues), Code Llama (guessing y'all don't have much experience with this one yet since it just came out), etc.

If any of you would be willing to help get me up to speed on what the current best tool(s) is/are (perhaps a combination of tools would be optimal?), I would appreciate that immensely as it would save me lots of time getting caught up. My guess is that a lot of these other tools are a bit more niche than they let on (i.e., have more limited/specific use cases), and for general coding, Code Interpreter is best (i.e., ChatGPT has overtaken OpenAI API) as we can now upload full-on codebases to it (again, this is just my guess).

Also, comments on privacy (e.g., for proprietary code) would be helpful. For instance, is this new tool localGPT feasible/worth using for privacy, or are there better means of achieving privacy out there? (As far as privacy is concerned, I don't trust anything from Meta lol)

Thanks for your time.


r/ChatGPTCoding • • Jun 17 '25

Discussion BEWARE Cursor -> Bait & Switch Highly unethical behavior

151 Upvotes

I was paying cursor for multiple iterations of the $20/month for 500 fast request/month.

I would STRONGLY recommend anyone considering doing ANY business with these folks to RECONSIDER.

This morning they changed and went 'unlimited' (not really unlimited) or 20x unlimited.

Well, I had 1k+ fast credits not used, and they are gone. Now I seemingly have regular $20/month 'unlimited' limits. Also, attempts to communicate with admins have resulted in a ban and multiple posts taken down.

IMHO they have broken contract, changed terms, sent out ZERO communication. It would be different thing if they said - next billing cycle this change happens, choose to proceed.

They probably broke these laws, but more critically they def burned my trust.

Law: Federal Trade Commission Act, 15 U.S.C. §45(a)
Law: 15 U.S.C. §§ 8401–8405

If they have no regard for such contracts, I wouldn't be surprised if they are doing other shady things. Like are they actually harvesting and selling your data to get compute discounts?

Banned for this comment, it seems they are banning anyone who says anything not-positive on r/cursor. FYI.