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. 0.1.0a1 is the first release on PyPI, 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):

uv tool install brasskey       # or: pip install brasskey
brasskey doctor                # what Brasskey sees on this machine
brasskey run --dry-run         # the model it would pick for this machine, and why

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.0a1

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.0a1
File Size Uploaded Provenance Actions
brasskey-0.1.0a1.tar.gz 262.3 kB With provenance Details for brasskey-0.1.0a1.tar.gz

Built distribution (wheel)

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

Total release size: 450.6 kB

Release files / brasskey-0.1.0a1.tar.gz

Download URL brasskey-0.1.0a1.tar.gz
Size 262.3 kB
Tags Source
SHA-256 checksum
How to use checksums
1fc2060c66e887585714da567580e13b888c420d19658654b952bada1be8d1e5
BLAKE2b-256 checksum
How to use checksums
f5f9b6b92dbedb8a30dcd3fa3eeed5be62e39b16127375f655a85e89ba0e74e9
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.0a1-py3-none-any.whl

Download URL brasskey-0.1.0a1-py3-none-any.whl
Size 188.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bc0df61f92cd1324f1d01c8f9d4b1abf8fa5a034015070b1c8e52d9368810810
BLAKE2b-256 checksum
How to use checksums
4675f330209809a5c0eea279459a212741ed29e977fe18bbf517f761fa56685d
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.0a1

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.0a1.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