Proxima

Zen4-bit活跃维护

把 ChatGPT、Claude、Gemini、Perplexity 接到本地编码工具上的多 AI MCP 服务器,不用自己申请 API Key 就能让多个模型协同干活。

Multi-AI MCP Server - Connect ChatGPT, Claude, Gemini & Perplexity to your coding tools without any API

v5.5.0发布于 2026-10-16 16:59 UTC1,208star +4 / 7 天168fork同步于 2026-11-10 11:49 UTC

怎么上手

由 README 提炼,执行前请确认
git clone https://github.com/Zen4-bit/Proxima.git
cd Proxima
npm install
npm start
硬件要求按 README 说明

README 未说明显存或 GPU 要求;支持 Windows、macOS、Linux,需 Node.js 18+,Python 3.10+ 仅 Agent 功能需要。

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

把 ChatGPT、Claude、Gemini、Perplexity 的网页登录会话变成本地 MCP 服务,供编辑器直接调用

把 ChatGPT、Claude、Gemini、Perplexity 接到本地编码工具上的多 AI MCP 服务器,不用自己申请 API Key 就能让多个模型协同干活。

核心能力

  • 通过浏览器登录会话路由请求,无需 API Key
  • 同时支持 BYOK 模式接入官方 API 或本地模型
  • 在 Cursor、VS Code、Windsurf、Claude Desktop 中作为 MCP 服务器使用
  • 内置可自愈的 Python Agent 与多智能体委派
  • 用本地 SQLite 做跨会话记忆与上下文追踪

容易踩的坑

