Great points.
You’re absolutely right, a native “Sign in with OpenAI” (OAuth) would be the dream solution. But until that exists, we are stuck with the current BYOK model, which has some major flaws.
Right now, I have to trust every single app owner to store my raw key securely. Plus, if I use 5 different AI tools, I’m pasting the same key into 5 different places. That is a massive attack surface; if just one of those apps is compromised, my key is leaked, not to mention you can’t generally limit per app you added the key into, no limits on what it does with it.
This Gateway is definitely a backend component, but one the user owns, currently it’s made so that you can easily deploy it to Vercel, it’s a nextjs app, with a proper UI, it’s designed so that you can add plugins ( a plugin per resource ), which are ideally a plug and play into the app, which I hope can be made in the future so that it is doable from the within the app.
The goal is to stop scattering raw keys across the web. I host the Gateway myself, so I only have to trust my infrastructure, I set the rules. The apps just get a temporary, limited connection rather than the master key.
Agreed that this isn’t for the average user, but for power users and devs, but that’s a given with BYOK model, but maybe it can bridge the gap, I think there’s many possibilities this could add and improve on. it’s a way to centralize control rather than handing out admin keys to every new tool we try.
Further, I think maybe , a big maybe, this infrastructure could potentially be the backbone of data decentralization, each use has to host their own data.
But that’s something else.
I see this became a little long, apologies for that.