Skip to content

Claude CodeSubagentsYour models

Claude Code subagents. Any model.

Run native Claude Code subagents on any OpenAI- or Anthropic-compatible model. They keep the same tools, skills, MCP servers and CLAUDE.md as the ones Claude runs itself.

For the subagent-models plugin · Hosted, or run it yourself

2API styles: OpenAI and Anthropic compatible

What it does

Your models. Claude’s harness.

The subagent-models plugin adds agents to Claude Code. The gateway sends each one’s requests to the model you chose for it.

  1. 01

    Native subagents

    Each agent is a real Claude Code subagent, called as subagent-models:<name>, with the same tools, skills, MCP servers and CLAUDE.md as any other.

  2. 02

    Any compatible provider

    Add a base URL, your API key and the models you want. OpenAI-style chat completions and Anthropic-style messages both work.

  3. 03

    Fallback chains

    When a model errors or is rate limited, the gateway tries the next one in its chain, or hands the request back to your own Claude login.

  4. 04

    Hosted, or yours

    Use the hosted gateway with an account, or run the open-source gateway yourself with no account at all.

How it works

Set it up once. Call it by name.

Add a provider, define an agent, create a gateway key, and paste the key into the plugin’s settings.

Claude reads each agent’s description to decide when to hand it a task, the same way it picks its own subagents. Usage shows up a day at a time.

Two ways to run it

Hosted. Or yours.

The hosted gateway needs an account and your agreement to provide usage telemetry. If you’d rather not, run your own.

Self-hosted

Yours

Run the open-source gateway on your own machine.

  • No account
  • Sends us nothing
  • Configured in files you keep
  • Same plugin, pointed at your gateway
View on GitHub

Either way, the model calls go to your providers on your API keys.

Questions

Asked. Answered.

Put us on it

What needs executing?

Make an account, add a provider and an agent, and Claude Code can hand it work in a few minutes.