Skip to content

Kaeso 0.7.1

53 changes
Summary

Summary

Kaeso 0.7.1 adds sources, keys that let clients report the calls they make straight to their provider so Kaeso can log and count them as observed requests. MCP servers, existing ones included, now auto-approve detected tool changes by default, and streaming latency and per-chunk CPU are cut; apps written for 0.7.0 can still set and read an MCP server's change_policy. The release also carries security fixes and fixes for Gemini apps on Google's Go SDK, OpenRouter-style reasoning requests and the installer's settings check, and no change in it is marked as breaking.

Contributors@dvnold
Added12

Added

12 changesConsole, Documentation
  1. 01

    Projects can add sources: keys that let clients such as Claude Code, Codex, Gemini CLI and Antigravity, other gateways and scripts report the calls they make straight to their provider. Kaeso logs and counts them as observed requests but is not in their path and cannot refuse them. Each source has its own sk-kso-src-… key, which never works as an API key, managed through Platform API endpoints under /orgs/{org}/projects/{project}/sources and the rights sources.view and sources.manage; observed requests count toward project, member and budget limits.

    #1438
  2. 02

    Sources report over /ingest/otlp/v1/logs, /traces and /metrics (OTLP/HTTP, protobuf or JSON), /ingest/v1/events, /ingest/v1/litellm and /ingest/v1/antigravity, with the source key in Authorization: Bearer or x-kaeso-source-key. No or an unknown key gets 401, a disabled or archived source or project 403, an oversized body 413 and too many batches 429 with Retry-After. Compose, Helm and the AWS, GCP and DigitalOcean templates route /ingest/* to the gateway.

    #1441
  3. 03

    Usage and the timeline group by source and filter by source, where the key gateway stands for the gateway's own requests; request and tool-call logs carry source_id and filter by it. A spend or token limit shows observed, the part of its use that sources reported, and it is null for rate limits. gemini-cli, antigravity and litellm user agents name the client app.

    #1443
  4. 04

    The console has a Sources page in the project sidebar, shown with sources.view, with a list, Active, Archived and All tabs, and a sheet for each source. Add source (sources.manage) picks the client, shows the key once with the setup for that client and polls until the first event arrives. The UI library gains SourceBadge.

    #1446
  5. 05

    A source's batch is read within bounded memory: a batch holds at most 1,000 records (was 5,000), and a source may send 6,000 records a minute and 200,000 a day besides its 600 batches a minute, past which it gets 429 with Retry-After. The events, LiteLLM and Antigravity endpoints answer too many records with 413 before reading them; JSON may be 8 MiB once unzipped, and protobuf stays at 16 MiB. A prompt that Claude Code or Gemini CLI reports once for a turn is kept with the first request it led to, not copied onto every request of a tool loop.

    #1454
  6. 06

    A source counts only while its own member or service account does: once the member can no longer see the project, or the service account is archived, every record is refused as inactive. Matching members by email is opt-in, with match_members defaulting to false in the API and the Add source dialog, and a record is capped at 10 million of each token count (was 100 million) and $100 of reported cost (was $10,000).

    #1455
  7. 07

    Grok Build can be added as a source, with its own kind grok, setup lines in the Add source dialog, xAI's provider mark on the source badge and a guide in the docs. A migration adds grok to the allowed source kinds, and its usual provider is xAI.

    #1459
  8. 08

    MCP servers get an auto_approve_tool_changes setting, on by default for new servers and, through a migration, for existing ones. When on, detected tool changes apply right away, are recorded in the server's tool-change history (GET /platform/v1/orgs/{org}/mcp-servers/{server}/tool-changes) and audit-logged as tool.auto_approve, without review notifications; it never turns a tool on in a project that has it off. When off, changed tools are held for review and reported to MCP server managers, as before; switching it on approves the changes that are waiting.

    #1450

Console

09
  1. 09

    Observed requests show in the request log with an Observed tag, a Reported by filter and an optional Source column, in analytics under By source for people with sources.view, and in the tool-call log. Limits with an observed part note the amount sources reported, which Kaeso counts but cannot stop.

    #1447

Documentation

10–12
  1. 10

    A Performance page in the self-hosting docs compares Kaeso 0.7.0 with LiteLLM, Bifrost and Portkey on BerriAI's ai-gateway-bench. With 64 clients, a zero-delay mock and two dedicated cores per gateway, Kaeso serves 6,338 requests a second and LiteLLM Rust 3,211; the page says the run was single-host and run by Kaeso's author.

    #1432
  2. 11

    A KPMR section in the docs explains the registry, how the gateway syncs it, the catalogue format, the public API, and retirements and model lines, in English, German and Chinese. It replaces the former concepts/kpmr page, and links to it now point into the section.

    #1434
  3. 12

    A Sources concept page and a Sources section explain observed requests, whose requests they are, limits and refusals, with a setup guide for Claude Code, Codex, Gemini CLI, Antigravity, LiteLLM, OpenRouter, OpenTelemetry and HTTP, in English, German and Chinese.

    #1449
Changed5

Changed

5 changesGateway
  1. 01

    The Helm chart, the gateway image's description and the security policy describe Kaeso as it is in 0.7. The chart gains a description, icon, keywords, Artifact Hub fields and a README, the image label names Gemini and ElevenLabs as well as alias routes, budgets, guardrails, request logs and the MCP portal, and SECURITY.md lists the supported versions.

    #1431
  2. 02

    Account › Notifications no longer has a Send a test email button; instance admins test mail under Instance › Settings › Email or with kaeso mail test, both unchanged. The POST /platform/v1/me/notifications/test endpoint is removed.

    #1440
  3. 03

    Background jobs log runs that found nothing to do at debug instead of info, while runs that did work or hit failures stay at info and job errors at error. A quiet live install had produced about 1,070 lines an hour; the filter info,kaeso_server::jobs=debug shows idle runs.

    #1444
  4. 04

    Streaming latency and per-chunk CPU are cut. Same-dialect SSE streams of OpenAI Chat Completions, OpenAI Responses and Anthropic Messages are forwarded byte for byte when content logging, reply guardrails, reasoning continuity and built-in unmasking are inactive. An OpenAI Responses stream translated to another format skips the wire-override diffing that foreign encoders ignore, and ready chunks after the first byte are written together.

    #1453

Gateway

05
  1. 05

    A fresh install starts with KPMR's model data as of 21 November 2026, 02:59 UTC: 2,936 models from the 50 providers Kaeso calls, up from 2,934, with no model removed, none newly deprecated and no status changed. minimax-latest gives way to minimax-m-latest and minimax-m-flash-latest at 14 providers; a project that follows minimax-latest keeps its current model, and the line shows that KPMR no longer lists it.

    #1465
Fixed19

Fixed

19 changesGateway, Console, UI library
  1. 01

    The installer checks the install's settings before every start of an existing install, not only right after it writes a new compose.yaml; a fresh install still skips the check. When the gateway container still runs the release compose.yaml.previous names while compose.yaml names a newer one, the run counts as an update from that release, and if the new release refuses the settings the installer puts compose.yaml back, removes compose.yaml.previous and the old release keeps running. A re-run that is not an update stops before starting and changes no files.

    #1426
  2. 02

    Versions and names with a hyphen, such as 0.7.0-rc.1 in the update history, read as written instead of spaced out. Text with a hyphen next to a letter keeps proportional figures in charts and UI library components, while dates, times and numbers keep tabular ones, and time zone offsets west of Greenwich are written with a minus sign.

    #1427
  3. 03

    After Load more, focus moves to the first new row and a polite status announces how many rows came. A page that arrives while the button only has focus, without being pressed, keeps the button in view instead, and focus that has moved on is left alone. In the request logs, the near-end loader waits while Load more has focus and loads again once focus leaves it.

    #1433
  4. 04

    Gemini apps using Google's Go SDK stream and return tool results cleanly: the SSE keepalive frame is two newlines instead of one, which had broken Go clients with an invalid stream chunk error. A Gemini content whose parts are all functionResponse without a thoughtSignature decodes as a user turn whatever its wire role, as upstreams such as Anthropic Messages require, and the original role is kept so same-dialect Gemini round trips stay exact.

    #1436
  5. 05

    OpenRouter-compatible apps can send the reasoning object (effort, max_tokens, enabled, exclude) across Claude, Gemini and OpenAI models; it was refused whenever a request crossed to Anthropic Messages, Gemini or OpenAI Responses. OpenRouter, Vercel and Ollama Cloud keep the object, other Chat Completions providers receive reasoning_effort or their thinking switch, and unknown reasoning.* keys are still refused for providers that don't take the object and across formats. exclude: true hides reasoning from replies and streams, and on Chat Completions usage still reports the reasoning tokens.

    #1442
  6. 06

    Apps written for 0.7.0 can still set and read an MCP server's change_policy, which now stands for auto_approve_tool_changes: POST and PATCH accept it again, where hold means false and accept means true, and sent together with auto_approve_tool_changes they must agree, else 400 with param: change_policy. The server view shows change_policy again, and POST …/refresh answers with accepted beside auto_approved. Their descriptions in openapi.json call them deprecated, and switching to accept behaves as switching auto-approve on, which approves the changes held for review.

    #1456
  7. 07

    No provider or model tile shows a letter any more; Amazon Bedrock models no longer show a grey letter. Rows about one model show the mark of the company that made it, read from the model id, on the new-models card, the request log's model column, the route editor's model tree and the model picker; a model under a namespace no maker owns shows the host's mark. Amazon Bedrock, fal and Baidu Qianfan, whose owners' terms don't allow their logos, show the provider icon, as do Amazon's and Baidu's own models, and KoboldCpp and TabbyAPI get marks.

    #1445
  8. 08

    SGLang and MLX LM show the provider icon: SGLang's logo is licensed CC BY-NC-ND 4.0, so a redrawn copy can't ship under MIT, and MLX LM showed Apple's logo, which Apple's guidelines reserve. DeepSeek keeps its published blue on the dark theme too, and SpaceX shows xAI's square mark again. Source badges and client buttons for Claude Code, Gemini CLI, Antigravity and OpenTelemetry, and Claude's connect button, show their marks in their makers' colours, while Codex, OpenRouter, Cursor, GitHub Copilot and ChatGPT stay black and white.

    #1451#1457
  9. 09

    Sources count each request once: a request a client sends through the gateway and also reports to a source is matched to the gateway's request and counted as a duplicate, and a GenAI call exported as a span and as a log event counts once. A prompt, Codex's request start and Codex's conversation provider that arrive one export before the request are kept for it across export batches. Requests are priced at the provider they used, not a hard-coded one, and a LiteLLM response_cost of 0 with response_cost_failure_debug_info is an unknown cost, not $0. MCP tool calls a source reports now count in Analytics' daily tool-call counts.

    #1458
  10. 10

    A link in a section's actions keeps its words on one line, so "On GitHub" beside a release on Instance › Updates no longer wraps its last word. The Updates history columns are resized so the When column shows the whole time in English, German and Chinese.

    #1460
  11. 11

    A status keeps a Chinese or Japanese word whole in a narrow row; on a phone in Chinese, source statuses such as connected and waiting no longer split across two lines. A status with several Latin words can still wrap between them.

    #1464
  12. 12

    The Claude plugin declares no MCP server again and asks for no address, because the plugin directory refuses a server whose address is a setting; its skill connects your install in Claude Code with a command and everywhere else with the custom connector link, and the console and documentation no longer mention /plugin configure.

Gateway

13–14
  1. 13

    A video whose API key is gone before it ends is still logged as the app's video, with that key, its tags and its client, instead of as a Playground video. Videos and image generations keep the id of the key that started them; videos that had already lost their key id can't be told apart from Playground videos, and the migration leaves them as they are.

    #1429
  2. 14

    Webhook signing secrets are re-wrapped by kaeso master-key rewrap during master key rotation, and startup checks catch an unconfigured master key that still wraps webhook secrets. Token prefixes are also redacted in OpenTelemetry span error messages and in fallback and tool-call log error messages.

    #1437

Console

15–17
  1. 15

    Buttons on the sign-in, sign-up, invitation, setup, password reset and agent authorization pages, the recent sign-in dialog and the sidebar's Create organization now say what they still need. They stay focusable, show the reason on hover and focus, and screen readers hear it; Authorize asks for a name in Customize, and Enter in a field doesn't send a form whose button is waiting.

    #1448
  2. 16

    The audit log names an approved or auto-approved MCP tool instead of showing its id for tool.approve and tool.auto_approve entries. A tool.reject entry keeps only the hash and still shows the id.

    #1462
  3. 17

    Table headers leave room for the sort arrow, so a header that fills its column, such as "Änderung" in German analytics breakdowns and "缓存命中" in Chinese project analytics tables, isn't cut. A header that already had room is unchanged.

    #1463

UI library

18–19
  1. 18

    The UI showcase's View source and its llms.txt source link open the commit the site was built from instead of a release tag, which returned a 404 for a pre-release build. Its search finds components by their parts, props, description and examples and shows why each result matched, in English, German and Chinese.

    #1430
  2. 19

    View source on the showcase opens the file each component is written in; 45 of 113 component pages have no folder of their own because their component is written beside others, so the old link answered 404. The build now stops when a page's source isn't in the checkout.

    #1461
Security17

Security

17 changes
  1. 01

    url is updated to 2.5.9, which fixes RUSTSEC-2026-0592: Url::origin() recursed once per nested blob: prefix and could overflow the stack. Kaeso calls origin() on URLs from configuration, update feeds, sign-in issuers and MCP server addresses, none of which is a blob: URL in practice, so nothing changes for them.

    #1435
  2. 02

    A started video or image generation holds its highest possible cost against hard budgets until it is billed, and a video nobody asks about again is billed when it ends, so jobs started one after another no longer run past a hard budget. (GHSA-7vfp-ggg2-hhwm (opens in a new tab))

  3. 03

    Transcriptions, translations and voice changes hold the longest their uploaded audio can last against hard budgets while they run, so uploads sent side by side no longer run past a hard budget. (GHSA-g48f-v4f7-4m95 (opens in a new tab))

  4. 04

    Batches check and hold hard token and spend budgets before they start, and refuse features that have no price. (GHSA-5hx3-cg7v-33c7 (opens in a new tab))

  5. 05

    kaeso-edge takes the client address from the nearest untrusted hop of X-Forwarded-For, and on Railway from X-Real-IP. (GHSA-rwrp-468m-3jv3 (opens in a new tab))

  6. 06

    Replacing or removing an organization's single sign-on connection, unlinking an account from it, requiring single sign-on or removing a member through SCIM also ends the agents and portal clients approved in the sessions that end. (GHSA-v89c-fm8p-fh9j (opens in a new tab))

  7. 07

    Account › Agents and agent grants follow the session's open organizations and sign-in rules. (GHSA-qgxw-mmg2-92qp (opens in a new tab))

  8. 08

    Account › Connections and muting an organization's emails follow the organization's sign-in rules, and an MCP sign-in finishes only while the person still belongs to the organization. (GHSA-gwf4-xf89-jr57 (opens in a new tab))

  9. 09

    MCP server sign-ins accept only https sign-in addresses, or http ones for an http server, and the console opens only web pages for them. (GHSA-25wg-9wmh-9rcg (opens in a new tab))

  10. 10

    Turning automatic updates on, or changing their channel, window or time zone while they are on, needs instance.updates.apply and a recent sign-in. (GHSA-c92c-rh4f-h5hm (opens in a new tab))

  11. 11

    Members with webhooks.view alone see only each webhook address's origin, and the audit log masks webhook addresses. (GHSA-rw8m-ggwj-8mmc (opens in a new tab))

  12. 12

    The weekly summary email shows a project's cost only to members who may see costs. (GHSA-3mc2-72rx-4792 (opens in a new tab))

  13. 13

    Provider errors on batches, media jobs and realtime sockets no longer carry key or account tokens. (GHSA-wx5j-mvf7-crwx (opens in a new tab))

  14. 14

    Responses requests refuse item_reference items, send store: false when Kaeso keeps no stored responses, and batch lines are checked the same way. (GHSA-2x35-h4qp-x2r3 (opens in a new tab))

  15. 15

    Batch uploads hold the translation memory budget, and request bodies are checked for depth before their fields are read. (GHSA-469r-9qrh-476q (opens in a new tab))

  16. 16

    Realtime speech-to-text checks audio_format before it connects, defaults to pcm_16000, and bills the audio by that format. (GHSA-w6r4-vxjx-5g7r (opens in a new tab))

  17. 17

    The AWS managed stack passes the PostgreSQL and Valkey addresses to ECS through Secrets Manager instead of the task definition's environment. (GHSA-x9fh-c3x2-88fh (opens in a new tab))

More releases

Every release

Not a service.Software you run.

One command installs the newest release, Kaeso 0.7.1, with Caddy, the console, PostgreSQL, ClickHouse and Valkey, on any Linux server with Docker.

curl -fsSLhttps://kaeso.app/install.sh | sh