How I Use AI as a Senior Developer (and Stopped Wasting Tokens)
I don't chat with AI. I hand it jobs. Here is the setup I use every day, what it costs, and the habits that matter more than any tool.
Video not loading? Watch the reel on Facebook.
A single working session with my AI agent runs 200 to 700 messages and 100 to 360 tool calls: reading files, running commands, deploying, checking the result, fixing, deploying again. On top of that, the agent runs side jobs I never see, like summarizing old context and writing session titles.
For a long time, every one of those calls went straight to a provider on its own key and its own bill. The model I wanted writing a payment integration was also writing chat titles. I couldn't answer a simple question: what actually ran, on which account, and who got billed?
Cost was the symptom. The real problem was that nothing decided which model did which job.
The setup in one picture
Me (Hermes agent)
│
▼
OmniRoute ── local gateway: one credential, one log
├──▶ Claude account (hard problems)
├──▶ Codex account #1 (coding)
├──▶ Codex account #2 (rotation)
└──▶ free / cheap routes (chores)
- Hermes Agent is the agent I talk to. It has memory, skills and tools.
- OmniRoute is a self-hosted gateway between Hermes and my AI accounts: one endpoint in, many accounts out. I wrote about it in Stop Overpaying for AI Tokens.
- Everything runs on my own machine. No hosted middleman.
What it looks like in numbers
Over 30 days the gateway handled 1.2 billion tokens across 12,891 requests. At list price that would be about $915. In one recent week, three out of four requests went to the cheaper, high-volume account, and Claude handled the quarter that needed real reasoning. I never decide that per request; the routing policy decides it once.
Six habits that matter more than the tools
None of these need special software. My agent does most of them automatically, but you can do every one by hand in ChatGPT or Claude.
- It reads my memory before I say a word. A short "who I am and my rules" note, plus a notes vault it checks first. I never re-explain a project.
- What works becomes a skill. A short file with the steps, the commands and the trap I hit last time. It loads only when needed.
- Two coding rules, always on: use the simplest thing that works, and don't overcomplicate. AI's default is to overbuild.
- I delegate, I don't type. Small workers do the coding on the cheap, fast route.
- It has to show the receipt. After a deploy it checks the live site. "Done" without proof doesn't count.
- Long sessions get compressed, not abandoned. Old turns get summarized, the task definition is protected, and the session keeps going.
Do this today, on any AI: keep one file called "about me and my rules" and paste it at the start of every chat.
The rules I route by
- The expensive model only works when I'm in the room. Titles, summaries and background checks go to a cheap model.
- Background workers get the fast route, not the smart one.
- Never switch models mid-task. Switching throws away the warm cache and re-sends everything.
- The config file decides, not my mood. No burning the good model on a chore at 2 AM.
Start small
Don't copy my whole setup on day one. Start with one agent and one AI account, and give it one real job with a visible result. Add a gateway like OmniRoute only when you have several accounts, want one usage log, or need failover.
One honest note: this setup does not give you free tokens. It gives you control, visibility and failover. If you have one account and mostly chat, most of it is overkill, and the six habits above are what you should take.
Get the full guide, free: How I Use AI as a Senior Dev. 11 pages with the exact setup steps, the prompts I used, and everything that broke along the way.
New to AI? Start with the free AI Starter course first.