Holy CRAP! This new replit workflow, eradicates ALL BUGS!

So this is the latest update I got from the developers forum for how to use the replit agent and assistant to develop your MVPS and avoid those pesky AI bugs that tend to break your software.

I’ll keep it brief use the agent only when you want to build functionality and use the assistant whenever you want to fix functionality that already exists which includes bugs, customizations, slight changes in the way something that already exists works, basically if you’ve already created the function you use the assistant from that point on.

Always provide context to the assistant before you start working, Before you talk about a feature you want to implement or change or a bug or problem first ask the Assistant to tell you everything it knows about that function, Then ask it not to do anything but walk you through how it would address what it is you want to change, Then ask it to make that change only after it has all of this context.

If you fork your project or you start a new agent chat ask the agent to read the code and familiarize itself with the application and to describe what it thinks the application does fully without making any changes. Then you can ask it to create a plan to implement the new feature you want to build, then approve that plan.

TL:DR - Use the agent to create, use the assistant to modify, always load up context of the existing code into the ai’s memory whenever starting a new chat. Doing this will prevent the AI from overwriting existing structures and creating problems in previously fixed.

21 Likes

This is generally my preferred workflow too for more complex projects. For simple projects that I think Agent can handle in 2-5 prompts, I just use agent. For example, I recently had Agent make me my own version of all the different sites like “download audio from YouTube” or “convert webp to PNG” because I don’t trust them, Agent was able to do each of them in 5 prompts max.

4 Likes

Very helpful thank you

1 Like

Sounds like a good system … a system the replit software should offer :slight_smile:

Would be nice in the future to just have one prompt field and replit determines whether its for the replit Agent or Replit Assistant. But what we have now is already extraordinary. Hats of to the Replit team.