ai-unified-proxy
Unified AI Proxy - API multi-proveedor gratuita con rotación automática, streaming, y zero vendor lock-in
npx skills add majiayu000/claude-skill-registry --skill ai-unified-proxy --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# AI Unified Proxy Architecture ## 🎯 Objetivo Crear una API unificada de IA que: - ✅ No dependa de NADIE (zero vendor lock-in) - ✅ Use capas gratuitas de múltiples proveedores - ✅ Rote servicios automáticamente (round-robin) - ✅ Soporte streaming de tokens (SSE) - ✅ Sea extensible (local + cloud) - ✅ Se despliegue fácil en VPS (Coolify) --- ## 🧱 Stack Tecnológico ### Runtime: Bun (B) **Por qué Bun:** - ⚡ Ultra rápido (alternativa a Node.js) - 📦 `bun install` - gestor de paquetes integrado - 🚀 `bun run` - ejecutor nativo - 📘 TypeScript nativo sin configuración - 🎯 Ideal para APIs livianas **Instalación:** ```bash curl -fsSL https://bun.sh/install | bash ``` ### Servidor: Bun.serve() **Características:** - HTTP server nativo (sin Express/Fastify) - Puerto dinámico: `process.env.PORT || 3000` - Manejo manual de rutas (control total) - Performance superior --- ## 🧠 Arquitectura Lógica ``` Client | POST /chat | API Gateway (Bun) | Round-Robin Selector | AI Service Adapter (contrato común) | ┌─────────┬──────────┬─────────┬────────────┬─────────┐ │ Grok │ Cerebras │ Gemini │ OpenRouter │ Local │ └─────────┴──────────┴─────────┴────────────┴─────────┘ | Streaming Response (SSE) ```
- 🎯 Objetivo
- 🧱 Stack Tecnológico
- Runtime: Bun (B)
- Servidor: Bun.serve()
- 🧠 Arquitectura Lógica
- 📜 Contrato Común (Clave del Sistema)
- Tipo: ChatMessage
- Interfaz: AIService
- 👉 Regla de Oro
- 🔁 Balanceo: Round Robin
- Estado Global
- Selector
- Ventajas
- Evolución Futura
curl -fsSL https://bun.sh/install | bash API Keys Server API Keys (obtener en respectivos dashboards) Server config curl -fsSL https://cdn.coollabs.io/coolify/install.sh | bash Instalar dependencias bun install Crear .env con tus keys cp .env.example .env
What does the ai-unified-proxy skill do?
Unified AI Proxy - API multi-proveedor gratuita con rotación automática, streaming, y zero vendor lock-in
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill ai-unified-proxy --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
