Episode 146: Build AI Factories, Not One-Off Automations

Co-Host

Aytekin Tank

Founder & CEO, Jotform

Co-Host

Demetri Panici

Founder, Rise Productive

About the Episode

What if you could build a system that fixes bugs, creates content, or develops integrations from start to finish? In this episode of the AI Agents Podcast, host Demetri Panici joins Aytekin Tank to explore AI factories: automated workflows where specialized AI agents work together to complete entire processes. Aytekin Tank shares how teams at Jotform are building factories for bug fixes, form templates, widgets, and integrations, along with his vision for a translation factory. He explains the three principles behind this approach—full automation, full human review, and full measurement—and why people remain responsible for reviewing results and improving the systems.

Basically, instead of doing the job, instead of fixing that park, we are actually designing a factory that can fix the bug. This is what I call systems or factories. It's the same thing.

Hi, my name is Dimitri Panici, and I'm a content creator, agency owner, and AI enthusiast. You're listening to the AI Agents Podcast, brought to you by Jotform and featuring our very own CEO and founder, Aytekin Tank. This is the show where artificial intelligence meets innovation, productivity, and the tools shaping the future of work. Enjoy the show.

Hello and welcome back to another episode of the AI Agents Podcast. In this episode, we're going to be talking about AI factories, a topic championed today by Aytekin. I'm basically going to be the interview host. It's going to be fun. I'm going to get my interviewing hat back on. To kick things off, where did this idea of doing an AI factory episode come from, and anything else you'd like to share at the top?

Yeah, I think we were talking about it last time. I don't know if it was during the recording or after, but we were talking about how we're automating many of the things we do at Jotform with AI factories. And, okay, why don't we do an episode about it? It's really cool stuff, and it's about AI agents. It's not completely technical. We're building factories for other things as well, so anybody can actually build a factory.

Yeah.

What is an AI factory?

An AI factory is basically an automated system that automates everything you do with a task, from beginning to end. It started with the term software factory. Early this year, there were blog posts about software factories and how we can automate agents to build completely automated software factories. Eventually, people started building these software factories, and it turned out that this approach works for anything. If you want to build a factory to translate everything on your website or product, you can do that. If you want to build one for articles, templates, videos, or whatever you do, you can completely automate things end to end with AI factories. Over time, I started using the term AI factory because at Jotform we started building all kinds of AI factories and saw their power. That's why we're building AI factories everywhere, in every department now.

And what are the three key principles of AI factories?

As we started building AI factories, in the beginning we were shy and afraid to mess things up. Eventually, we discovered the solution isn't to be afraid of AI, but to automate everything completely. I have three principles: full automation, full review, and full measurement. Let's start with the first one: full automation. I think it's okay when you're starting out to build individual agents one at a time and approve their work. As you're building your factories, a factory is kind of like an assembly line. Just like a real factory, you have an assembly line with machines; instead of machines, you have specialized agents. For example, let's say you're building a bug-fix factory. The trigger happens when someone reports a bug. The first agent catches incoming bugs, files them, and prepares them. The second agent reproduces the bug, figures out how and why it happens and under what conditions, and documents it. Once you can reproduce the bug, you hand it over to another agent that designs the fix: should it involve a UI change or improve the backend code? Then you have the code agent making the implementation and writing the code to fix the bug. After that, you have different QA agents, including a security agent that checks whether the code created a vulnerability and a usability agent that checks whether the UI change caused problems. Then it goes to the deployment agent, and a customer service agent replies to the customer saying it's fixed and explaining what we implemented. We implemented this exact bug factory at Jotform. We haven't deployed it everywhere; we're still improving it, and it's only used in less risky areas. Eventually, we're going to deploy it across all of Jotform. We have so many bugs, so we're really excited about this factory. The first principle is full automation. The second principle is full review. Instead of a human telling agents what to do and checking the results, everything is fully automated, but a human reviews every action agents take. We have a review tool where we can see every action taken by every agent and everything they produce, including documentation and UI designs. The review tool includes screenshots and even videos of agents doing things. Everything the AI agents do is reviewed by humans, and we make a note of possible mistakes. That creates a feedback loop: factory developers and engineers fix and improve the agents. That's one reason to have different specialized agents. Without them, it's difficult to improve them; the context gets larger and larger, and things start getting messed up. With specialized agents, you can give them feedback, and eventually they get better and better. You can also write evals, which are like automated tests for your agents. You specify that if this is the user's input, this should be the output, and then check it. We use evals because new models keep coming out, and every time there's a new model, you want to make sure your factory still works and doesn't break when you change models. Or you can test what happens if you switch to a cheaper, similar model. With evals, you can test everything from start to end and make sure it doesn't fail. So the first principle is full automation, the second is full review by humans, and the third is full measurement. Our product teams receive a report when they arrive at work, at 9 a.m. or whenever they start. It tells them how many times the factories ran yesterday, how many times they failed at a step, how often they had to stop and ask for human help, how many fixes were completed, and how customers responded to the agents telling them something was fixed. All these things become measurements so the team responsible for the factory can improve it. Management can also look at the results and see whether things are going well, decide to work on other factories, or improve existing ones. We have visibility into what's going on. These principles allowed us to develop our factories. I feel like we're still at day one, still building all these factories. Many are just starting out. We're going slowly, trying to automate and review as much as possible, and then improve the factories. It's really exciting because we can see the real work being done by factories.

