Status: [UNTESTED] Endpoints found: http://127.0.0.1:27200/v1/chat/completions http://127.0.0.1:27200/v1/messages Source: https://github.com/aikeylabs/aikey-proxy # aikey-proxy AiKey local proxy — the core execution point for Stage 2 MVP. Runs on the developer's local machine, receives requests with **virtual keys**, replaces them with **real provider keys**, and forwards to AI providers. ## Responsibilities - Virtual key (`aikey_vk_*`) → real key substitution - OpenAI / Anthropic dual-protocol compatible proxy - SSE streaming response passthrough - Reads existing Rust vault (Argon2id + AES-256-GCM) - Asynchronous usage event recording (SQLite WAL) - Model allowlist policy enforcement - Local admin API (health / status / metrics) ## Architecture ``` ┌──────────────────────────────┐ │ Developer CLI / IDE / SDK │ │ (Cursor, Claude, Python…) │ └──────────┬───────────────────┘ │ Authorization: Bearer aikey_vk_xxx │ or x-api-key: aikey_vk_xxx ▼ ┌──────────────────────────────────────────────┐ │ aikey-proxy (127.0.0.1:27200) │ │ │ │ ┌─────────┐ ┌──────────┐ ┌────────────┐ │ │ │ vkeys │→ │ provider │→ │ httputil. │ │ │ │ registry│ │ adapter │ │ Reverse │ │ │ └────┬────┘ └──────────┘ │ Proxy │ │ │ │ └─────┬──────┘ │ │ ┌────▼────┐ │ │ │ │ vault │ real key │ │ │ │ reader │──────────────────────┘ │ │ └─────────┘ │ │ â