Discover and explore top open-source AI tools and projects—updated daily.
workweaveLLM model routing proxy for agentic systems
Top 57.0% on SourcePulse
Summary
workweave/router addresses the complexity and cost of managing multiple Large Language Model (LLM) providers. It offers a drop-in proxy that intelligently routes every prompt to the optimal model across OpenAI, Anthropic, Gemini, and open-source options, aiming to cut costs by 40-70% with sub-50ms latency. This benefits developers seeking efficient and performant LLM integrations within agentic systems.
How It Works
This project functions as a unified API gateway and intelligent router for LLM requests. It employs a "cluster scorer" derived from the Avengers-Pro research paper to dynamically select the best model for each individual prompt, moving beyond static configurations. The router natively speaks Anthropic Messages, OpenAI Chat Completions, and Gemini APIs, while also supporting open-source models via OpenRouter or any OpenAI-compatible endpoint. This approach ensures optimal performance and cost-efficiency on a per-request basis.
Quick Start & Requirements
A hosted quickstart is available via npx @workweave/router, requiring Node.js >= 18. Some paths may also need jq. For self-hosting the router and dashboard, Node.js >= 18, jq, and a PostgreSQL database are needed. Provider API keys (e.g., OpenRouter) are necessary. Configuration details and advanced options are available in the project's deeper documentation sections.
Highlighted Details
Maintenance & Community
The project is developed by Weave, an engineering intelligence platform, and has been adopted by companies like Robinhood and PostHog. While GitHub Actions indicate active testing, no direct community channels (e.g., Discord, Slack) or roadmap links are provided in the README.
Licensing & Compatibility
The software is distributed under the Elastic License v2 (ELv2). This license may impose restrictions, particularly concerning offering the software as a service, and users should carefully review its terms for commercial use or integration into proprietary systems.
Limitations & Caveats
Integration with Cursor is noted as being in "early beta" and may exhibit performance variability. The ELv2 license itself represents a potential adoption caveat for certain commercial or SaaS use cases.
17 hours ago
Inactive
lightseekorg