This release is a pre-release and may not be stable for production use.
Stogas SDK
Verify Stogas confidential gateways before sending credentials or inference content. One Rust core powers native clients, WebAssembly, and offline verification.
Documentation · Examples · Security
What it does
- Verifies hardware attestation, approved builds, and session keys.
- Connects through attested TLS or end-to-end encryption over HTTPS.
- Verifies signed request receipts and downloaded evidence, online or offline.
- Encrypts provider credentials and plugin settings locally with your organization key.
Use the verifier transport with your language's OpenAI-compatible client or HTTP library. Bindings cover Rust, Python, Go, C, Java, .NET, Ruby, and Swift; JavaScript uses WebAssembly with Fetch-compatible runtimes. This project is pre-1.0, so APIs may change.
Get started
Choose a language guide or a runnable example. Rust source builds require Rust 1.94.1 or later.
The optional CLI provides a local verified endpoint for an existing client. Install it with a package manager, which installs a release archive and checks its SHA-256:
brew install stogasai/tap/stogas # macOS and Linux
scoop bucket add stogas https://github.com/StogasAI/homebrew-tap # Windows
scoop install stogas/stogas
cargo install stogas-cli --locked and Nix, as nix run github:StogasAI/stogas -- <command>, build it from source instead, and each release also has a native archive for every platform. Then run:
stogas serve --security tls
Use the printed URL as your client's base URL and keep it private. The transport sends a request again only when the gateway refused it before starting it, so a client retry after any other interruption may run the request again. Use --security e2ee for encrypted transport over HTTPS.
Other commands:
stogas signup # create an account and save its access token in the keychain
stogas topup 20 BTC # add credit with a cryptocurrency payment
stogas api GET /api/account # send a dashboard API request with the saved access token
stogas probe --security tls # check a fresh verified connection without an API key
stogas verify evidence.json --json # verify saved evidence offline
stogas encryption-key --output org.key
stogas verify-release ./release # verify downloaded release assets
Streamed content can arrive before final verification. Treat a response as complete only after verified completion. See the CLI guide for sign-in, top-ups, customer encryption and proofs.
Previews
Until Stogas's production gateways serve evidence, each release is a preview, such as 0.1.0-alpha.1. Every package passed its offline tests on every platform, but a preview cannot connect until production starts, and Stogas does not sign previews. Package managers skip pre-releases unless asked:
pip install --pre stogas
npm install stogas@next
cargo install stogas-cli --version 0.1.0-alpha.1 --locked
gem install stogas --pre
dotnet add package Stogas --prerelease
go get github.com/StogasAI/stogas/go@v0.1.0-alpha.1
Maven uses ai.stogas:stogas:0.1.0-alpha.1. Check a preview's downloads with GitHub's build proof: gh attestation verify <file> --repo StogasAI/stogas.
Contributing
cargo test --locked --workspace --all-targets
CI covers the core, transports, and language bindings; fuzzing covers parsers and verification boundaries. scripts/live-test.py runs every language's tests against the live gateway. Report vulnerabilities through the security policy.
License
Metadata
Release files for stogas 0.1.0a1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 97.9 MB
Release files / stogas-0.1.0a1-cp310-abi3-win_arm64.whl
| Download URL | stogas-0.1.0a1-cp310-abi3-win_arm64.whl |
|---|---|
| Size | 11.8 MB |
| Tags | CPython 3.10 Windows ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
36d9d3efba5cdbf665426179398a837b92be3c3d24b8b0f9d0d7de3ac284ec36
|
|
BLAKE2b-256 checksum How to use checksums |
f47a7a359f9290bf5c6ce12ba507bfdfc81fc0fa920a4c9168cc3c7653234448
|
| 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 3, 2026.
Transparency logRelease files / stogas-0.1.0a1-cp310-abi3-win_amd64.whl
| Download URL | stogas-0.1.0a1-cp310-abi3-win_amd64.whl |
|---|---|
| Size | 12.4 MB |
| Tags | CPython 3.10 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
7085aa85980b611898e4737e338bab80128f07f6a95b00bee45e4b90dc199d1d
|
|
BLAKE2b-256 checksum How to use checksums |
dd41f1e35007b6d479683dd9c17713fa2e7eba198a4f275fc38be783da120127
|
| 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 3, 2026.
Transparency logRelease files / stogas-0.1.0a1-cp310-abi3-musllinux_1_2_x86_64.whl
| Download URL | stogas-0.1.0a1-cp310-abi3-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 12.0 MB |
| Tags | CPython 3.10 Linux musl 1.2+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
8529fe31bceac59d13935c2a3c1faad247d16cab8d6d427f74ac8837f92b3020
|
|
BLAKE2b-256 checksum How to use checksums |
1192f09079c121760f5678adffd0e383be51791eef6735234354ecbb1d27f524
|
| 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 3, 2026.
Transparency logRelease files / stogas-0.1.0a1-cp310-abi3-musllinux_1_2_aarch64.whl
| Download URL | stogas-0.1.0a1-cp310-abi3-musllinux_1_2_aarch64.whl |
|---|---|
| Size | 11.8 MB |
| Tags | CPython 3.10 Linux musl 1.2+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
41315a8810972de6b62ef9dc1d39402ffa5933c484b7d07d1adb9777eb3d0ce6
|
|
BLAKE2b-256 checksum How to use checksums |
ad7323663a3f80b2a03eb565f3bab9ce23d19a9575ef2bac9cb5c649b2f87122
|
| 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 3, 2026.
Transparency logRelease files / stogas-0.1.0a1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | stogas-0.1.0a1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 12.1 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
c332fce8f145af274583fd6ac0053cd1d62d9733d42385a01d8ba5177ae9453d
|
|
BLAKE2b-256 checksum How to use checksums |
52630b09758d3d3ae5d3f06c7edcb422790ed44cbfa26c7af0e7966217e0bbf1
|
| 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 3, 2026.
Transparency logRelease files / stogas-0.1.0a1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | stogas-0.1.0a1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 11.8 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
4ed742c2e64c9c3c7064531e2c7a3f205289159f09f9e3746f6b8f7c6ce01df7
|
|
BLAKE2b-256 checksum How to use checksums |
465072502e39c7cc55722c49bc7cc385cadf9eccff1beb45cd45b3bbb1a9a643
|
| 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 3, 2026.
Transparency logRelease files / stogas-0.1.0a1-cp310-abi3-macosx_13_0_x86_64.whl
| Download URL | stogas-0.1.0a1-cp310-abi3-macosx_13_0_x86_64.whl |
|---|---|
| Size | 13.6 MB |
| Tags | CPython 3.10 abi3 macOS 13.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
db1c0458c216958c6cb67eed702ce3c2b82cacc1daef4b13006748759f1106f7
|
|
BLAKE2b-256 checksum How to use checksums |
f945265c83861587439c7814dda966e592d98fed93bc484b4dd04aec9283c982
|
| 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 3, 2026.
Transparency logRelease files / stogas-0.1.0a1-cp310-abi3-macosx_13_0_arm64.whl
| Download URL | stogas-0.1.0a1-cp310-abi3-macosx_13_0_arm64.whl |
|---|---|
| Size | 12.3 MB |
| Tags | CPython 3.10 abi3 macOS 13.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
571e948d870cb0875795ac2a8b4f32162480c36231ab530ba42740c842f1305b
|
|
BLAKE2b-256 checksum How to use checksums |
d7860fe248af738afc8f0cce2e635db5732c37c7588a261feb31bc5865b2f6ee
|
| 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 3, 2026.
Transparency logSecurity for stogas 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
All 8 files in this release have been uploaded with provenance metadata.
Attestation for stogas-0.1.0a1-cp310-abi3-win_arm64.whl
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 3, 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.