Yeah.

Very cool. What are dark AI factories?

Dark factories were a term coined before software factories and AI. Basically, if you have a fully autonomous factory with robots working, you can turn off the lights and leave because there are no humans involved. It's a dark factory because no lights are needed. I think the term aligns with what I've been talking about when I say full autonomy. The only thing is, dark factories don't have to be dark, because we have a full review cycle and full observability into what's going on inside the factory. It's actually a glass factory: we can see it from the outside and watch it. The term dark factory is useful to make sure you're building fully autonomous factories that can work 24/7, 365 days a year. When you're on holiday, your factories keep working, your bugs keep getting fixed, and everything keeps running. That's the goal. That's what we want to achieve at Jotform.

Hmm. I've been learning a little through some research, and obviously a lot of people have this concern about AI in general. Does this mean we're all going to lose our jobs because of AI factories? Everyone's talking about AI replacing jobs. What do you feel about this?

I think that's a common concern. When I look at how we work at Jotform, probably three years ago everybody was writing code manually; there wasn't much AI. Two years ago, people started getting help from AI by going to a chatbot and asking questions. Last year, AI got better, and people started embedding tools in their code editors to get help from AI. When that happened, productivity probably doubled. But this year something changed: AI started being as good as humans at writing code. So now at Jotform nobody's writing code; everybody's micromanaging AI agents to write code. Productivity increased another level, to ten times: from 1x to 2x, then 2x to 10x. We started building these AI factories, and next year, when everything is run by AI factories, our productivity could increase tenfold or a hundredfold: from 1x to 2x to 10x to 100x. So why would you fire someone who is 100 times more productive? Last year, our support started being handled by AI. Our support team became the last step if the AI failed to answer customers, and they reviewed what the AI was doing and improved it. We didn't let any support people go, and we're not letting anybody go. The goal is that we're producing more now and are much more productive. When I have these superpowers, why wouldn't I use them? If I can do 100 times more, I'll do 100 times more instead of letting people go and doing less. We have millions of users and customers who need so much from us, and we're becoming more productive. It's more exciting for me and our employees. I think most of the time, companies were already deciding to lay off their workforce and then used AI as a reason. We still need humans because AI is just automation. Someone needs to take responsibility for the work AI does. Even when AI makes us 100 times more productive, we still need people to design, maintain, tweak, and fix these factories, address bottlenecks, review the work AI is doing, and improve things. Some people think writing code was a craft and that we enjoyed it. But as people grow in their careers at Jotform and other companies, they often stop writing code. When you become senior or a manager, you stop writing code. I stopped more than 10 years ago, and recently I started writing code again because I can ask AI to do things for me. I'm seeing more and more people writing code, including people who aren't technical and don't know how to code. We didn't let anybody go; we increased the number of people building things. It's about building stuff, and we're building more. Nontechnical people now have the freedom to build things. It's really exciting. I think it's going to be the opposite: people are becoming more productive, and we need more people to take advantage of this leverage and these superpowers. AI cannot take responsibility. For example, as CEO and founder, I'm responsible to my customers. AI cannot take that responsibility from me. I'm responsible for making sure the millions of forms our customers have with us work all the time. I'm responsible to them, and I can't even give that responsibility to my employees. Our employees are responsible for the work AI does in their areas, so they are also responsible to our customers. That responsibility won't be taken over by AI. We'll still have it, but we'll become much better at our jobs because we have these superpowers.

