A native macOS menu bar app that proxies Claude Code, Codex, Gemini, Kimi, GitHub Copilot, Junie, and Grok authentication for use with Droids. Built on CLIProxyAPI.
Grab the latest release from Releases:
- DroidProxy-arm64.zip -- Apple Silicon
Each release also ships a DroidProxy-arm64.zip.sha256 checksum. Unzip and drag DroidProxy.app into your Applications folder. All releases are code-signed and notarized by Apple, and existing installs auto-update via Sparkle.
- One-click OAuth auth -- Claude Code, Codex, Gemini, and Kimi login launched from the Settings window, with credential monitoring and automatic OAuth token refresh.
- GitHub Copilot -- Sign in through the Settings window, then select up to three models available to your Copilot subscription. Only those selected models are added to Factory's custom-model configuration.
- Every model, every reasoning level -- Fable 5.1, Opus 5.5, Sonnet 4.6, GPT 6 Astra, GPT 6.1 Sol, GPT 6 Luna, Gemini 3.1 Pro, Gemini 3 Flash, Kimi K3, and Kimi K2.6 are registered as Factory custom models with their full set of native reasoning levels. Reasoning effort is chosen per session from Droid CLI's model selector; DroidProxy preserves the selection and the bundled backend translates it to each provider's native request format.
- Fast Mode -- Optional
service_tier=priorityfor GPT 6 Astra, GPT 6.1 Sol, and GPT 6 Luna. Grok 4.7 Fast is a separate SuperGrok model (grok-4.7-build-fast). - Usage tracking -- Claude (5-hour + weekly), Codex (whichever of 5-hour, weekly, or monthly the plan has), and SuperGrok (weekly) quota windows rendered as compact ring-gauge cards in the OAuth Quota Usage section of the Settings window. Fetched directly from each provider's OAuth API (no
codexCLI dependency) and refreshed on demand via the inline refresh button. - Grok Imagine (image gen) -- With Grok OAuth connected, DroidProxy also forwards OpenAI-compatible image requests (
POST /v1/images/generationsforgrok-imagine-*models) toapi.x.ai— noXAI_API_KEY. Factory/Droid does not call that endpoint on its own; use the bundled skill below. - GPT Image (Codex OAuth) -- With Codex connected,
POST /v1/images/generationsforgpt-image-2.5-flareorgpt-image-2.5-sunburstis forwarded to CLIProxyAPI, which uses your ChatGPT Plus/Pro OAuth session — noOPENAI_API_KEY. Same rule as Grok: Droid will not call that endpoint unless you install the bundled skill.
See SETUP.md for authentication and manual Factory configuration instructions. (OR use the 1-click options in the UI!)
If you have Grok and/or Codex auth set up in DroidProxy, you can generate images through the same proxy. Grab the skills from this repo:
# From a clone of this repo, copy into your personal Factory skills
mkdir -p ~/.factory/skills
cp -R skills/grok-imagine ~/.factory/skills/
cp -R skills/gpt-image ~/.factory/skills/Or keep skills/grok-imagine/SKILL.md under ~/.factory/skills/grok-imagine/ and skills/gpt-image/SKILL.md under ~/.factory/skills/gpt-image/.
Then in Droid, ask to generate an image (or invoke the skill). Both skills post to http://localhost:8317/v1/images/generations with Authorization: Bearer dummy-not-used:
- Grok — model
grok-imagine-image-2.0; ThinkingProxy injects your Grok OAuth token and forwards to xAI. - GPT — model
gpt-image-2.5-flare(fast default) orgpt-image-2.5-sunburst(maximum quality); CLIProxyAPI injects your Codex OAuth token. Requires ChatGPT Plus/Pro (Free is rejected).
Requirements: DroidProxy running, the matching provider connected in Settings. Image gen is separate from chat — selecting “DroidProxy: Grok 4.7” or “DroidProxy: GPT 5.x” alone does not generate images.
- macOS 13.0+ (Ventura or later)
- Apple Silicon
The Swift package lives in src/, so run swift commands from there.
# Debug build
cd src && swift build
# Release build + signed .app bundle (run from the repo root)
./create-app-bundle.sh
# Preferred dev loop: rebuild the signed .app and relaunch it
./dev-relaunch.shSee AGENTS.md for the full build, notarization, and release workflow.
src/
├── Sources/
│ ├── main.swift # NSApplication entry point
│ ├── AppDelegate.swift # App lifecycle, menu bar, settings window, Sparkle updater
│ ├── ServerManager.swift # cli-proxy-api process control, config merge, auth flows
│ ├── ThinkingProxy.swift # TCP proxy on :8317 (Anthropic-Beta rewrite, fast mode, Gemini path rewrite)
│ ├── SettingsView.swift # SwiftUI settings UI
│ ├── DroidProxyModelCatalog.swift # Authoritative catalog of exposed Factory models
│ ├── AuthStatus.swift # AuthManager: account parsing, expiry, enable/disable
│ ├── AuthDirectoryMonitor.swift # Debounced watcher on ~/.cli-proxy-api
│ ├── AuthPaths.swift # Auth directory location constant
│ ├── AppPreferences.swift # UserDefaults-backed preferences
│ ├── OAuthUsageTracker.swift # OAuth quota windows for SettingsView
│ ├── OAuthUsageViews.swift # Compact ring-gauge quota cards
│ ├── CopilotSupport.swift # Local Copilot API gateway, device login, and selected-model persistence
│ ├── IconCatalog.swift # NSImage caching for menu-bar / settings icons
│ ├── NotificationNames.swift # Shared Notification.Name constants
│ ├── LogoView.swift # Inline-SVG logo used in the settings UI
│ └── Resources/
│ ├── cli-proxy-api # Bundled CLIProxyAPI binary
│ ├── config.yaml # Server config (port 8318, localhost)
│ ├── AppIcon.icns # App icon
│ ├── icon-active.png # Menu bar icon (active)
│ ├── icon-inactive.png # Menu bar icon (inactive)
│ ├── icon-claude.png # Claude service icon
│ ├── icon-codex.png # Codex service icon
│ ├── icon-copilot.png # GitHub Copilot service icon
│ ├── icon-gemini.png # Gemini service icon
│ ├── icon-kimi.svg # Kimi service icon
│ └── glyph.png # App glyph
├── Package.swift
├── Package.resolved
└── Info.plist
See AGENTS.md for a per-file breakdown of what each source file does.
MIT

