Skip to content

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