Overview
ZeroLimit’s Proxy Management system provides centralized control over your CLI Proxy API server and all connected AI provider accounts. Start, stop, and configure the proxy server, then manage authentication for multiple AI services from a single interface.
CLI Proxy Server Control
What is the CLI Proxy?
The CLI Proxy API is the backend server that:- Intercepts and routes AI API requests
- Manages authentication tokens for multiple providers
- Tracks quota usage across accounts
- Provides a unified management interface
Starting the Server
Configure Executable Path
Go to Settings → CLI Proxy and browse for your
cli-proxy-api.exe or cli-proxy-api-plus.exe fileEnable Auto Start in Settings to automatically launch the CLI Proxy when ZeroLimit starts.
Stopping the Server
Click the Stop button in the CLI Proxy settings section to gracefully shut down the server. This will:- Terminate the running server process
- Close all active connections
- Preserve your configuration for next start
Run in Background
Enable Run in Background to allow the CLI Proxy to continue running even when you close the ZeroLimit window. Perfect for:- Continuous monitoring
- System tray operation
- Minimizing disruption to workflows
Provider Account Management
Viewing Connected Accounts
The Providers page displays all your connected AI service accounts:- Grouped by provider (Antigravity, Codex, Gemini, etc.)
- Expandable/collapsible sections
- Account count badges
- Provider icons for quick identification
Adding New Providers
ZeroLimit supports OAuth-based authentication for multiple AI providers:- Standard Providers
- Gemini CLI (Requires Project ID)
- GitHub Copilot Device Code
For most providers (Antigravity, Codex, Anthropic, Kiro, Copilot):
- Click on the provider card in the “Add Provider” section
- An authentication window will open in your browser
- Log in with your provider credentials
- Approve the connection
- The callback is automatically captured
- Account appears in your Connected Accounts list
Manual Callback (Fallback)
If automatic callback capture fails:- During authentication, copy the final callback URL from your browser
- Paste it into the “Manual Callback” input field
- Click Verify to complete the connection
Managing Existing Accounts
Account Actions
Each connected account has three action buttons:Download
Export the authentication file (JSON) for backup or transfer
Copy Refresh Token
Copy the refresh token to clipboard for manual use or CLI integration
Delete
Remove the account connection (with confirmation dialog)
Bulk Operations
Download All
Click Download All to export all authentication files as a ZIP archive. Useful for:- Backing up your accounts
- Migrating to a new machine
- Sharing credentials across team members (carefully!)
Copy All Refresh Tokens
- Click Copy All
- Select which providers to include in the modal
- Click Copy to copy all selected refresh tokens
- Tokens are formatted as a JSON object ready for CLI use
Upload Authentication Files
- Click Upload
- Select a
.jsonauthentication file from your computer - The account is added to your connected accounts
- Useful for restoring backups or importing from CLI Proxy
Delete All Accounts
Click Delete All → Confirm in dialog to remove all connected accounts at once.Privacy Controls
Privacy Mode Toggle
The Eye/Eye-Off button in the top-right toggles privacy mode:- Privacy ON: Email addresses and account names are masked
- Privacy OFF: Full account details visible
Provider Icons and Badges
Provider Identification
Each provider has a unique icon:- Antigravity: Purple logo
- OpenAI Codex: OpenAI logo
- Gemini CLI: Google Gemini logo
- Kiro: CodeWhisperer icon
- GitHub Copilot: GitHub Copilot icon (inverts in dark mode)
- Anthropic: Claude logo
Plus-Only Providers
Some providers (GitHub Copilot, Kiro) require the Plus version of CLI Proxy. These are marked with a yellow Lock + Plus badge when using the Standard version.Authentication Status
Active Connections
Connected accounts show:- Provider name
- Account identifier (email or username)
- Green “Active” status badge
- Action buttons
Connection Errors
If an account fails to load:- Error message displays on the quota card
- Try refreshing the individual account
- Re-authenticate if refresh tokens are expired
- Delete and re-add the account if issues persist
OAuth Flow Details
Provider-Specific URLs
ZeroLimit automatically handles OAuth redirects for each provider:| Provider | Auth Method |
|---|---|
| Antigravity | Direct OAuth |
| Codex | OpenAI OAuth |
| Gemini CLI | Google OAuth with optional project ID |
| Anthropic | Claude OAuth |
| Kiro | AWS OAuth |
| Copilot | GitHub Device Code Flow |
Polling Mechanism
During authentication:- ZeroLimit displays the auth URL
- Polls the CLI Proxy for completion status
- Updates UI when authentication succeeds
- Adds account to connected list automatically
The polling is automatic. Just complete the login in your browser and wait for the success message.
Advanced Configuration
Switching Between Standard and Plus
In the Settings page:- Locate the “Switch Version” section under CLI Proxy
- Click Switch to Plus (or Switch to Standard)
- ZeroLimit will:
- Stop the current server
- Download the alternate version if needed
- Start the new version automatically
Version switching requires an internet connection and may take a few moments to download.
Update CLI Proxy
ZeroLimit can automatically update your CLI Proxy:- Click Check for Update in Settings
- If an update is available, click Update Now
- The app will:
- Stop the current server
- Download the latest version
- Extract to the same directory
- Restart the server
File Organization
Authentication File Format
Each account is stored as a JSON file:Filenames
Authentication files follow the pattern:{provider}-{identifier}.json- Example:
codex-user_gmail_com.json - Stored in CLI Proxy’s auth directory
Troubleshooting
Server won't start
Server won't start
- Verify the executable path is correct
- Check if port 8317 is already in use
- Run as administrator if needed
- Check firewall settings
OAuth flow fails
OAuth flow fails
- Ensure CLI Proxy is running before authenticating
- Clear browser cookies for the provider
- Try manual callback URL entry
- Check internet connection
Account shows error after adding
Account shows error after adding
- Verify credentials are valid on provider website
- Check if account has been suspended
- Try deleting and re-adding the account
- Review CLI Proxy logs for details
Next Steps
Monitor Quotas
View real-time quota usage for all connected accounts
System Tray
Learn about background operation and system tray controls