Skip to content

Releases: DeconBear/keyway

v0.1.3

Choose a tag to compare

@github-actions github-actions released this 28 Jun 12:16
v0.1.3

v0.1.2

Choose a tag to compare

@github-actions github-actions released this 27 Jun 21:04
Split bilingual README, clarify /model switching and CC Switch role

Split the single bilingual README into English README.md (main entry)
and Chinese README-zh.md, with cross-links at the top of each file.

Clarify the usage example: once four model routes are configured in
Keyway, users can switch between them directly inside Claude Code via
the /model command — no restart or config change needed. CC Switch is
repositioned as an optional profile-management helper for organizing
default models across projects, not a requirement for switching.

Bump version to 0.1.2.

💘 Generated with Crush

v0.1.1

Choose a tag to compare

@github-actions github-actions released this 27 Jun 20:57
Add multi-provider usage example and bump to v0.1.1

Add a detailed bilingual usage example showing how to configure four
upstream models (deepseek-v4-pro, glm-5.2, minimax-m3, kimi-k2.7-code)
through Keyway, connect Claude Code with the resulting db_sk_ key, use
CC Switch for model switching, and the local OpenAI/Anthropic base URL
conventions. Bump version to 0.1.1 for PyPI release.

💘 Generated with Crush

v0.1.0 — Initial Release

Choose a tag to compare

@DeconBear DeconBear released this 27 Jun 20:48

Keyway v0.1.0 — Initial Release

A lightweight self-hosted LLM routing gateway with OpenAI & Anthropic dual-protocol support.

Install

pip install keyway-router

Features

  • Dual-protocol proxy: OpenAI /v1/chat/completions + Anthropic /v1/messages
  • Model aliases: map client-facing names to any upstream model
  • Group isolation: keys are bound to groups; clients can only access their group's providers/routes
  • Self-issued db_sk_ API keys: plaintext retrievable by admin
  • Fernet encryption at rest: all upstream API keys and key plaintexts encrypted
  • Built-in tools: Tavily web search auto-injected into OpenAI tool-use loops
  • Request logging: status, latency, and token counts for every upstream call
  • E2E testing: one-click probe of all enabled routes
  • Generation forwarding: image/video/3D endpoints via configurable upstream_path
  • Zero external dependencies: just Python + SQLite
  • Web admin UI: full CRUD management interface, zero-dependency vanilla JS
  • Docker support: docker compose up for one-command deployment

Quick Start

pip install keyway-router
python -c "import secrets; print('KEYWAY_SECRET=' + secrets.token_urlsafe(48))" > .env
echo "KEYWAY_ADMIN_TOKEN=my-admin-token" >> .env
keyway

Then open http://localhost:9233/ to access the admin UI.

Links