Claude Code model router

Cligate

Private AI assistant, AI agent, and unified model proxy for Claude Code, Codex CLI, Gemini CLI & OpenClaw. Skills, MCP, tools, channels, tasks,model routing, accounts, keys, logs, dashboard.

Install

Install
npx cligate@latest start

Found in the project README. Check it for setup steps after installing.

From source
git clone https://github.com/codeking-ai/cligate.git

From the README

CliGate

English | 中文

CliGate is a local AI control plane built around two core capabilities:

- Assistant: a resident private assistant that stays available in the background, understands user tasks, remembers context, uses tools, schedules work, operates channels, and can execute actions through MCP, skills, desktop automation, shell/file tools, or delegated runtimes.
- Model Proxy: one local API and model-routing layer for Claude Code, Codex CLI, Gemini CLI, OpenClaw, and API-compatible clients, with unified accounts, API keys, model mapping, logs, usage, and cost visibility.

It keeps both layers local-first on localhost: the assistant acts like a personal operator for real tasks, while the proxy owns provider access, routing, credentials, unified model names, and observability.

Why CliGate

- One local dashboard for a resident private assistant and unified model routing
- Assistant tasks with memory, approvals, follow-ups, scheduled work, channels, and tool execution
- Account pools, API keys, local runtimes, app routing, and model mapping in one proxy layer
- Channels for Telegram, Feishu, and DingTalk workflows
- Local-first deployment without a hosted relay

What It Includes

Assistant

- Dashboard chat and Assistant Tasks for personal task execution
- A persistent assistant agent with task records, memory, policies, approvals, and resumable executions
- Tool execution through skills, MCP, shell/file tools, scheduled tasks, channels, and optional desktop automation
- Optional delegation to Codex / Claude Code runtime sessions when a task needs an external coding agent
- Telegram, Feishu, and DingTalk channel workflows

Model Proxy

- Anthropic Messages, OpenAI Chat Completions, OpenAI Responses, Codex, and Gemini-compatible endpoints
- One-click configuration…
Read the full README on GitHub

Details

Language
JavaScript
License
AGPL-3.0
Last updated
15 October 2026
Topics
agent-frameworkagent-skillsagentic-aiai-proxyanthropicapi-gatewayapi-proxychatgptclaudeclaude-codecodex-clicoding-assistant

FAQ

What is Cligate?

Private AI assistant, AI agent, and unified model proxy for Claude Code, Codex CLI, Gemini CLI & OpenClaw. Skills, MCP, tools, channels, tasks,model routing, accounts, keys, logs, dashboard. It is a model router for Claude Code, from codeking-ai/cligate on GitHub.

How do I install Cligate?

Run npx cligate@latest start, then follow the setup in the README.

Is Cligate popular?

codeking-ai/cligate has 135 GitHub stars and 22 forks. It was last updated on 15 October 2026.

More model routers & proxies

Browse the most popular Claude Code mods, all model routers & proxies, or the skills and MCP server directories.