Inspiration

At a school, a lab or a small team, everyone wants to use AI models, and the usual answer is to pass one API key around. Nobody can see who spent what, nobody can set a limit, and personal data goes to a provider unchecked.

The open-source gateways I looked at, LiteLLM first of all, solve parts of this. I wanted one that is cleaner and more cohesive, and that a small group can run on its own server.

What it does

Kaeso is an open-source AI gateway you run yourself. It sits between your apps and the model providers.

  • One endpoint for every model. Apps speak the OpenAI, Anthropic or Gemini format, and Kaeso translates the request, the reply and the stream for the provider.
  • Keys, limits and budgets per project, member and key, with usage, costs and request logs in a web console.
  • Guardrails that find secrets and personal data in a prompt and mask them before a model sees them.
  • Single sign-on, SCIM 2.0 and roles, so an organization controls who may use which model.
  • A Playground to compare models side by side, and an MCP portal for tools.

Primary track: Community Impact. A school, club, lab or non-profit can give its people shared, budgeted and safer access to AI without handing out provider keys, on a server it controls. Kaeso is free and MIT licensed.

How it uses AI: Kaeso is the layer apps use to reach AI models. Its Playground calls the models directly, decision models answer typed questions with probabilities, and its MCP server lets AI assistants read usage and manage the gateway.

How we built it

  • Gateway in Rust (Tokio, Axum), with PostgreSQL, ClickHouse and Valkey.
  • A format library that decodes and encodes the OpenAI, Anthropic and Gemini APIs. Every decoder has a fuzz target, and the official OpenAI and Anthropic SDKs run against it in CI.
  • Console in TypeScript and React (Vite, TanStack Router and Query, Tailwind CSS) on Kaeso's own UI library.
  • Docker Compose and a Helm chart for installing it; documentation and interface in English, German and Simplified Chinese.

I am a solo student developer. The code is written by AI coding agents, mainly Claude and OpenCode, under my direction: I decide what gets built, design the product, review the result in the running console and test it. Release notes are drafted by Claude Haiku from the merged pull requests.

I know that I am the bottleneck, so I automate as much as I can without losing track of what I am building. I designed pipelines such as the one behind kpmr.kaeso.app to run almost on their own. No architecture decision goes into the code without me designing, reviewing or changing it.

The look of Kaeso is mine as well. I care a lot about how it looks, which is why I put so much work into https://kaeso.app: I programmed some prototypes myself and drew wireframes before it looked the way it does now.

Timeline: I had the idea for Kaeso before the hackathon. Work on it began around October 13, 2026, inside the hackathon window. The first public release, 0.1, shipped on October 17, and 0.7.0 on November 21.

Challenges we ran into

  • Translating between API formats without the app noticing, streams included. This is where the fuzzing and the SDK tests came from.
  • Supporting many providers with little maintenance. I ended up building my own model and provider registry instead of depending on someone else's.
  • Scope. One release was so full that it was hard to explain, so I now spread features over more versions.
  • Getting people to try it has been harder than building it.

Accomplishments that we're proud of

  • From the first release to 0.7.0 in five weeks.
  • Any app format reaches any model, tested against the official SDKs.
  • A console that people can use without reading documentation first.
  • Everything is open source under the MIT license, including the UI library.

What we learned

  • How AI gateways work: API formats, streaming, rate limits, budgets, sign-on and provisioning.
  • How to lead a project built with AI coding agents: clear rules, tests for every change, and judging the result by what a person sees in the product.
  • Where that way of working ends. Architecture and design go through me, but I don't read every line yet. I want to understand the code itself better, so my next step is to review every pull request.
  • That shipping is not the same as being used. Talking to possible users matters as much as features.

What's next for Kaeso

  • No new features for a while: until mid-January the goal is real teams using Kaeso and telling me what is missing.
  • One registry for models, providers and MCP servers.
  • Gatebench, an open benchmark for open-source AI gateways.

Built With

Share this project:

Updates

Submission history