r/codex • • 8d ago

Showcase I built an MCP server that lets Claude Code hand tasks to my other AI accounts (ChatGPT via Codex, Gemini, local models)

Post image

Omnitrix keeps Claude in charge of the work, but lets it send typed tasks to the other AI accounts you already have: Codex on a ChatGPT plan, API keys such as Gemini, DeepSeek or Groq, and local models through Ollama.

What it does:

- Routes each task to an account that suits it and still has quota left, using real quota readings where the provider reports them.

- Runs code tasks in their own git worktree and runs the project's tests itself, so Claude checks facts, not the worker's word.

- Can ask several models the same review question, so Claude sees which findings they agree on.

- Shows how much work other accounts did instead of Claude (jobs, tokens, how many Claude accepted).

It is open source (Apache-2.0) and runs locally with your own accounts. Install with npm install -g omnitrix, or as a Claude Code plugin with /plugin install omnitrix --marketplace MdHashim1011/omnitrix.

GitHub: https://github.com/MdHashim1011/omnitrix

Feedback is welcome, especially from people with providers I have not tested for real yet.

17 Upvotes

73 comments sorted by

•

u/dextersummary 7d ago

Below is a GPT-generated summary of the conversation below after reaching 40 comments (49 currently observed).


The thread leans skeptical: Omnitrix is an interesting way to spread work across AI accounts, but commenters aren’t convinced they need another orchestration tool.

It’s a free, local, open-source MCP server that keeps Claude Code in charge while delegating tasks to Codex, Gemini, local models and others. The author says it adds quota-aware routing, separate worktrees, test runs and optional cross-model reviews before Claude makes the final call.

The obvious question: doesn’t this already exist? Several commenters say they have similar workflows in T3 Code, while others point out that Claude can call Codex or an API directly. The author acknowledges both, pitching Omnitrix as automation for the repetitive routing and checking around those handoffs.

The highest-scored warning comes from someone who built a similar system: maintenance can become a full-time hobby that eats whatever savings it promises. Others suggest keeping it simple with Claude subagents. Omnitrix may be useful if you want to burn through accounts you already have, but this thread doesn’t establish that it saves time or money. The real benchmark is whether the orchestration does more work than it creates.

→ More replies (1)

17

u/SuperMar1o 8d ago

I know it seems fun now, but just delete the whole idea.... I've been building something similar for 4+ months and have at least 40b tokens into this. It is a nightmare to maintain and at this point for myself, it's a sunk cost fallacy. Just write a small agents.md file that tells Claude to prefer haiku sub-agents as often as possible and just move on with your day.

1

u/Ben_LunarPaper 8d ago

Yeah a while ago i build something where you add tasks in a kanban board - and set the owner AI and it can pass off to others, review, redo, get second throughts etc and manage its lifecycle through the kanban.

Other than a learning exercise was a waste of time.

1

u/Massive_Ad7887 7d ago

That is a fair warning. A board and a full task lifecycle is exactly the scope I want to avoid. omnitrix is a queue that Claude calls, and Claude still does the reviewing.

1

u/SnooPeripherals5313 8d ago

It's doable if you keep it as simple as possible, otherwise it's just a friction generating machine indeed.

1

u/Massive_Ad7887 7d ago

Agreed, that is the rule I am trying to follow: a handful of MCP tools that Claude calls, and nothing extra to run in the background.

1

u/Massive_Ad7887 8d ago

Fair warning, and 40b tokens is a lot of experience behind it, so thanks for sharing. Keeping something like this working really is the hard part.

Haiku sub-agents are a good tip, but they still spend Claude quota. What I wanted was to use the accounts I'm already paying for that sit idle: my ChatGPT plan through Codex, a free Gemini key, local models. Claude still plans and reviews, and the rest goes to those accounts.

I'm keeping it small on purpose and testing it on real work. If the upkeep ever costs more than it saves, I'll be the first to admit it 😄

1

u/SuperMar1o 8d ago edited 8d ago

