Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.


Brasskey

The key to every engine.


Brasskey is an open-source tool to deploy, tune, verify and serve open models on any hardware, measured on your own traffic.

brasskey run        # try any model on your machine
brasskey switch     # prove an open model can replace an expensive API (coming soon)
brasskey deploy     # ship it tuned, verified and secure (coming soon)

Status

Pre-alpha. The current release is 0.1.0a2, on the way to v0.1 "It runs": brasskey run, brasskey bench and brasskey doctor --security on NVIDIA GPUs, Apple Silicon and CPUs, with llama.cpp, MLX, vLLM and SGLang. Done so far:

  • brasskey doctor: hardware, engines and running servers.
  • Planning with brasskey run --dry-run.
  • brasskey run with llama.cpp, MLX (Apple Silicon), vLLM or SGLang (NVIDIA on Linux, as a process or from the official image pinned by digest). It downloads and verifies the model, then serves it on 127.0.0.1 through a Brasskey proxy that enforces API keys. Ctrl-C stops it cleanly. llama.cpp and MLX are tested on real hardware; vLLM and SGLang are not yet tested on real GPUs.
  • brasskey doctor --security: checks this machine, or a URL, for exposed model servers.
  • brasskey bench: repeated GuideLLM runs, 95% intervals on every metric, and PASS / FAIL / INCONCLUSIVE when comparing two setups.

Next: testing vLLM and SGLang on NVIDIA GPUs, then 0.1.0. Design decisions are recorded in docs/decisions.

Install

Python 3.11 or newer, on macOS or Linux (Windows through WSL2):

brew install prcept-ai/tap/brasskey   # macOS and Linux, prebuilt
uv tool install brasskey       # or: pip install brasskey
# or, without uv: the installer sets up uv (checksum-verified) and then Brasskey
curl -LsSf https://raw.githubusercontent.com/Prcept-AI/brasskey/main/scripts/install.sh | sh

brasskey doctor                # what Brasskey sees on this machine
brasskey run --dry-run         # the model it would pick for this machine, and why

Or run it in a container (linux/amd64 and linux/arm64), for example to check or benchmark a server:

docker run --rm ghcr.io/prcept-ai/brasskey:<version> doctor --security https://gpu-box.example/v1

brasskey run starts an engine you have installed, for example brew install llama.cpp; on Apple Silicon, Brasskey can set up MLX itself if you have uv. brasskey doctor shows what's installed and how to add the rest. Releases are signed and reproducible; see SECURITY.md.

Try it from source

You need uv 0.13.6 or newer.

git clone https://github.com/Prcept-AI/brasskey.git
cd brasskey
uv sync
uv run brasskey --help
uv run brasskey doctor          # what Brasskey sees on this machine (CPU, memory, GPUs)
uv run brasskey doctor --json
uv run brasskey run --dry-run           # the model Brasskey would pick for this machine, and why
uv run brasskey run qwen3-14b --dry-run --context 32768
uv run brasskey run hf:Qwen/Qwen3-4B-GGUF:Q8_0 --dry-run   # any Hugging Face repo

brew install llama.cpp                  # the engine (macOS or Linux)
uv run brasskey run qwen3-0.6b          # download (639 MB), start, serve; Ctrl-C stops it
uv run brasskey run qwen3-4b --save     # also writes brasskey.yaml + brasskey.lock
uv run brasskey run --engine mlx        # Apple Silicon: MLX via uv, set up on first use
uv run brasskey run --engine vllm       # NVIDIA on Linux: vLLM on PATH, or its pinned image

uv run brasskey bench http://127.0.0.1:8000/v1 --save base.json      # measure a server
uv run brasskey bench http://127.0.0.1:8001/v1 --baseline base.json  # PASS / FAIL / INCONCLUSIVE
uv run brasskey bench http://127.0.0.1:8001/v1 --compare http://127.0.0.1:8000/v1

uv run brasskey doctor --security       # exposed model servers, keys, Docker, firewall
uv run brasskey doctor --security http://gpu-box:8000/v1   # check a server you run elsewhere
uv run brasskey run qwen3-4b --host 0.0.0.0 --generate-api-key   # reachable from your network

Every command supports --json (one JSON document on stdout), --debug (logs and full tracebacks on stderr) and --yes (skip confirmations), and ends with a Next: suggestion.

Secure and private by default

Servers bind to 127.0.0.1. Any other address requires a strong API key (from BRASSKEY_API_KEY or your OS keychain, never a command-line argument). There is no telemetry, and prompt content is never logged. See SECURITY.md.

Contributing

See CONTRIBUTING.md and our Code of Conduct.

License and pledge

Apache-2.0 (see LICENSE and NOTICE). The Brasskey core is Apache 2.0 and stays Apache 2.0. Paid features for organizations live in separate repositories and never change the license of this one. The Brasskey name and logo are trademarks of Prcept AI LLP; see TRADEMARKS.md.

Made by Prcept AI LLP.

Metadata

Release files for brasskey 0.1.0a2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for brasskey 0.1.0a2
File Size Uploaded Provenance Actions
brasskey-0.1.0a2.tar.gz 273.9 kB With provenance Details for brasskey-0.1.0a2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for brasskey 0.1.0a2
File Interpreter ABI Platform Actions
brasskey-0.1.0a2-py3-none-any.whl Python 3 none any Details for brasskey-0.1.0a2-py3-none-any.whl

Total release size: 462.4 kB

Release files / brasskey-0.1.0a2.tar.gz

Download URL brasskey-0.1.0a2.tar.gz
Size 273.9 kB
Tags Source
SHA-256 checksum
How to use checksums
35b47ead538e3c1233be5a64f1cef1e4bf46493cc2a982d4aa353c7df0f5805f
BLAKE2b-256 checksum
How to use checksums
1d0ddaf48aeafb57b49c22107e1b46d72ce99a20e44f2c76fccf039029560592
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.

Transparency log

Release files / brasskey-0.1.0a2-py3-none-any.whl

Download URL brasskey-0.1.0a2-py3-none-any.whl
Size 188.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
325009ce46b58d0c9a15c3b046ef9dd2e076bb817f2fbc5ea2e62a8d3e9f8a39
BLAKE2b-256 checksum
How to use checksums
b416d8b9dea4773c68c5c09082230cf98ca08a5881550a4312ce17caa8f99b66
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.

Transparency log

Security for brasskey 0.1.0a2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for brasskey-0.1.0a2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page