Yeah.

No, I agree. People always— I remember the Steve Jobs reference that computers are the bicycle for the mind. I jokingly think I coined the term 'jet-fueled rocket pack on a motorcycle,' because it's crazy what you can do with AI. That doesn't necessarily mean people can't continue to do their jobs. I really agree with you that it depends on the company. A lot of people care about their employees and want them to do better. It comes back to what you want this to do for you guys. Going further on this topic, how does one actually design AI factories? I remember when I first interviewed you years ago—it's been three years, I think.

Right, because I was a guest on your podcast.

Yes, exactly. And then we did a podcast together.

Yeah, exactly. Promoting his book, Automate Your Busy Work, getting it on Amazon.com. You coined the term 'automation flywheel' in that book. What is an automation flywheel, and how did it inspire your approach to AI factories?

So, Automate Your Busy Work—if you look at page 21, basically, right? I'll share it. I have a digital version. Let me share the automation flywheel. The automation flywheel is about turning busy work into automated systems so you can use the time to do less, achieve more, and save your brain for the big stuff. That's the subtitle of my book. The way you achieve that is like a flywheel: the more you do, the more you're able to do. The first step is to take the time to understand your work, understand your workflows, and map them out. In an AI factory, you have all these agents. When you do your work, you have tasks, and to automate your work you need to divide your workflows into separate tasks, understand those tasks, and then conquer them by designing and implementing automations using tools and AI. When I wrote the book, there was no AI, so it's kind of old, but the principles of the automation flywheel apply even more in the AI age. It just makes things so much easier. The automation flywheel can be achieved by building AI factories. The last step is what I'm talking about when I say review, iterate, measure, and monitor your systems. You're automating things slowly at the beginning and turning them into factories or systems. These automations save you so much time that you can achieve more, do more, and automate more. At some point, you stop doing the job yourself and become the manager of your automations and systems. That's what I described in the book, and it's exactly what AI factories are doing for us now at Jotform. Instead of doing the job, instead of fixing that bug, we're designing a factory that can fix the bug. This is what I call systems or factories; it's the same thing. It works really well in the age of AI, and it's really cool to apply the automation flywheel in a different age, when we have the incredible powers of AI that can do things autonomously. While I was writing the book, it was difficult to find examples and tools because there weren't enough. While I was building Jotform, my goal was always to automate what happens after a form submission. When someone submits a form, all these different things happen. How can we automate each step and give those powers to our customers? A document might need to be signed, data might need to be sent to Google Sheets, or forms might need to be put in an app and shared. We were helping people with all these different steps. This also applies to our product: how can we help people automate their work and build factories for them? That's what we're doing right now at Jotform, building factories for our users and giving them products like Jotform Workflows, Jotform Apps, and other tools.

Nice. Yeah, even for me as an AI fan and an automation fan originally, it's changed so much. A couple of years ago, people doing automation without AI seemed like wizards. Now people think you're a wizard when you're doing AI stuff. Your flywheel concept gets superpowered by the ability to spin up these automations so quickly with AI. What are some examples you've seen at Jotform and other companies of AI factories being spun out? I heard something about a newsletter. What's been happening on your end?

Yeah. One ambitious goal we have is called the translation factory.

Nice.

