[00:00] How to use Codex for free right now. What can a free AI coder build in about 90 seconds? A full landing page, then a working to-do app. No Codex plan, no heavy setup. [00:14] I ran both inside my agent OS, and the trick behind it isn't what you'd guess. Today, I'll show you how I run Codex for free inside my agent OS. It's just a couple of commands. [00:26] And at the end, I'll share one idea I haven't tested yet that could keep Codex building for hours. Let's get into it. First, the big picture. Codex is OpenAI's coding agent. [00:38] It's open source and it runs in your terminal. It plans the work, writes the files, and runs commands on its own. It reads your project, edits files, and runs code, all right in the terminal. [00:50] Why does that matter? Coding agents talk a lot. A long build can use up tokens fast and limits show up quickly. So a free way to keep going with a backup is a real help. Normally, you sign in with OpenAI to use it, [01:04] but Codex also lets you point it at a different provider. That's the door we're going through. Inside my agent OS, I send Codex through a free gateway called OmniRoot. Same Codex, same way of working, only the brain behind it changes. [01:19] And that means you can use a real coding agent without needing a Codex plan. Here's how that looks in my agent OS. There's a Codex tab right inside the dashboard. I type what I want into the chat, and Codex gets to work. [01:31] While it builds, I get a live preview. Next to that, there's a workspace where everything it makes is saved. Now, Codex isn't alone in my agent OS. Cloud Code is in there too, along with my other agents. [01:44] They share memory and context. So I can take something Codex made and hand it to another agent. I don't open Codex in one app and Claude in another. It all works together in my agent OS. [01:56] And there's nothing new to learn. If you know Codex, you already know how to use this. Okay, quick pause before I show you the next part. If you want my setup, my agent operating system, join the AI Profit Boardroom. [02:08] The full agent OS zip file is inside ready to install We built a complete 30 roadmap to go with it there a full guide on Omniroot and how to get the most out of it And there are full coaching calls every week So if you get stuck [02:22] connecting Codex to OmniRoot, you can ask and get unstuck. That's how you take what you just learned and get it running in your own agent OS. Link in the description or go to AIprofitboardroom.com. [02:36] Now, why OmniRoot? It's a free open source gateway with an MIT license and you run it yourself. It gives your coding tools one single address to talk to. Behind that address sit more than 350 AI providers. [02:50] Over 90 of them have free tiers. And dozens are free forever. You paste in a key or sign in, and that provider is ready. Here's the magic part. Free providers run dry. [03:02] They get rate limited. That's normal. So when one hits its limit, OmniRoot moves your request to the next healthy one. Codex keeps building. It also works with other coding tools like Chord Code, Cursor, and Climb. [03:16] Omniru even comes with a dashboard. You can see your providers, check how healthy they are, and look at your usage. So you're never guessing what's happening behind the scenes. And in all my testing, it hasn't failed on me. [03:28] Here's a real test I ran inside my agent, Arrest. I asked Codex to build a beautiful landing page for an SEO agency with a super basic prompt. It took about 60 to 90 seconds, and it looks sleek with nice colors and a simple layout. [03:43] Is it Fable 5 level? No. But for a basic prompt, it's not bad at all. Now, you might ask, why not just run a free model on your own computer? You can. With Olamer, you can download a free model and plug it into Codex. [03:57] But from what I've seen, the results are nicer from these cloud providers. Local models can use up a lot of your computer's power, which slows everything down. With this setup, nothing slowed down for me. [04:09] The models run in the cloud, and Codex stays light. So you can run this on a basic laptop. You don't need a fancy setup. So, how does the routing work? Codex sends its request to OmniRoot. OmniRoot picks a provider. [04:22] If that one fails or runs dry, it hops to the next one. This matters to me because when I used GPT 5 in Codex I ran out of tokens really quickly even on my own plan That one reason I stopped using Codex by itself Let me show you one more test I asked Codex to build a beautiful to list app [04:42] It built it, and it actually works. It looks really cool too, and I could watch the live preview while it was building. Let's compare the old way and the new way. In the old way, every Codex run counts against OpenAI's usage limits, and you're locked into one provider. [04:57] In the new way, it's the same codex, pointed at one local gateway. So you can keep building for much longer. This can even run alongside what you already use. Say you've got the codex app on your computer. Keep it. [05:10] Then use the codex inside AgentOS, connected to OmniRoot. If one runs out of tokens, switch to the other. Now, the setup. People hear this and think it's advanced. It's not. [05:22] First, you install the gateway. One command starts up OmniRoot. Then, one more command writes the free profile for Codex. That's it. Two commands, and Codex routes to multiple free providers. [05:34] After that, inside my agent OS, it's one click away. I'm not going to read the exact commands out loud, because OmniRoot updates a lot, and the docs keep them current. You'll also add your providers in the OmniRoot dashboard. [05:47] Let me clear up two things I hear a lot. First, does Codex only work through OpenAI's own limits? Not with this setup. It's the same codex, only the backend changes. [05:59] Second, doesn't free AI always get rate limited or stop halfway? Honestly, free tiers do have limits, and each provider has its own rules. No single free provider is bottomless. [06:11] That's why the fallback matters. When one caps out, your run moves to the next one on its own, so it can make it to the finish. Just check each provider's terms. Now, if you want to use fewer tokens, we've got a token-saving playbook. [06:24] You can combine free, open-source projects. RTK trims long command outputs so your agent reads less. Caveman makes replies shorter. Ponytail keeps the code lean. [06:36] Omniroot even has compression built in and says it can trim 15-95% on eligible work. Those are their numbers, so test it yourself. And that matters a lot in Agent OS where I got lots of chats and agents running at once Now the idea I promised Codex has a goal mode You give Codex a goal and it loops turn after turn until it decides [06:58] the goal is done, or it runs out of its token budget. Here's what I wonder. With OmniRoot's auto fallback, could that loop keep going for hours? I haven't tested it, so I'm not promising it works. Goal mode might act differently when it runs through a gateway, but it's the first [07:14] thing I want to try next. One more thing I love is the workspace in my agent OS. Everything we build is saved there. I can open it in a new tab, I can save it, I can copy the code, or I can switch [07:26] to the preview and test what I've built. So where is all this going? Here's how I see it. The agent and the brain are becoming two separate pieces. Codex is the agent. Omniroot lets you swap the [07:39] brain behind it. New models keep showing up and you can try them without changing how you work. Learn the agent once. Swap the brain when something better comes along. And keep it all in one place, like my agent OS, so your agents share memory and context. [07:55] There's a window right now where most business owners haven't figured this out yet, and that window won't stay open forever. Getting ahead on learning these tools starts now. Inside the AI Profit Boardroom, you get the full agent OS zip file ready to install, [08:10] plus a complete 30-day roadmap to go with it. You also get daily tutorials, so you learn something new every day. Four coaching calls every week, where you can ask your questions. [08:22] A prompts library, so you're never starting from a blank page. And the member map, so you can meet people near you who are building with AI agents. Link in the description or go to AIprofitboardroom.com. [08:34] If you want the full process, the SOPs, and over 100 AI use cases like this one, join the AI Success Lab. It's our free community. Links in the comments and description. You'll get all the video notes from this episode, plus access to 95,400 members. [08:51] The AI Success Lab is free to join. It's a place to learn AI alongside other people, share what's working, and ask questions. The video notes from this episode put the steps from today's video in writing, [09:03] so you can follow along at your own pace. Come on in, and I'll see you in the next video.