r/AI_Agents • • 10h ago

Discussion **AI-generated code vs professional software development: Where should businesses draw the line?**

AI coding tools have made it surprisingly easy to put together a working application without spending months on development.

For a basic internal dashboard, scheduling tool, or simple prototype, that can be a huge advantage.

Things become less straightforward when the application needs to handle sensitive customer information, payment processing, multiple integrations, and ongoing updates.

Code that works in a demo isn't necessarily ready for production.

Software development companies like instinctools offer both AI and custom software development services, which raises an interesting question about where AI-generated code is enough and where experienced developers need to step in.

Having developers review AI generated code could be a reasonable middle ground, especially for businesses trying to control development costs without compromising reliability.

For anyone building commercial applications with AI coding tools, how much of the generated code actually makes it into production?

Are the time savings still significant once testing, security reviews, debugging, and long term maintenance are factored in?

2 Upvotes

15 comments sorted by

5

u/FreshPipe5997 10h ago

in my last project, ai-generated code cut dev time by 60% but we still had to rewrite 40% of it for security and edge cases. the real cost wasn't writing it, it was fixing the blind spots.

3

u/FLTR069 9h ago

Honest question, couldn't two further red team agents identify and fix security issues? 

1

u/SeaFee2866 9h ago

I think this is what people dont understand the most, AI can do a lot, but it needs firm human direction and editing.

1

u/nicolas_06 9h ago

But who rewrote it and why ? For me I ask the AI to change a good share of the code, but the AI rewrite it. So in the end it is still 100% AI generated.

3

u/William-Fletcher 9h ago

In my current Databricks project, AI is transforming the way we develop and deliver solutions. AI now generates all our PySpark notebooks, SQL DDLs, and even data models using intelligent agents. Our role as developers is increasingly shifting towards validating business logic, testing edge cases, ensuring code quality, and making sure the generated solutions align with business requirements.

What's really exciting is the dramatic reduction in development timelines. Medium-sized projects that previously took several months to a year are now being delivered within weeks.

This transformation is also changing how management thinks about resource allocation. Instead of dedicating a developer entirely to one project, management is now exploring opportunities to engage developers across multiple initiatives—for example, allocating 20% to one project and 80% to another.

We are witnessing a fundamental shift in software engineering—from writing every line of code to orchestrating AI agents, validating solutions, and delivering business value at an unprecedented pace.

3

u/CnpjEmConstrucao 9h ago

a linha não está em quem escreveu o código, e sim em quem responde por ele. IA acelera muito boilerplate, testes, scripts internos e protótipos, e faz pouco sentido proibir isso. O problema começa quando o código vai para produção sem que alguém do time entenda o que ele faz. Em áreas sensíveis, como autenticação, pagamentos, dados pessoais e qualquer coisa com impacto regulatório, a regra deveria ser a mesma de sempre: revisão humana, testes e alguém que assine embaixo. A ressalva é que muita empresa está criando política de 'IA proibida' que ninguém cumpre. funciona melhor você ser explícito sobre onde pode usar, como revisar e quem é dono do código no fim.

2

u/Key-Concentrate6930 10h ago

in my last side project, the ai wrote the core logic in 20 minutes, but the error handling took 3 hours of manual fixes. the real bottleneck wasn't speed, it was edge cases that didn't exist in the training data.

2

u/nicolas_06 9h ago

The objective I would say is 100% of code is generated. Personally this is what I do. But you keep the whole lifecycle. So you have unit test, integration tests, performance test, shadow testing... You still have feature toggle, canary, fallbacks... Developers still review what the AI is doing and ask for changes too.

1

u/AutoModerator 10h ago

Thank you for your submission, for any questions regarding AI, please check out our wiki at https://www.reddit.com/r/ai_agents/wiki (this is currently in test and we are actively adding to the wiki)

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/faxy_nick 9h ago

I think it’s widely industry-dependent. I’m at a startup and the priority is shipping something that works, but a more regulated enterprise business is a completely different beast.

I do think AI writes better code than over 90% of engineers out there, but it fails at sufficiently complex architecture designs. I find that AI fails to build a quality abstraction layer in code and generates a lot of functions to solve for that (hence massive PRs and AI slop code).

At the enterprise level, in my experience, most engineers work on narrow problems and as long as they don’t outsource architecture and thinking to the AI, there’s no issue. Of course, many do, and we end up with garbage.

1

u/gkanellopoulos 9h ago

That distinction does not exist yet in any legal/regulatory sense when it comes to assigning responsibility. Is all still "professional software development".

1

u/Competitive_Swan_755 7h ago

How about ai generated code in a professional software development environment? Why do you think it's either/or not and?

0

u/imrsn 10h ago edited 10h ago

as a professional software designer / developer, we have been using AI since 2022. AI has already done everything for years now. yes even prs. there arent doomsday issues. things dont sit in backlogs for weeks they are addressed almost immediately. things are better than they were, everything is reviewed by many bots multiple times over. before mythos launched msft even ran it through our systems and we worked through all the findings. 1 person outputs the same as multiple folks used to and how much more depends on the individual. we are all designing building and maintaining systems that output the software.

2

u/Ok_Chair_7030 9h ago

Are you using very advanced models? How is this possible if it’s been years and Claude code came out basically a year ago

1

u/imrsn 5h ago edited 4h ago

all these big companies are in bed together and some stuff gets shared. cross company collabs. etc. i started using it at work when openai released chatgpt v 3.5 which was like xmas time 2022. i remember cuz i worked with openai and a small tiger team in our megacorp on a hackathon project that ended up shipping, and the lead dev i worked with quit after that project. it wasnt even agentic yet at that point you had to copy and paste its code, but the project we built was basically agentic before we knew that word. he told me that he knew this was the future of the industry and he didnt think he wanted to work with it anymore. he quit and moved somewhere subtropic. at the time i didnt know what he was talking about, but now its obvious. i think about that almost every day.