It's not complete yet, but I have this vision that whenever we change something at Jotform—say there's a blog post, a new page, or a product change—the translation factory runs, and within minutes we have it translated into 200 different languages. We have Jotform users in over 200 countries, so we should be able to translate everything into all languages instantly. One of the things we have at Jotform is a product culture of constantly releasing things. Every month we release improvements, new products, and new features to our users. Jotform newsletters have huge open rates, over 30%, and are sent to millions of people because every month we announce something incredible to our users. This is ambitious, but we've been doing it for years, and it helps keep us on our toes and make sure we're constantly releasing and building new things for our users. But the newsletter is sent to millions of users in English. Even someone using Jotform in Italian receives it in English. I dream that one day we'll prepare the newsletter, and even if there are last-minute changes, it'll be sent in 200 different languages to everyone around the world. So the translation factory is one example. We always had a template team. We look at trends at Jotform, like what kinds of forms people create. Our template team looked at the trends and built templates for users, so when people need forms, they can use templates instead of building from scratch. We've been building this template factory for a year now, and it's getting good results. Many people are using the templates created by the factory. We didn't close down our template team; we still have the same number of people, but they're much more productive. They're now managing and improving our template factories, so they're busier than ever but much more productive. We also have a form widget factory. Form widgets are different things you can put in a form, like an appointment field or a selfie-taking field. We have hundreds of field types for our users, and we're constantly receiving requests. These are now being built by our form widget factory, and it's doing as well as our widget team. The widget team is now working on improving the factory. This is a pattern: every product team and every team at Jotform is building factories, then managing and improving them, and continuing to build more. They're much more productive as a result. I also did some research, and I'm going to share these examples with you. Gumloop has a software factory with agents that autonomously find, fix, and prove product improvements. The factory submits code for review. You can see that they built it and, over time, it started working all the time and constantly improving and fixing the product. They've seen huge improvements. They had a CPU problem, and their servers were overutilized. As they improved their code, CPU utilization went down to almost zero. Humans don't work at night or on weekends, and they get sick, but AI agents can make improvements 24/7. They can start with the biggest improvement and then make smaller and smaller improvements in the codebase. As a result, server utilization can go from 100% to almost zero. They have charts showing this.

And—right.

So, the next example is Uber. Uber has been building AI agents that improve their product. They have a video with screenshots showing that the factories they built can design and improve product designs. During the World Cup, they used A/B testing and quickly generated different solutions for different stadiums, improving their software. Humans can only do so much at a time, but if you deploy agents and factories in parallel, you can design software for different stadiums and do much more. There's a video with a better description; search for 'Uber Software Factory' on YouTube. Strive's AI factories have the best name: they call their agents minions. Minions are Strive's homegrown coding agents. They're fully unattended and built to one-shot tasks. They're fully unattended, just like what I described with factories. They call them agents, but I'm pretty sure they also have specialized agents that talk to each other. You can make a request to a minion, and they'll run around and fix things for you. Over a thousand pull requests are merged each week at Strive, completely minion-produced. While they're human-reviewed, they contain no human-written code. It's fully autonomous; even code reviews are done by agents. There's no way humans can do code reviews anymore. The amount of code produced by AI is so huge that even before AI, we were having trouble catching up with pull requests and code reviews. Now it's impossible for humans to catch up. But one of our principles is full review. Especially in the beginning, when you're building factories, you should review everything the agents are doing. Over time, you can turn that into random spot checks. Random sampling is an incredible tool: look at enough random sessions and you'll catch problems. This article talks about how they interact with the minions over Slack. The next one is Ramp.

Yeah.

So they built this integration factory. We built the exact same thing at Jotform, and we didn't even know about Ramp's integration factory when we built it. Our AI factory is now building integrations with other products. We already have over 100 integrations and separate teams for regular data integrations and payment integrations. These teams have been building integrations for a long time, so they know how to divide and conquer their work. Now they use the automation flywheel to divide their work into tasks, turn them into agents, and build a factory that can build the integration. That's exactly what Ramp did: they built integrations using a factory. They built custom agents and gave them cool names. The next one is a product called Factory. They have different case studies; this is the U.com case study.

Mhm.

What began as a way to consolidate tools has turned into a different way of running engineering. U.com now treats Factory as part of its core engineering platform, reviewing code, chasing down hard bugs, and carrying entire workflows on its own. Every piece of work that moves onto an agent gives the team back time and attention to spend on the next idea instead of the next chore.

Yeah, so, you know—

It opens up space for us to breathe and not have to keep chasing the next popular open-source project, with Droid, which is the name of their agent, I guess, handling the research and the long-running tasks. Our limited time goes to new things we have planned.

So the next one is Pursuit Ventures. They have two AI factories: a customer factory and a content factory. The customer factory looks into each churned customer story to understand what's going on and try to fix the problems. Content factories—I've seen this, and nobody wants to admit it, but everybody is doing this now. Everybody is building AI content factories. We even did this with our videos. We have different products and built feature directories where we show every feature, but the directories have videos. We have so many products and features that we're not able to build a video for each one. With Cloud Motion, which we talked about in the previous episode, we're now able to build these videos autonomously. We can tell Cloud Motion, 'Build me a feature video,' and it produces the content.

Cool.

