garrison-hq
The Garrison control plane
(install garrison-hq, import garrison_hq):
- accounts, with database sessions, CSRF protection and a login rate limit;
- apps, tools, agents with immutable prompt versions, flows and grants, each change compiled by the SDK's config compiler before it's saved, versioned and audited;
- app keys, and the bundle API that the SDK's remote mode
(
Platform.from_service) pulls from; - trace ingestion and dashboards: per-app traces, sessions, tokens and cost.
Install and run
pip install garrison-hq # SQLite by default
pip install "garrison-hq[postgres]" # + the Postgres driver (psycopg)
garrison-hq create-user --email you@example.com # the first account (prompts for a password)
garrison-hq serve --port 8200 # migrates, then serves http://localhost:8200/ui
garrison-hq migrate # run migrations yourself (with GARRISON_AUTO_MIGRATE=0)
garrison-hq cleanup-traces --older-than 30d # delete old traces (--dry-run counts them)
DATABASE_URL picks the database (default sqlite:///./garrison_hq.db, or
postgresql+psycopg://user:pass@host/db). The other settings are
GARRISON_* environment variables, listed in the
repo README.
Python 3.11 or newer.
From source
pip install -e sdk -e "server[dev]" # from the repo root
pytest -q server # add TEST_POSTGRES_URL=... to also run on Postgres
License
Apache License 2.0. See LICENSE.
Metadata
Release files for garrison-hq 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| garrison_hq-0.1.0.tar.gz | 57.4 kB | With provenance | Details for garrison_hq-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| garrison_hq-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for garrison_hq-0.1.0-py3-none-any.whl |
Total release size: 130.5 kB
Release files / garrison_hq-0.1.0.tar.gz
| Download URL | garrison_hq-0.1.0.tar.gz |
|---|---|
| Size | 57.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
049c69275f5c0f0fb1badd8fe6d18125ace13e91de855299caae621351a74d4c
|
|
BLAKE2b-256 checksum How to use checksums |
0c7ff734823d61c975ca39a5a7253186665a74d0aa5d070fe637b46ae01ce5b8
|
| 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 23, 2026.
Transparency logRelease files / garrison_hq-0.1.0-py3-none-any.whl
| Download URL | garrison_hq-0.1.0-py3-none-any.whl |
|---|---|
| Size | 73.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f9a4135f2ba8affa8be2fcd21240de559caa47b52f12579967ee6a6792ef5a19
|
|
BLAKE2b-256 checksum How to use checksums |
fd3cd3ee284918055c0408e5c2ecd13ff6803f8731164558770e70bb7a8aa43a
|
| 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 23, 2026.
Transparency logSecurity for garrison-hq 0.1.0
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.
Attestation for garrison_hq-0.1.0.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 23, 2026.
Transparency logA 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.