ErkundenSie

Magpie Local Agents — Development skill for Claude Code

Development community

Use the coding CLIs you are already signed in to (Codex, Claude Code, Gemini, Antigravity, Grok) as Magpie page agents and as an OpenAI-compatible provider.

How to install Magpie Local Agents

This entry records only its repository, not the path inside it, so there is no exact command to give. Open ErkundenSie/magpie-local-agents and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Magpie Local Agents does

Use the coding CLIs you are already signed in to (Codex, Claude Code, Gemini, Antigravity, Grok) as Magpie page agents and as an OpenAI-compatible provider.

Alternatives in Development

  • Agy2api — 将 Antigravity 转换为 OpenAI 、GEMINI 和 Claude API 接口 5.3k ★
  • Gcli2api — 将 GeminiCLI 和 Antigravity 转换为 OpenAI 、GEMINI 和 Claude API 接口 4.6k ★
  • Dario — A local OpenAI- and Anthropic-compatible proxy that brings your Claude Pro/Max subscription to Cursor, Cline 485 ★

README

magpie-local-agents

[![test](https://github.com/ErkundenSie/magpie-local-agents/actions/workflows/test.yml/badge.svg)](https://github.com/ErkundenSie/magpie-local-agents/actions/workflows/test.yml) [![license: MIT](https://img.shields.io/github/license/ErkundenSie/magpie-local-agents)](LICENSE) [![Magpie](https://img.shields.io/badge/magpie-%E2%89%A50.1.4660-7c3aed)](https://usemagpie.ai) [![runs on Bun](https://img.shields.io/badge/runs%20on-Bun-f472b6)](https://bun.sh) [![no dependencies](https://img.shields.io/badge/dependencies-0-brightgreen)](package.json)

Use the coding CLIs you are already signed in to — **Codex, Claude Code, Gemini CLI, Antigravity, Grok Build** — inside [Magpie](https://usemagpie.ai), and expose them through the Magpie gateway as a normal OpenAI-compatible provider.

The plugin drives each CLI as a child process over its own protocol (Codex App Server or ACP) and lets the CLI talk to its vendor with its own login. It never reads, stores, or refreshes subscription tokens, and it never routes a subscription through an API relay.

  • Page plugin — pick an agent and a workspace, then talk to it from Magpie's sidebar.
  • Provider — appears as Local CLI in Settings → Providers, so any OpenAI-compatible client can call local-cli/- through the gateway.

[中文说明](README.zh-CN.md)

Requirements

  • Magpie 0.1.4660 or newer. The plugin runs on Magpie's bundled Bun.
  • At least one supported CLI, installed and signed in from your own terminal.

There are no npm dependencies and no build step.

Install

From a checkout of this repository:

magpie plugin add 'D:\path\to\magpie-local-agents'
magpie plugin login local-cli   # registers the local CLIs as a provider; no API key needed

You can also open **Settings → Plugins → Add plugin** in Magpie and enter the absolute path. After editing the source, toggle the plugin off and on to reload it.

The page and gateway share a loopback port, `3496` by default.