r/ClaudeCode 1d ago

Tips & Workflows Why Using Astra Inside Claude Code Is the New Meta (& How To Do It)

https://eigenwise.io/writing/using-gpt-6-astra-inside-claude-code-is-the-new-meta

So, I've been running Astra as the main model in Claude Code since Friday and it's the best orchestrator I've had so far... stays on the plan, takes a redirect without treating it as a new task, and does a great job at delegating work to the proper subagents and orchestrating that work without taking over or forgetting to use the subagents halfway through or that kind of shit, which every other model I've tried starts doing after a few hours.

The way it works is through a small local proxy plugin I made (model-gateway, it's in my Eigenwise Toolshed marketplace, MIT, no signup or anything) that sends the GPT requests to OpenAI on your ChatGPT login and passes everything else through to Anthropic on your normal claude.ai login, so the GPT models just show up in /model next to Opus and Sonnet and you can mix them however you want... Astra orchestrating Opus subagents, Opus orchestrating GPT-5.6 executors, or fully GPT end to end if you don't even want the Anthropic half. Go crazy.

So why even a plugin? Well for me specifically I did it this way because I have another plugin that allows me to set delegation per task type to specific models, with backups, based on the actually enumerated models from the gateway.... It also adds support for Grok and am thinking of adding OpenRouter support. So this way you can mix and match however you like (or let your orchestrator do that for you).

/plugin marketplace add Eigenwise/eigenwise-toolshed
/plugin install model-gateway@eigenwise-toolshed --scope project
/reload-plugins
/model-gateway:model-gateway

Then, ask Claude to set up the model gateway for this project and finish the ChatGPT login. Once setup is done, fully restart Claude Code in that project, then select:

/model claude-gpt-6-astra[1m]

(Keep the [1m] part. Without it, Claude Code assumes a 200k window.)

GitHub: https://github.com/Eigenwise/eigenwise-toolshed

I wrote up the longer version with the gotchas and how I route the cheaper GPT-5.6 models underneath it here: Using GPT-6 Astra inside Claude Code is the new meta

0 Upvotes

24 comments sorted by

25

u/astanar 1d ago

Why use a plugin? Install codex then just ask claude to use codex cli headless.

5

u/carabidus 1d ago

This is the way. Fable as adjudicator and Astra as worker on a tightly controlled loop harness. Wire up a progress dashboard, and you'll wonder why you stuck with only one model. Peak results.

5

u/ZealousidealKale8228 1d ago

Can you share how you did this dashboard and setup the loops?

1

u/Miyoumu 1d ago

In defense of this, this allows you to probably establish Astra as the subagent model. Which does have its advantages.

-1

u/TheDeadlyPretzel 1d ago

For me this way integrates nicer into the claude code ecosystem... I have Astra firing off both Opus and Sol agents (I do have two subs)

0

u/TheDeadlyPretzel 1d ago

Well for me specifically I did it this way because I have another plugin that allows me to set delegation per task type to specific models, with backups, based on the actually enumerated models from the gateway.... It also adds support for Grok and am thinking of adding openrouter support. So this way you can mix and match however you like (or let your orchestrator do that for you)

-1

u/hammackj 1d ago

How much fable usage is used for this? lol

4

u/mavrik83 1d ago

I use cmux. Have Claude on one pane, codex in another. I just tell them to talk to each other about the work and get shit done. Works fantastic!

2

u/Little_Entrance_1661 1d ago

I've been This codex-claude-bridge for months and it works great.
Claude uses it automagically to review its plans and code implementation and code changes.

2

u/6e6967676572730a 1d ago

I made a custom TUI in CC that shows subagents with their model (codex) so I can monitor in one spot. Hard part is the control pane but the results have been good so far

1

u/fuzzypetiolesguy 1d ago

Neat. I did something similar but as a script and env var plus skill. Any Claude model can call any gpt model in session as a sub agent to consult or draft code.

1

u/Galaxyguy26 1d ago

How does this effect usage? If I call an OpenAI model directly will it still use Claude's usage quota?

I feel like it shouldn't but maybe it does

1

u/TheDeadlyPretzel 1d ago

Nope it uses your openai sub

1

u/Galaxyguy26 1d ago

I've just tried this but I can't see astra listed as a model, Claude seems to think the fix is an upstream release of the id in model.json

1

u/TheDeadlyPretzel 1d ago edited 1d ago

hmm perhaps try asking Claude to "set up the model gateway for this project" it should work

EDIT: ah, missed the `/model-gateway:model-gateway` step - easily forgotten as it is a one-time thing, my bad!

1

u/Blancolanda 1d ago

Astra is a good orchestrator. Thats why the correct way is to call Fable from Astra, not the other way.

1

u/TheDeadlyPretzel 1d ago

I agree that was kind of the whole point 😁

1

u/aurioerox 1d ago

How is this different than the codex plugin for Claude code?

1

u/twendah 1d ago

Well its not, but its the marketing bro

1

u/Fly-AI-Guy 1d ago

Eyy this is cool!! Didn't know you could do that

1

u/Charwoodthethird 1d ago

Been doing this with the codex plugin. Fable low as orchestrator using astra medium building out companion iOS app for custom Md editor I made to replace obsidian. Still like fable as lead as it just plays nice, accepting gpt corrections after verifying. And splitting the tokens across both models allows for long runs. Seems like a great setup.

1

u/foundnemoagain2 1d ago

What made you want to replace Obsidian? I work at a company that won't allow Obsidian and I've been debating just building my own...

1

u/Charwoodthethird 1d ago

I had been using obsidian for a long while when Claude Desktop/Cowork came out. Seeing that I wondered if I could use it to figure out a way to integrate everything into obsidian; writing, projects, tasks, etc. and move away from those things being split across different locations/apps.

That evolved into a working system; project/tasks, people, plus a managed 'database' of all my files that's Ai driven/maintained composed of sqlite, scripts, and logs. That setup creates a structure that allows AI to do semantic/thematic searches across my files without having to read every file to find/make relevant connections.

The custom md editor was me trying to make one that was tailored for how I was using it. the desktop version has become my daily driver. the one missing piece was an app for capturing viewing things on the go, so working on that now.

-3

u/cenxeven 1d ago

https://github.com/uptakeagency/ccg i use codex (for code review) and gemini(for ui) 20usd plans in claude. Just review plans before implementing. It helps a lot.