Respan built a Rust AI gateway where every provider and feature is a plugin
Launch HN: Respan (YC W24) – Open-source Rust AI gateway built around plugins
After years of wrapping LiteLLM, Respan's codebase ballooned past 100,000 lines, and a routine upgrade broke connections with no clear cause. So the team rebuilt its gateway from scratch in Rust, inspired by Nginx: a tiny core that only dispatches events, with providers, protocols like MCP and realtime voice, modalities, and features such as fallbacks and PII redaction all living as plugins. It's open source and pre-alpha.
We still haven't figured out the cause, but since then, we no longer upgrade LiteLLM directly and instead manually backport upstream fixes.
- blakeashleyjr
What's your plugin model for Rust? Are they compiletime or interpreted?
- m00dy
Good luck with the launch!
Quick question: do you personally understand the Rust code in your project, or was the whole thing AI-assisted ?
- verdverm
Why are plugins a desirable feature for core features?
Today I use GoModel [1], and in example, all providers are built in. Having recently given Pi a try, the plugin ecosystem is a mess and I have more security worries.
Can you explain why you think a plugin based system is preferable to a competent team building a complete, curated product?
Plugins seems like a great way to expose yourself to supply chain security events.