需在应用内先登录各 AI 网页账号,否则会话路由不可用;Python 3.10+ 需在 PATH 中,否则 Agent 环境检测报错;Windows 装在 Program Files 时旧版本 pip 安装可能因权限失败,需以管理员运行一次。

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本v5.5.0
  1. v5.5.0Proxima v5.5.0最新正式版2026-10-16 · 2026-10-16 16:59 UTC

    What's New

    • Dynamic Model Discovery — Discover available ChatGPT and Gemini models from your logged-in account and select them across Proxima’s supported interfaces.
    • MCP Model Discovery Tool — Added list_available_models and updated proxima://models to expose model information, availability status, and usage instructions.
    • Gemini Thinking Controls — Choose Default, Low, Medium, or High thinking levels where supported, through MCP, REST API, Python/JavaScript SDKs, CLI, and chat interfaces.
    • Request Cancellation — Stop active requests using the new POST /v1/cancel endpoint and integrated cancellation controls.
    • Live Chat & Battle Mode — Updated model selectors, thinking controls, and side-by-side multi-model comparisons.
    • JavaScript SDK Packaging — Added native ES Module and CommonJS import support with a dedicated SDK guide.

    Bug Fixes & Optimizations

    • Improved ChatGPT and Gemini session connectivity, response streaming, and multi-turn conversation handling.
    • Improved stalled-request handling, expired-conversation recovery, and bounded Auto-mode fallback on rate limits.
    • Added automatic REST port discovery for clients when the default port is occupied.
    • Corrected JavaScript and Python SDK URL handling to prevent duplicated /v1 paths.
    • Improved Python interpreter health checks during Agent setup.
    • Improved DuckDuckGo error reporting for blocked or failed search requests.
    • Strengthened secret scanning, local request validation, and BYOK key management.
    • Improved WebSocket fallback behavior in the live chat widget.

    Documentation & Testing

    • Added a v5.0 → v5.5 migration guide and expanded SDK usage examples.
    • Updated API, MCP, CLI, architecture, and build documentation.
    • Expanded regression coverage with six integration test suites and one unit test suite.

    Download

    • Windows x64: Proxima-Setup-5.5.0.exe

    See the migration guide for updated model discovery, thinking controls, SDK imports, and automatic port discovery.

  2. v5.0.0Proxima v5.0.02026-07-08 · 2026-07-08 16:23 UTC
    查看更新说明

    What's New

    • Bring Your Own Key (BYOK) Mode — Direct API key support for ChatGPT, Claude, Gemini, Perplexity, DeepSeek, and any OpenAI-compatible endpoint. Features native OS keychain encryption (SafeStorage), multi-model selection, and connection testing.
    • Proxima Agent Autonomous System — A standalone local Python platform designed to automate any task, browser automation via Chrome DevTools Protocol (CDP), execute code in sandboxed workers, run desktop commands, and manage local environments.
    • In-Process MCP Middleware Pipeline — Re-architected the MCP server to use the official SDK and Zod schema validations. Includes task-aware smart routing (EMA latency weighting), ONNX semantic memory vector lookup, Context7 live documentation helper, along with upgrades and optimizations across all core tools.
    • Interactive Terminal CLI Shell — The proxima-agent terminal console allows running, monitoring, switching models, and checking logs directly.
    • Token & Cost Auditor — SQLite-backed token and transaction cost auditor keeping a local ledger of inputs, outputs, and financial metrics across all models.
    • New Orchestration Tools — run_workflow (sequential AI chaining), run_loop (iterative quality refining), and crew (role-based multi-agent workflows).

    Bug Fixes & Optimizations

    • Removed slow DOM scraping with session-API engines for unified provider response streams.
    • Decoupled Electron main process into modular Settings, Core, and CLI IPC channels.
    • Implemented strict SSRF protections on web scrapers (blocking private/loopback/link-local IP ranges).
    • Added loopback-only CORS origin protections on local FastAPI and Electron servers.
    • Gated the MCP/IPC TCP socket channel with dynamic, cryptographically generated token validation (ipc-token.json).
    • Pinned native environment runtime verification (monitoring Chrome, Tesseract OCR, and window tools).
    • Packaged offline Python virtual environment setup using pre-bundled local wheels.
    • Consolidated search and content retrieval tools under unified interfaces.

    Download

    • Windows: Proxima-Setup-5.0.0.exe

    Requires Windows 10/11 or macOS/Linux, Node.js >= 18, and Python >= 3.10.

  3. v4.1.0Proxima v4.1.02026-04-16 · 2026-04-16 17:42 UTC
    查看更新说明

    What's New

    Provider Engine System — Native browser-level communication with AI providers. 3–10x faster responses with SSE streaming and automatic fallback.

    CLI Tool — Run proxima ask, proxima fix, proxima debate from any terminal. Supports pipe input, file context, and JSON output.

    WebSocket Server — Real-time streaming AI at ws://localhost:3210/ws. Bidirectional communication with status updates and keepalive.

    15 New MCP Tools — chain_query, solve, debate, security_audit, verify, fix_error, build_architecture, write_tests, convert_code, explain_error, and more.

    Interactive API Docs — Live documentation at /docs, /cli, /ws with a working chat widget.

    Conversation Export — Export full conversation history from any provider using conversation_export.

    REST API Functions — New security_audit and debate endpoints. File upload support via file field.

    Python & JavaScript SDKs — Drop proxima.py or proxima.js into your project and start querying.

    Bug Fixes

    • Staggered multi-provider queries
    • Smart provider routing
    • Response caching with TTL
    • Rate limit handling and auto-recovery
    • ChatGPT SHA3-512 proof-of-work solver
    • Claude conversation auto-recovery
    • REST API server cleanup on app close
    • Socket leak prevention on IPC reconnect

    Download

    Windows: Proxima-Setup-4.1.0.exe

    Requires Windows 10/11 and Node.js

  4. v3.0.0Proxima v3.0.02026-02-14 · 2026-02-14 15:21 UTC
    查看更新说明

    What's New

    REST API — Use Proxima from anywhere. One endpoint, OpenAI-compatible format. POST localhost:3210/v1/chat/completions

    Python & JS SDKs — Just drop the file in your project and go. No pip install, no npm install.

    New Tools — File analysis, math search, image search, multi-AI compare, window control, session management.

    Better response capture — Improved handling for Claude and Perplexity.

    Download

    Windows: Proxima-Setup-3.0.0.exe

    Requires Windows 10/11 and Node.js

  5. v1.0.0Proxima v1.0.02026-02-02 · 2026-02-02 08:02 UTC
    查看更新说明

    Proxima v1.0.0

    Multi-AI MCP Server - Connect ChatGPT, Claude, Gemini & Perplexity to your AI coding tools.

    Download

    Features

    • 4 AI Providers: ChatGPT, Claude, Gemini, Perplexity
    • 45+ MCP Tools
    • No API keys required
    • Local server - your data stays private

    Quick Start

    1. Install and open Proxima
    2. Login to your AI providers
    3. Copy MCP config from Settings
    4. Paste in your AI coding app

    Requirements

    • Windows 10/11
    • Node.js (for MCP server)

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    Proxima

    All your AI models, working under one roof.

    Run frontier LLMs directly inside Cursor, VS Code, Windsurf, or Claude Desktop using free browser login sessions or local offline providers. Ships with a self-healing Python agent, multi-agent delegation, and cross-session memory.

    Version Platform Website Sponsor License: Non-Commercial



    Why Proxima?

    In late 2025, I hit a massive roadblock with AI coding tools. Outdated training data caused coding models to frequently hallucinate, guess wrong solutions, and ruin codebases. I tried setting up local agents using Model Context Protocol (MCP) APIs, but the results were disappointing. The API responses were subpar and inaccurate, all while running up a bill for every single prompt.

    That’s when a wild idea struck: What if we could turn actual web-based models—like ChatGPT, Gemini, Claude, and Perplexity—into local MCP servers? By routing queries directly through free, logged-in browser accounts, I could give my local agents access to frontier reasoning models. No expensive API keys required.

    Proxima was born as a personal utility. I used it heavily for months to streamline my own work with no plans to open-source it. However, seeing other developers struggle with the same API costs and model hallucinations, I decided to share it. Proxima was created to provide a local, privacy-focused routing engine that connects development tools to active sessions without requiring paid subscriptions or API plans.

    • API Subscription Fatigue: Stacking multiple AI subscriptions (ChatGPT Plus, Claude Pro, Perplexity Pro) adds up fast.
    • Costly Development Keys: Querying raw API endpoints directly from code editor extensions drains credits quickly on large codebases.
    • Local-Model Privacy: When running fully local models via Ollama or LM Studio, your code never leaves your machine — no cloud provider, no data exposure.
    • Fragmented Tooling: Constantly switching between browser windows, terminals, and editor panels disrupts your cognitive coding flow.

    The Solution: Proxima

    Proxima serves as a local development gateway that centralizes and runs all your AI models together on 127.0.0.1. By handling protocol translation and session routing in the background, it enables your coding agents and development clients to interact with multiple advanced providers or offline engines as a single, standard local endpoint.


    Interface Preview


    Routing Modes

    Proxima supports two primary modes to power your editor and agent integrations:

    1. Session Routing (Default)

    • Free Account Emulation: Routes prompts through your logged-in browser accounts (ChatGPT, Claude, Gemini, Perplexity) inside sandboxed background browser views.
    • No API Keys Required: Reuses standard local cookies and browser sessions. No passwords or credentials are saved.
    • Renderer-Level Interception: Captures tokens directly from internal WebSocket and API streams, bypassing brittle HTML selectors for faster and more stable routing.

    2. BYOK (Bring Your Own Key) Routing

    • Broad Model Support: Support for OpenAI, Anthropic, Google, DeepSeek, Groq, xAI, OpenRouter, Together, Fireworks, Mistral, and NVIDIA.
    • Local Offline Hardware: Intercepts configurations to run local models via Ollama or LM Studio.
    • Secure Storage: Keys are saved locally using your operating system's native keychain vault (via Electron's SafeStorage).
    • Local Brain Integration: Automatically applies context compaction, factual recall, and prompt-injection screening.

    Sponsor Wall

    Proxima keeps evolving thanks to these amazing people

    Bloome

    💎 Featured Sponsor

    Multiple AI agents in one shared chat — not one assistant, but a whole team. Drop in a task and they split the work, hand off, cross-check details, and push back until the output is right. They generate tables, docs and dashboards inline — zero setup, runs in the cloud on web and mobile, and shareable with your team. 👉 Try Bloome


    @TheNetworker

    ⭐ Star Sponsor  ·  🥇 First Sponsor

    Great things are built together — Be a part of our journey →


    Meet Proxima Agent

    The repository contains proxima-agent/, a local Python assistant. It executes codebase edits, runs test suites, and drives browser tasks by routing LLM calls through Proxima. This allows the agent to run completely free using your website providers or with custom API keys via BYOK mode.

    Core Agent Capabilities

    • Self-Healing Debugging Loop: Executes code, captures terminal and test-suite errors, and iteratively refactors the codebase until all tests pass.
    • Autonomous Browser Control: Drives Chrome instances via Chrome DevTools Protocol (CDP) to interact with frontends, verify UI layouts, and test user flows.
    • Dynamic Skill Generation: Writes custom Python helper scripts on the fly, tests them, and packages them into reusable runtime skills (skills.db) to expand its capabilities.
    • Symbol-Mapped Codebase Analysis: Maps local files, builds class/function symbol hierarchies, and isolates relevant code blocks to handle large context limits efficiently.

    A Real-World Agent Scenario

    Imagine you instruct the agent: "Find the bug in my token verification module, patch it, and verify that the authentication tests pass."

    Here is the exact trace of how Proxima Agent executes this task:

    sequenceDiagram
        autonumber
        actor User
        participant Agent as Proxima Agent
        participant Code as Codebase
        participant Test as Test Suite
        participant Browser as Chrome (CDP)
        participant Audit as Reviewer Agent
    
        User->>Agent: "Find the bug in token verification..."
        Agent->>Code: 1. Ingest files & build symbol map
        Agent->>Test: 2. Run test suite to capture failure trace
        Agent->>Code: 3. Synthesize & write code patch
        Agent->>Browser: 4. Emulate login & verify user flow
        Agent->>Audit: 5. Spawn sub-agent to audit security
        Agent->>User: 6. Request approval (present diff & logs)
    

    Gated Execution Safety

    The agent is bound by customizable safety permissions:

    • Full Auto: Executes all file writes and terminal commands instantly.
    • Smart: Auto-approves reading/searching but prompts you before running commands or overwriting code.
    • Suggest: Shows proposed code diffs and command lines, waiting for your manual approval.

    State, Memory & Prompt Management

    To keep workflows fast and context accurate, Proxima features separate prompt and memory systems depending on the active routing engine.

    Context Tracking & Prompt Routing

    • Session Mode: In this mode, the target provider website (e.g., ChatGPT, Claude) maintains the active conversation state. Sending a massive system prompt containing 40+ tool definitions on every message would bloat the browser's context window, increasing latency and cost. Instead, Proxima runs a fast local classifier every turn. It dynamically analyzes your task and injects only the necessary tool references and relevant self-generated procedural hints.
    • BYOK & Local Mode: Proxima's prompt compiler manages the message payload lifecycle for custom API keys and offline endpoints. It formats the conversation history, applies system instructions dynamically, and executes a context compaction loop to summarize older chat turns, preventing token limit errors during large developer prompts.

    Local SQLite Memory Engines

    Proxima maintains four separate, local, SQLite-backed databases (~/.proxima-agent/*.db) to enable cross-session statefulness:

    • Conversation Vault (vault.db): Tracks session lineage (supporting parent-child structures for multi-agent forks) and stores message histories securely.
    • Insight Store (insights.db): Extracts and stores cross-session user preferences, workspace patterns, and environmental facts to prevent repetitive setups.
    • Experience Learning (memory.db): Automatically caches compilation errors, syntax exceptions, and the edits that resolved them. The agent queries this history during self-healing loops to apply proven fixes instantly.
    • Procedural Skills (skills.db): Caches and evaluates custom script actions generated during tasks. The agent evaluates new skills through a Bayesian priority model, promoting them to "proven" or demoting/deprecating them based on Exponential Moving Average (EMA) success rates.

    Quick Start

    Follow these steps to configure and connect Proxima to your local environment.

    1. Prerequisites

    PlatformRequirements
    Node.jsVersion 18+ (Required to run the main server process)
    PythonVersion 3.10+ (Only required for the Proxima Agent)
    OSWindows · macOS · Linux support

    2. Install & Start

    # Clone the repository
    git clone https://github.com/Zen4-bit/Proxima.git
    cd Proxima
    
    # Install dependencies & start
    npm install
    npm start
    

    💡 Windows Users: You can also download and run the latest .exe installer directly from the Releases page.

    Once the desktop app opens:

    1. Session mode: Log into ChatGPT, Claude, Gemini, or Perplexity in their respective tabs.
    2. BYOK mode: Click Settings and paste your custom API keys or local host addresses.

    3. Connect to Your Editor (MCP)

    Add this server configuration block to your editor's MCP configuration settings (for example, in Cursor under Settings -> Features -> MCP):

    {
      "mcpServers": {
        "proxima": {
          "command": "node",
          "args": [
            "C:/absolute/path/to/Proxima/src/mcp/index.js"
          ]
        }
      }
    }
    

    💡 Tip: You can copy the exact configuration block with your machine's absolute paths directly from the Settings ➔ MCP Configuration tab inside the Proxima desktop app window.


    Troubleshooting

    Python 3.10+ Environment shows "Error" or "Missing"

    Symptoms: The Diagnostics panel shows a red ✗ next to Python 3.10+ Environment even though Python is installed on your system.

    Cause: On Windows, the app installs to C:\Program Files\Proxima which is a protected directory. During first-time setup, pip install needs to write temporary files in the source folder and fails with "Access is denied" for standard (non-admin) users.

    Versions 5.0.0+ with bundled wheel: This issue is resolved automatically. The installer bundles a pre-built .whl package that installs directly into the virtual environment without writing to the app directory. If you still see this error, make sure you're running the latest build.

    Quick Fix (older builds):

    1. Close Proxima completely.
    2. Right-click the Proxima app (desktop shortcut or Start menu).
    3. Select "Run as administrator".
    4. Wait for the setup to complete — you'll see the Python status turn green ✓.
    5. Close and reopen normally. Admin mode is only needed once.

    macOS / Linux: This is rare on these platforms since app directories are usually user-owned. If it occurs, run the app once with sudo to complete the initial setup.

    Python is installed but Proxima can't find it

    Make sure Python is on your system PATH:

    • Windows: During Python installation, check "Add Python.exe to PATH" at the bottom of the installer. If you missed it, re-run the installer → Modify → check the PATH option.
    • macOS / Linux: Run python3 --version in a terminal. If not found, install via python.org or your package manager.

    Proxima requires Python 3.10 or higher.


    Architecture

    The system consists of three primary layers: the Proxima Runtime Host, the Model Context Protocol (MCP) Server, and the Local Agent Runtime.

    1. System Topology & Data Flow

    Below is the complete architectural map showing how protocols, IPC bridges, and providers communicate:

    graph TD
        subgraph Client Layer [Development Client]
            Cursor[Cursor / VS Code / Windsurf]
            ClaudeClient[Claude Desktop Client]
        end
    
        subgraph MCPServer [MCP Server - Node.js]
            MCPIndex[src/mcp/index.js]
            ToolHandlers["Modular Tool Handlers<br/>(tools-chat / tools-code / tools-search / tools-content / tools-workflow)"]
        end
    
        subgraph CoreEngine [Proxima Core Process - Electron]
            HTTPServer["HTTP Server :3210<br/>(OpenAI REST & WS)"]
            MessageBus["handleMCPRequest()<br/>(Central Message Bus)"]
            PythonAgent["Local Agent Runtime<br/>(python-env)"]
        end
    
        subgraph RoutingEngines [Routing Engines]
            SessionMode["Session Mode<br/>(Browser Manager & background BrowserViews)"]
            BYOKMode["BYOK Mode<br/>(BYOK Router & Context Pipeline)"]
        end
    
        subgraph Providers [AI Providers]
            WebSessions["Active Web Sessions<br/>(ChatGPT / Claude / Gemini / Perplexity)"]
            OfficialAPIs["Official LLM APIs<br/>(OpenAI / Anthropic / Groq / etc.)"]
        end
    
        %% Communications
        Cursor -->|StdIO JSON-RPC| MCPIndex
        ClaudeClient -->|StdIO JSON-RPC| MCPIndex
        MCPIndex --> ToolHandlers
        ToolHandlers -->|IPC TCP:19222| MessageBus
        HTTPServer --> MessageBus
        PythonAgent --> MessageBus
        MessageBus --> SessionMode
        MessageBus --> BYOKMode
        SessionMode -->|Session Compliance| WebSessions
        BYOKMode -->|Dynamic Fallback / Decryption| OfficialAPIs
    

    2. Core Subsystems

    Browser Session Compliance Layer

    For Session Mode, Proxima loads each provider inside isolated BrowserView containers. The compliance layer includes:

    • User-Agent Management: Maintains standard browser user-agent strings for compatibility.
    • Page Context Configuration: Sets up standard preload scripts for correct rendering and provider compatibility.
    • Direct Response Streaming: Engine scripts (electron/providers/engines/*) capture streaming tokens directly from provider HTTP responses for real-time output.
    Worker Control Protocol (WCP)

    The Agent's workflow engine uses an internal command protocol (WCP) for multi-step task delegation, research routing, and temporary state management across sub-agents. See docs/architecture.md for protocol details.

    BYOK Local Brain & Context Pipeline

    When BYOK Mode is active, Proxima utilizes a local intelligence buffer:

    • Factual Recall & Experience Log: Stores previous code errors, terminal exceptions, and successful fixes in an encrypted SQLite database to avoid repeating programming mistakes.
    • Context Compaction Pipeline: Uses token-estimation and cheap pruning heuristics (byok/context/) to summarize long conversation loops when approaching provider limits (preventing out-of-context crashes).
    • Ollama/LM Studio Bridge: Intercepts unknown custom provider configurations and loops them through standard OpenAI-compatible endpoints to support offline, local hardware execution.

    Read docs/architecture.md for structural diagrams and docs/MIGRATION-v5.0-to-v5.5.md for v5.0.0 → v5.5.0 upgrade notes.


    All MCP Tools (41)

    Registered by the modular MCP server (src/mcp/). Proxima also provides dynamic model inspection via the proxima://models MCP resource.

    Core Orchestration Tools

    The following signature capabilities represent Proxima's custom orchestration logic:

    ToolCommandDescription
    Multi-Agent CollaborationcrewSpawn a collaborative swarm of models to review, critique, and optimize code before returning it.
    Consensus Routingsmart_queryQuery multiple model providers simultaneously, cross-verify their answers, or make them debate.
    Codebase Intelligenceanalyze_fileIngest local files, build structural symbol maps, and scan/strip credentials or secrets.
    Multi-Source Researchdeep_searchPerform targeted searches across Web, Reddit, GitHub, News, Academic, and Fact-check engines.
    Cross-AI Fact-CheckingverifyCompare output from different providers, highlight inconsistencies, and score confidence.
    Algorithmic CompilationsolveLoop with compiler output and test runners to self-correct code based on diagnostic output until compilation passes.
    Vulnerability Scannersecurity_auditScan code snippets for SQL injections, XSS, insecure storage, and deprecated dependencies.
    Complex Workflow Loopsrun_workflowChaperone multi-step tasks requiring chaining and conditional validation of different tools.

    Tool Catalog

    ToolDescription
    list_available_modelsDiscover real-time models across active providers with capability tags and usage instructions (refresh: true to invalidate cache)
    ask_chatgptSend a message to ChatGPT (supports discovered model slugs)
    ask_claudeSend a message to Claude
    ask_geminiSend a message to Gemini (supports thinking_level: default · low · medium · high, sub-engines: argon · flash · pro)
    ask_perplexitySend a message to Perplexity
    ask_modelSend to any session or BYOK provider (supports thinking_level)
    ask_all_aisQuery all enabled providers simultaneously
    smart_queryAuto-route with modes: auto · verify · consensus · collaborate
    new_conversationReset a provider's conversation context
    ToolDescription
    generate_codeGenerate code from a description
    review_codeReview a snippet for bugs, security, and best practices
    explain_codeLine-by-line code explanation
    optimize_codePerformance optimization suggestions
    verify_codeBest-practices check for a stated purpose
    solveSolve a programming problem
    fix_errorFix an error with code patches
    explain_errorPlain-English error explanation with fixes
    convert_codeTranslate code between languages/frameworks
    build_architectureDesign system architecture
    write_testsGenerate comprehensive test files
    security_auditDeep security vulnerability audit
    ToolDescription
    deep_searchTyped search: web · reddit · github · news · math · academic · factcheck · stats
    ddg_searchFree DuckDuckGo link search (no provider needed)
    web_scrapeURL → Markdown (SSRF-guarded)
    get_ui_referenceFetch UI design references
    ToolDescription
    contentsummarize · write · brainstorm · howto · analyze · extract · improve
    compareSide-by-side comparison
    debateMulti-perspective debate
    verifyCross-AI fact-checking with confidence ratings
    ToolDescription
    analyze_fileCodebase-pack + smart-slice + symbol extraction + secret scan
    review_code_fileReview a single file on disk
    ToolDescription
    run_workflowExecute a multi-step workflow
    run_loopRun an iterative refinement loop
    crewMulti-AI collaborative task execution
    proxima_cost_reportToken usage and cost report
    proxima_agentic_statusAgentic system status
    ToolDescription
    clear_cacheClear internal caches
    show_windowShow the Proxima dashboard window
    hide_windowHide the Proxima dashboard window
    toggle_windowToggle Proxima window visibility
    set_headless_modeRun Proxima in headless mode

    REST API

    OpenAI-compatible HTTP gateway running at http://localhost:3210 by default (configurable via PROXIMA_REST_PORT or automatically discovered via rest-port.json).

    Endpoints

    POST /v1/chat/completions      # OpenAI-compatible chat (stream, tools, thinking controls)
    POST /v1/cancel                # Cancel in-flight provider generation and flush queue
    GET  /v1/models                # List dynamically discovered and BYOK models
    GET  /v1/functions             # Function catalog
    GET  /v1/stats                 # Per-provider response statistics
    POST /v1/conversations/new     # Reset conversation memory for a provider
    
    # BYOK brain endpoints
    GET  /v1/byok/keys             # BYOK key management
    GET  /v1/byok/models           # BYOK model management
    GET  /v1/brain/recall          # Cross-session recall
    GET  /v1/brain/experience      # Learned experiences
    GET  /v1/brain/skills          # Stored skills
    GET  /v1/brain/stats           # Brain statistics
    
    GET  /api/status               # Server status (returns active bound port & providers)
    GET  /                         # Interactive documentation & Battle Mode Chat Widget
    

    Example Request

    curl http://localhost:3210/v1/chat/completions \
      -H "Content-Type: application/json" \
      -d '{
        "model": "gemini",
        "message": "Analyze this architectural trade-off",
        "thinking_level": "high"
      }'
    
    • Model Selection: Accepts auto, core provider names (claude, chatgpt, gemini, perplexity), sub-engines (e.g. gemini:pro, gemini:argon), dynamically discovered model slugs (queried via GET /v1/models), or multi-provider arrays ["claude", "chatgpt"].
    • Thinking Controls: Optional thinking_level (default, low, medium, high) or OpenAI-compatible reasoning_effort.
    • Cancellation: Send POST /v1/cancel with optional {"provider": "gemini"} to abort in-flight generations immediately.

    Interactive Documentation & Battle Mode

    The gateway hosts interactive documentation at http://localhost:3210 with an embedded live chat widget:

    • Model Discovery: Automatically populates available models from active sessions with capability badges (Fast, Reasoning, Pro).
    • Battle Mode: Benchmark two or more models side-by-side on the same prompt with real-time status and timing comparisons.
    • Reasoning Selector: Dynamically displays thinking depth options when reasoning models are selected.

    WebSocket

    Real-time bidirectional streaming at ws://localhost:3210/ws (requires REST API enabled).

    const ws = new WebSocket("ws://localhost:3210/ws");
    
    ws.onopen = () => {
      ws.send(JSON.stringify({
        action: "ask",
        model: "gemini",
        thinking_level: "high",
        message: "Explain closures in JavaScript",
        id: "req-1"
      }));
    };
    
    ws.onmessage = (e) => {
      const data = JSON.parse(e.data);
      console.log(data); // Streamed chunks, status events, or completion
    };
    

    CLI

    Install via Settings ➔ Install CLI to PATH, or npm link.

    # Ask any provider
    proxima ask "How does async/await work?"
    proxima ask claude "Explain React hooks"
    
    # Code tools
    proxima code review "function f(){...}"      # actions: generate/review/debug/explain
    proxima fix "SyntaxError: Unexpected token"
    
    # Pipe build errors directly
    npm run build 2>&1 | proxima fix
    proxima audit 'SELECT * FROM users WHERE id=' + input
    
    # Content tools
    proxima debate "tabs vs spaces"
    proxima brainstorm "dev productivity features"
    proxima compare "Bun vs Node.js"
    proxima translate "Hello world" --to Hindi
    
    # Search & analyze
    proxima search "latest Node.js release"
    proxima analyze "https://example.com" -q "what is this?"
    
    # Session management
    proxima new <provider>          # reset a conversation
    proxima models | status | stats
    

    Flags: -m/--model, --json, --file, --to, --from, -q/--question


    SDKs

    Python

    # Requires: pip install requests
    # Copy sdk/proxima.py into your project
    from proxima import Proxima
    
    client = Proxima()
    response = client.chat("Hello", model="claude")
    print(response.text)
    

    JavaScript

    // Node 18+
    const { Proxima } = require('./sdk/proxima');
    
    const res = await new Proxima().chat("Hello", {
      model: "claude"
    });
    console.log(res.text);
    

    Security & Privacy

    PrincipleImplementation
    Local-firstMCP/IPC (:19222) and REST/WS (:3210) bind to 127.0.0.1. Nothing exposed to the internet.
    Credential isolationSession mode reuses existing browser logins — no passwords saved. BYOK keys are encrypted in your OS keychain (SafeStorage).
    No telemetryOnly your explicit queries go to the providers you choose.
    Gated executionThe agent executes code by design, protected by permission modes and a safety gate.
    SSRF protectionweb_scrape and the agent's web fetcher are SSRF-guarded.

    Found a vulnerability? Follow SECURITY.md — use GitHub Security Advisories, don't open a public issue.


    Frequently Asked Questions

    Is Proxima really free?

    Yes. If you use Session Mode, it communicates with the official web platforms through your active browser login sessions. There are no fees, and you don't need any paid API keys. You only pay if you explicitly choose BYOK Mode to connect your own API tokens.

    Is my data private?

    Yes. Proxima itself stores nothing on external servers—no logs, chats, keys, or sessions leave your machine, and your configuration remains encrypted locally (using SafeStorage). However, remember that Session Mode still sends your prompts to the third-party AI provider you're logged into (that's how any AI chat works). For fully offline privacy where your code never leaves your local hardware, use local models via BYOK Mode.

    How does Session Mode work without passwords?

    Proxima loads secure, isolated browser tabs (called BrowserViews) inside the background. When you log into ChatGPT or Claude inside these views, the browser maintains your active session logins locally on your device, just like Chrome or Firefox does. Proxima simply uses these local sessions to send standard prompts.

    Can I run local offline models?

    Yes. BYOK mode supports any OpenAI-compatible custom endpoints. You can run Ollama or LM Studio offline on your own machine and route all requests through Proxima.

    Does the Python agent delete or modify my code automatically?

    No. By default, the agent runs in Suggest or Smart mode. It will show you exactly what changes it wants to make and wait for you to click "Approve" before modifying any files or running commands.


    Testing

    # JavaScript test suite
    npm test
    
    # Python agent test suite
    cd proxima-agent && python -m unittest discover -s tests -p "test_*.py"
    

    See TESTING.md for the full testing strategy and coverage details.


    Contributing

    Contributions are welcome! See CONTRIBUTING.md for:

    • Fork ➔ Branch ➔ PR workflow
    • Coding style guidelines
    • Mock-at-boundary test strategy

    Please read our Code of Conduct before contributing.


    License

    Proxima is licensed under the Proxima Personal Use License (Personal, Non-Commercial use only).
    See LICENSE for the full license text and terms. For commercial licensing inquiries, please contact the repository author.


    Proxima v5.5.0 — Making every AI work together

    Built by Zen4-bit

    Website · Releases · Architecture · Changelog