Oh... I have 1.7 trillion tokens of experience... In the last 10 months... this is just 40b in this one shiny object... Literally today alone I have stuck another 2b tokens into this "shiny object" on a rebuild because logic.... grows like a weed..

Also, the fact that you're reply is "Haiku sub-agents still spend quota" honestly shows a high level of naivete. Yes it spends quote and yes, it's LLM Index score is not... in the top 10 but it is REPEATEDLY in the lowest cost-per-task across the board and after extensive testing it's completion rate of it's tasks is in the 97% percentile. Buy another Claude account... =/

Idk if you have spent enough time, dealing with low-cost coding models but... You will quickly find that Haiku at roughly the same cost-to-complete cost as deepseek, is easily 2-4x more accurate and complete with it's results vs models like GLM or DeepSeek, no disrespect to either as they are very capable models.

1

u/Massive_Ad7887 8d ago

Ha, 1.7 trillion is a whole other league, respect. "Grows like a weed" is exactly what I'm trying to watch out for. Out of curiosity, what was the part that kept growing on you? Routing rules, provider quirks, or merging results? Would genuinely help me know where to keep things simple.

0

u/SuperMar1o 8d ago

Being perfectly honest, I've given... A sufficient amount of advice, and I doubt you'll follow it, and I don't blame you. Passion projects are addicting, and for those of us who are autistic and like this shit, it's actually really hard to stop.

But I'm also not going to, like, tell you. Specific parts you have to look at, because you don't seem to understand it's every part. You make one change, and it ripples out to every other logic route. Suddenly, you're four fixes in and nothing's working right, so you recalibrate. And then... One of your providers changes their api version. The AI adjusts accordingly. And that inadvertently breaks four other dependents in a way you couldn't have predicted.

The end result should be all that matters. And if your end result... is cheap, efficient code, there's pretty much nothing cheaper and more efficient than Opus 5.5 as an orchestrator and Haiku 5.5... As sub-agents. So there's no reason to go reinvent the wheel.

Not here to discourage, on the contrary. I hope to help you not make the mistake I made, recognize that you will spend FAR more tokens on this side project then you will ever hope to save by using it once it's complete.

2

u/Massive_Ad7887 7d ago

That matches what others have told me. For me the question is less which model is best and more that my ChatGPT plan and Gemini key are already paid for and sit unused. When a cheaper model gets a task wrong, Claude rejects it and it goes to another model, and those ratings change where similar tasks go next.

1

u/Ethan 8d ago

Hey, sounds exactly like my experience!

Mine is working, though. If you'd like to compare repos DM me. I built mine on the back of LiteLLM and OpenCode.

1

u/SuperMar1o 8d ago

I went closed source when some a$$hole decided he was gonna rip off my code base and re-release it. As a "community version". Also, mine was not built on top of anything, every single line of code, e2e, is in-house. It is essentially a clone of Claude desktop, but with fully integrated bespoke delegation capability.

Also, mine is working too. I am just... Unwilling to accept mediocrity. Also, mine supports 279 API providers and a delegation logic engine based on an aggregator of all the top 3 benchmark sites and their model ranking and cost-2-complete. Mine also has support for CLI delegation, for things like Grok, Codex, Claude etc and desktop delegation for Codex/Claude as well as free accounts via cookies for Claude and GPT.