That's pretty cool. At my own job, I'm the AI training and enablement lead, and I'm making a bunch of apps. An interesting factory people can make, in my context, is tutorials. I've made 2,000 or 3,000 tutorials. I trained my video editors on how to edit them and my social team on how to make screen recordings. I trained all that data into a skill on Claude, and it can now take my GitHub repo and make tutorials on the apps I'm building and deploying internally. That way, people can learn how things work without me needing to meet with them individually. That's one of those things where people say, 'Oh, it's going to remove my job.' Really? I was the one who figured out how to do that. There's this big bad bogeyman from corporatism that says you're going to remove your own job. Nowadays, since AI is this huge black box, people with good ideas are going to continue to be rewarded. If you're the person who came up with it, your boss is going to say, 'This is genius.' Why would you lose someone who's 100 times more productive?

Yeah, because they all—we all know the agents are just going to—if the agent has an issue, what are they going to do?

You know, they're not going to be able to fix it.

Right. This is the same thing with people talking about how this is the end of SaaS because you can now vibe-code your products instead of buying them. But let's assume you were able to vibe-code a product without bugs, server issues, or email problems. Let's say you did it perfectly. Who's going to maintain that? If the product is really needed, you probably need a full-time employee to maintain it. Now it's even more expensive than the product you were paying $30 a month for.

Yeah, and that's the thing. When people do that internal stuff, they have to make sure it's using resources they would have already hired for. If you have an internal software engineering team, it's reasonable to replace some work with AI-generated code, but your company needs to be big enough to justify it. The tokens have to make sense, too; there are all these other factors. I thought it'd be interesting to bring that up, but these are really cool examples. I guess, getting toward the ending part of the episode—

Personally, let me— I just have two left. Let me finish that up.

Yeah, yeah. I just wanted to keep time. All good.

Yeah.

The customer factory now collects reasons from buyer statements on the site, copy and onsite behavior, public reviews on channels, and competitor reviews. The owner approves the list, then retargeting ads answer each objection directly and are tested against a baseline. This is so much easier to do with factories. The last example is the defense factory by OpenAI. OpenAI has been building a cyber factory using its latest frontier models to find bugs. The PHP bug was one of them. Before a frontier model is available to everyone, it's used on open-source and other software to discover problems and bugs, giving people time to fix them. Agents are constantly finding and reporting bugs. With this automation, OpenAI has a limited number of employees, but with all these agents, they're able to do this at huge scale and discover problems in software.

Yeah. It's definitely interesting how AI is almost causing issues, but then it fixes itself. I really like the example you showed of the network being overworked and then going down to zero. I had a similar experience at work. I had an agent swarm stress-test my Cloudflare setup over a couple of days and fix the codebase. I told it to make everything work with a thousand people always on all the apps, stress-test it, and fix it. Then it was like, 'All right, 1,500 people now.' Wow. It's crazy. An AI factory is such a cool concept because it's taking the idea of the automation flywheel from your book and continuing to iterate on it through original human ideas that lead to more and more AI outputs. What are your final thoughts? What do you think would be the first step for somebody starting an AI factory, and any other closing thoughts?

I think it's not really difficult if you've been doing things with AI; you can build factories. It's one step at a time. You have to map out what you're doing at work. Whatever you're doing, replace each thing you do with an agent. Start from the beginning: what's the first thing you do? Turn it into an automation, turn it into an agent, then work on the second one and connect them. Now you're saving time, and you can use that time to add more agents. Over time, it's fully autonomous. It's incredible. We're seeing it work, and people are becoming much more productive.

Yeah, and I think it's pretty tool-agnostic as well. A lot of these tools work because the models are powerful. There are so many different things that work well. As we discussed with Muse the other week, I'm really enjoying being able to make my own autonomous setups with all these different tools. I get all these emails; it's filtering them, making tasks, coding, and coming up with sponsors I could probably get for my YouTube channel. It's constantly trying to do everything it can. I love it. With that being said, I really appreciate you chatting with us today about this topic. I think it's valuable, and a lot of people, myself included, learned a new way to use AI to the best of their ability. Thank you all for making the time as well. Please hit the like button, subscribe, and don't forget to like and review the podcast on Spotify and Apple Podcasts. The reviews really help, so we appreciate your time and hope you found something valuable in this episode. Thanks for watching, and we'll see you in the next one.

Bye, guys.

See you next time.

Stay Ahead with the AI Agents Podcast

Get the latest insights on AI agents, their future, and developments in the AI form industry.