any-model-plugin
Enables AI agents to delegate tasks, run adversarial reviews, and manage background jobs across multiple models and providers via anymodel_* tools.
README
Any Model Plugin
A Claude Code plugin that lets AI agents delegate tasks, run adversarial reviews, and manage background jobs from Claude Code to any provider and model.
What it does
- Delegate work from Claude Code to another engine/model with a single slash command.
- Run adversarial reviews across different models and providers.
- Manage background jobs (
status,result,cancel) just like the upstream plugin.
Use it from any agent host
Claude Code is one of three surfaces — the same CLI powers all of them:
- Universal CLI:
node plugins/anymodel/scripts/companion.mjs <command>(ornpx anymodel) from any shell or agent. - MCP server:
plugins/anymodel/scripts/mcp-server.mjsexposes every capability asanymodel_*tools in any MCP host — Claude Code, Codex, Cursor, Windsurf, VS Code. See INTEGRATIONS.md. - Claude Code native plugin:
/anymodel:*commands via the marketplace install below.
The two-axes concept
Delegation is built on two orthogonal ideas:
- Executor harness — the agent runtime that plans, runs commands, edits files, and manages sandboxes (e.g., Codex, Claude).
- Model — the underlying provider/model the harness uses to reason and respond.
The Codex plugin hardwires both to OpenAI. This project separates them so you can mix and match:
/anymodel:delegate --engine codex --model zai/glm-5.2 fix the flaky test
/anymodel:review --engine claude --base main
Quick start
TODO: installation, setup, and first-delegate steps once Phase 0 scaffolding is complete.
Roadmap
| Phase | Status | Goal |
|---|---|---|
| Phase 0 | ✅ Done | Scaffold repo; lift core orchestration; codex adapter + LiteLLM bridge; provider registry; loopback CI test |
| Phase 1 | ✅ Done | Codex + Claude adapters; per-thread config override (mixed providers on one broker); native + schema reviews on all engines |
| Phase 2 | ✅ Done | Built-in Responses→Chat shim (companion.mjs shim, --bridge builtin); quirk pipeline; unit test suite |
| Phase 3 | ✅ Done | Plugin command surface + runner agent; models/setup; direct engine; local marketplace install |
Attribution
This project derives from openai/codex-plugin-cc under the Apache-2.0 license. See LICENSE and NOTICE for details.
Security
- API keys are never stored in this repository. Providers are configured with
env_keyreferences inregistry.toml; keys come from your environment or a local env file you pass tocompanion.mjs shim --env-file(keep it outside the repo —.envfiles are gitignored). - Sandboxing varies by engine. The
codexengine runs inside Codex's own sandbox; theclaudeengine uses Claude Code permission modes; the built-indirectengine has only tool-level guards (workspace path containment, symlink-hardened;write_file/exec_commandexist only in--writemode). Don't point--engine direct --writeat repositories you can't afford to mutate, and treat model output as untrusted input. - The bridge (shim or LiteLLM) listens on
127.0.0.1only. - Found a vulnerability? Please open a private security advisory rather than a public issue.
License
Apache-2.0 — see LICENSE and NOTICE.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.