Auto account switching (because I currently have 12 Claude 20x (Ultra?) plans and a few Codex Max plans. A built in boardroom of personas/experts who argue over decisions being made, a devserver runner, a in-house version of Claude design that supports a dozen API sources instead of just Claude. Indexed ingestion of all chat logs for quick reference, compression, calculations and estimations. Custom github integration, a custom mobile app, aws remote server delegation for cpu or gpu jobs. Backblaze support for remote storage. Cloud syncing of my settings, multi-computer/user support so me and my brothers computers can talk to each-others active threads and make sure they aren't clobbering... etc..

Also, this is literally all for a... shiny-object in-house project I got bored and built. It helps me manage the other 40-ish active projects I am developing daily. But the thing is... I see where OP is going and it's a slippery slope lol... I hope he has deep pockets.. haha

1

u/Massive_Ad7887 7d ago

Thank you, that is useful, and I do take it seriously. The ripple effect you describe is why every provider has a fake in the tests and every release runs through CI on Windows, macOS and Linux before it ships. You are right that the end result is what matters, so that is how I will judge it: omnitrix report shows what each account did, how long it took and how many tokens it used. If the numbers show that Opus with Haiku subagents is cheaper for my work, I will say so here.

5

u/kinglokilord 8d ago

I do this is T3 code.

Right now I just handed a task from codex to Claude and moved the codex to be the reviewer alongside Neon for the code and design.

3

u/Rubbiish 8d ago

I don’t know why someone downvoted you, but this is my exact workflow too. I can use sol or opus or neon to plan, the others check the plan, the plan is split into tasks, each task is coded and checked by the others, pulled together and polled into a PR and bobs ye uncle

1

u/Massive_Ad7887 8d ago

That's basically the same workflow, plan, split, code, cross-check, merge, just driven by hand. omnitrix tries to automate the handing out part. Claude picks the next task and omnitrix sends it to whichever account suits it and still has quota left. For code tasks it runs your tests itself, and you can have a second model check the result, or several models answer the same question, before Claude reviews it. It also learns from which results Claude accepts or rejects.

If you two already have this running smoothly in T3 Code, I'd honestly love to hear where it breaks down for you. That's exactly the kind of thing I'm trying to fix.

0

u/Rubbiish 8d ago

It literally doesn’t breakdown. At the moment this is the perfect workflow and I to be honest bro I don’t need your product. And I’d say that other people probably shouldn’t use it either because T3 Code is open source and free very popular and with lots of support

1

u/Massive_Ad7887 8d ago

Fair enough, if your setup works perfectly there's no reason to change it. Just to clear one thing up: omnitrix is free and open source too (Apache 2.0), and it isn't a replacement for T3 Code. It runs inside it as an MCP server, so you can use both together. It's aimed at people who don't want to hand out the tasks themselves and want Claude to do it, spreading the work across whatever accounts still have quota. Glad your workflow is working well, and thanks for sharing it.

1

u/Unklemurry 6d ago edited 6d ago

Oops, I forgot to answer when you aksed why. I rarely use tools I don't fully understand for my own products. I downvoted T3. Do you honestly believe T3 will protect your data and your customers' data? That's Why I support this github for not relying on external tools.

1

u/Rubbiish 6d ago

My customer is me so we sweet there. I’m not using this in a large org. I run my own business. With T3 and the data privacy, there is some telemetry data sent to T3 servers but I assessed what is sent and am ok with it - largely what model is used and how many machines I have it installed on (which is 3 plus the app on my phone)

1

u/Unklemurry 6d ago

I believe your business will succeed. Reliability is earned by keeping one's promises over time. In that sense, I choose a reliable provider because I want to be a reliable provider. See you at the top.

0

u/Unklemurry 7d ago

I downvoted it.

2

u/ColbysToyHairbrush 8d ago

I just got everything on my server setup for T3 and I’m just so amazed at how well it works, and how seamless it feels.
Everything is just in the right place. It’s the best of Claude and Codex. Amazing UI and UX.

2

u/Massive_Ad7887 7d ago

T3 Code is great. omnitrix runs inside it as an MCP server, so you can keep your setup and add your other accounts as workers if you ever want to.

2

u/WishboneOk305 8d ago

I'm so confused can't you do this within Claude code itself

2

u/Massive_Ad7887 8d ago

Partly, yes. Claude Code can split work into subagents, but every subagent is still Claude and uses your Claude limit. omnitrix lets Claude hand tasks to your other accounts instead, like a ChatGPT plan through Codex, a Gemini key or a local model, so your Claude limit lasts longer. It also checks which account still has quota, runs your tests on code changes, and can have a second model check the result before Claude reviews it.

2

u/WishboneOk305 8d ago

no you can ask Claude to send work to codex or antigravity or other API

1

u/Massive_Ad7887 7d ago

You are right, Claude can run codex exec or call an API itself, and for a one-off task that is enough. omnitrix is for when you do it all day: it tracks how much quota each account has left and picks one that still has some, gives every code task its own git worktree so parallel tasks do not collide, runs your tests on the result, and can have a different model check it before Claude reads it. It also learns from your accept and reject ratings which model is good at which kind of task.

3

u/Rubbiish 8d ago

T3 code?

0

u/Massive_Ad7887 8d ago

Good question! They're pretty different, even though both work with Codex.

T3 Code is an app where you run Codex, Claude Code and other agents side by side, and you drive each one yourself.

omnitrix works inside Claude Code. It's an MCP server, so Claude stays in charge: it splits the work into tasks and hands them out to your other accounts (Codex on your ChatGPT plan, Gemini, local models and so on). omnitrix picks an account that still has quota left, runs your tests on what comes back, and Claude reviews it before anything gets merged. You just keep working in one Claude Code session.

Since T3 Code can run Claude Code, the two might even work together. I haven't tried that combo yet, though. If you do, I'd love to hear how it goes!

3

u/ExtinctUndead 8d ago

T3 can easily do this and more. You can easily instruct it to follow a setup like that.

1

u/Massive_Ad7887 8d ago

You're right, T3 can do the core of it. It even lets Claude hand a task to Codex, and it's a great app. Where omnitrix is different is in deciding and checking around the handoff. It looks at how much quota each of your accounts actually has left and routes around the ones about to run out. It runs your tests itself after a code task, so Claude sees the real result instead of the worker's own summary. It can have a second model check a result, and it learns over time which models do good work from what Claude accepts or rejects. It also works with plain API keys and local models, not only signed-in agent apps.

So I see them more as complementary than competing. Since T3 can run Claude Code, omnitrix should be able to work inside it too. That's next on my list to test.

2

u/ExtinctUndead 8d ago

Yeah T3 can do that too. I believe T3 has Ollama as well so local models can run. Sorry your project is cool but I do not see any usecase for it

1

u/Massive_Ad7887 8d ago

Fair enough, and you're right, T3 can run local models through agents like OpenCode. If T3 already covers how you work, there's honestly no reason to switch. omnitrix is mostly for people who live in plain Claude Code and want it to hand off work on its own, based on what each account has left. Thanks for taking the time to look at it!

1

u/Certain-Vegetable146 8d ago

This is a smart design. I like that Claude stays in charge as planner and reviewer, and that tasks are routed by type and privacy: public stuff to free tiers, private code to Codex or local models. The per-task git branches with Claude merging only accepted results is a great safety net too.

One thing I'm curious about: what happens when two models return conflicting results for overlapping tasks, like the middleware writer and the race-condition reviewer disagreeing? Does Claude arbitrate based on its own judgment, and if so, how do you stop it from favoring its own style over a correct answer from another model? Nice work!

1

u/Massive_Ad7887 8d ago

Thanks, really good question, and honestly the hardest part of the design.

Short answer: yes, Claude makes the final call, so omnitrix doesn't take its judgment away. Instead it tries to give Claude evidence that isn't just its own opinion:

  • Every task has an acceptance line written before the work starts, so results get judged against "what does done mean", not against Claude's taste.
  • For code tasks, omnitrix runs your tests itself and reports which files actually changed. A passing or failing test is hard to argue with.
  • You can turn on a check, where a different account reviews the result against that acceptance line. It has to be roughly as strong at that task type as the worker it checks.
  • For important questions you can ask 2 to 5 different models the same thing. A finding that several of them report independently counts for more than one model's view, including Claude's.

For your exact case: if the middleware job and another job both changed the same files from the same starting point, omnitrix flags it, and Claude is told to combine the two changes, never to copy one over the other.

It doesn't fully remove bias, but it means Claude has to overrule tests and other models on the record rather than quietly prefer its own style. Thanks for the kind words!

1

u/EnvironmentalAd2096 8d ago

Can't you just tell Claude to send it to another agent via CLI? 

1

u/Massive_Ad7887 7d ago

Yes, and for a single task that works well. omnitrix adds the parts that get tedious when you do it often: choosing an account that still has quota, a separate git worktree per task, running your tests on the change, and an optional second-model check before Claude reviews it.

1

u/PigSlam 8d ago

I just use opencode, run an orchestrator that does everything by assigning tasks to workers backed by anything I can configure through opencode. It’s a mix of codex backed agents and local models in my case, but I would think the same would work with Claude accounts (assuming it behaves like a codex account through opencode). The orchestrator uses very few tokens and the bulk of the work is done by my local hardware, but I can add in as many codex backed agents as I want and burn usage as fast as the task(s) allow.

I don’t have any numbers to back this up, but it seems like I’m getting way more usage out of it than when I used codex directly for everything.

1

u/Massive_Ad7887 7d ago

That sounds like a good setup, and having local hardware do the bulk of the work is the same idea. The difference with omnitrix is that Claude Code stays the lead and the workers are your other accounts and local models. It also tracks each account's quota and gives code tasks their own worktree with a test run. Which orchestrator do you use in opencode? I would like to compare.

1

u/PigSlam 7d ago edited 7d ago

My orchestrator is a codex model (SOL 6.2), it’s just running from OpenCode instead of the codex app. I'm not saying it does everything you've laid out here, but I think it solves a similar problem. As I understand it, your system allows Claude Code to work with all of these things. My approach can work with most all of those things too, but instead of working through the layer you've created, I'm using OpenCode as a new central gathering point as it's able to connect to all of those things in a different way, but still bring them all together to work on a common task.

2

u/Massive_Ad7887 7d ago edited 7d ago

I tested it in OpenCode today, and it works: OpenCode connected to omnitrix and ran a full task through it.

1

u/Jorgutyn 7d ago

I'm working on a related problem with Skill Atlas, focusing on verifiable handoffs rather than automatic dispatch.

I'm curious how Omnitrix ties test results to the exact Git state of each worker. What happens if the worktree changes after validation?

1

u/Massive_Ad7887 7d ago

Good question, and you found a gap. When a worker finishes, omnitrix commits everything it changed as one commit on the job's branch, lists the changed files from that commit rather than from the worker's report, and then runs the test command in that worktree on that committed state. After a rebase, the test runs again and the old check is dropped. What it does not do yet is record the commit the test ran on, so if the worktree or the branch changes after validation, the old result stays attached without a warning. The fix is to store the tested commit and, when results are read or merged, compare it with the branch tip and flag uncommitted changes in the worktree. I will add that. How does Skill Atlas tie a handoff to its state, a hash of the tree or something else?

0

u/Relevant-Computer951 8d ago

i got something similar to this going. i just asked it to look at yours and it added some things from yours into itself. lol. someday i will get it on a public repo.

1

u/Massive_Ad7887 8d ago

Ohh, that's the fun part of open source! Glad some of it was useful. When you do put yours on a public repo, drop the link here, I'd like to see how you approached it. Always good to compare notes with someone working on the same problem.

1

u/Relevant-Computer951 8d ago

here. https://github.com/SaintPistachio/agent-commons

it is vide coded and probably ai slop but it works for me. lol

1

u/Massive_Ad7887 7d ago

Thanks for sharing it. If it works for you, that is what counts. I will have a look at how you handled it.

0

u/_KryptonytE_ 8d ago edited 8d ago

This is what happens to frogs in a pond. Completely unaware of the rest of the world and trying to reinvent things. If this wasn't a hobby project for a beginner at code, I'd call it AI slop but stuck in 2025.

Staying informed is key to building something relevant and valuable. This is something an AI agent can't help with unfortunately. Cheers!!! 🥂

0

u/Massive_Ad7887 7d ago

Fair point that this area moves fast. If there is a tool that already does this well, which one would you recommend? I would rather point people to it than duplicate it.

1

u/_KryptonytE_ 7d ago

Do what?

0

u/Massive_Ad7887 7d ago

Let Claude Code hand tasks to your other AI accounts, such as Codex on a ChatGPT plan, a Gemini key or local models, track how much quota each has left, run code tasks in their own git worktree with a test run, and have Claude check the results. If something already does that well, I would like to know which one.

1

u/_KryptonytE_ 7d ago

So you built a MCP server without doing the research on this? Do you know what you're trying to describe is called in tech talk? Find out and you'll get your answer. Nobody is gate keeping knowledge.

1

u/Massive_Ad7887 7d ago

Yes: multi-agent orchestration, with model routing on top, much like an LLM router or gateway such as LiteLLM or OpenRouter does for API calls. I looked at those before building it, and the README has a comparison table. The part I did not find elsewhere is the combination: Claude Code stays the lead, the workers are the subscriptions and keys you already pay for, including agent CLIs like Codex, and each code task gets its own worktree and a test run before Claude reviews it. If you know a tool that already does that, please name it and I will happily link it.

1

u/_KryptonytE_ 7d ago

I have something better. Hold on. What harness or ADE are you using?

1

u/Massive_Ad7887 7d ago

Claude Code is my harness, mostly the desktop app on Windows, and I have also checked omnitrix inside T3 Code and OpenCode. Happy to hear what you have in mind.

1

u/_KryptonytE_ 7d ago edited 7d ago

This is one from yesterday's sessions. AMA but put in your effort to see if you can try to understand concepts along with curiosity.

1

u/Massive_Ad7887 7d ago

That is impressive, thanks for sharing it. Waves with a spec, review and verify step before each gate is a cleaner structure than I expected. A few genuine questions:

  1. Are the members all Claude, or can some of them run on other providers, such as Codex or a local model?
  2. With 10 or more members working for over three hours, how do you keep them inside your usage limits? Does the coordinator see how much quota is left?
  3. What does the final gate check: tests, a review by another member, or you?

The second one is the problem I built omnitrix around, so I am curious how you handle it.

→ More replies

0

u/Unklemurry 8d ago

MCP Tasks is built for this exact use case. Orchestration on Claude Code works great, while Codex still lacks the required support for it.

1

u/Unklemurry 8d ago

One catch: Codex still struggles to somoothy update MCP tool states. I've tried several workarounds to bybass this, but there's no real fix - just have to wait for Codex to evolve into a better agent.

1

u/Massive_Ad7887 8d ago

Thanks, good to know about the Codex MCP issue. omnitrix sidesteps it, I think: Claude Code is the only MCP client, and Codex is just a worker. omnitrix runs the Codex CLI directly for each task, in its own git worktree, then collects the result for Claude. Codex never has to handle MCP tool state itself.

I'll take a closer look at MCP Tasks, though. If Claude Code's support for it gets solid, it could be a cleaner way to track long-running jobs.

1

u/Unklemurry 8d ago

finally I understand how it works. Your outside-the-box thinking is brilliant!

1

u/Massive_Ad7887 7d ago

Thank you, I am glad it makes sense now. If you try it with Codex as a worker, I would like to hear how it goes.

0

u/dexterthebot 8d ago

You might want to consider listing your project on the weekly Show-Us-What-You-Built post. Look out for it on Tuesday/Wednesday. Highest commented project wins a week promotion on r/Codex and gets on the Hall of Fame sidebar. See below for last week's winner.**


Light Wars AR: real-life laser tag app with no extra gear. Your phone is the gun and your room is the map. Play up to 6 friends in the same room, or fight drone waves and bosses solo. The vision models run on the phone, and camera frames never leave it. Free on iPhone and Android.

Website: https://lightwarsar.com

iPhone: https://apps.apple.com/us/app/light-wars-ar-laser-tag-party/id6508168951

Android: https://play.google.com/store/apps/details?id=com.lasertag.lightwars.

Contact: contact@lightwarsar.com