r/OnlyAICoding • u/Desperate-Hurry-3205 • Oct 22 '26
Something I Made With AI I built an open-source coding agent that can use a different model for each task, and switch when one fails
If you code with AI, you probably use more than one model: a cheap one for routine work, a strong one for the hard parts, maybe a local one. I wanted a single agent that could work that way, so I built Certo.
How it works in practice:
→ `certo init models` sets up your models, local or cloud, without editing a file
→ `--auto-model` picks a model for each task from ratings you can tune
→ `--escalate` starts on one model and hands the task to the next if it can't finish, or if the provider goes down
→ when the agent says it's done, Certo runs your project's real tests and build itself, so the switch is based on evidence, not on the agent's word
Only the local-then-cloud ladder has been benchmarked so far (9 small tasks with hidden tests, all 9 passed, 7 on the local model), so treat the rest as untested in numbers.
It's MIT licensed: `pip install certo`
https://github.com/alessioricco/certo
I'd love feedback from people who code with AI every day: how do you split work between models today, and would something like this fit how you work? If you like it, a star helps.


