Skip to main content
Pre-release

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

Stogas SDK

Verify a Stogas confidential gateway before you send it credentials or prompts. One Rust core serves the CLI and the SDKs for Rust, Python, JavaScript, Go, C, Java, .NET, Ruby, and Swift.

Documentation · Examples · Security

Use the CLI

Install the CLI. Each command installs a release archive after it checks the SHA-256:

curl -fsSL https://raw.githubusercontent.com/StogasAI/stogas/main/install.sh | sh   # macOS and Linux
irm https://raw.githubusercontent.com/StogasAI/stogas/main/install.ps1 | iex       # Windows PowerShell
brew install stogasai/tap/stogas                                                    # Homebrew

Then start a local endpoint:

stogas serve --security tls

stogas serve checks the gateway's hardware attestation and build, and then prints a base URL for OpenAI clients and one for Anthropic clients, such as Claude Code. Use the one that fits your client, and keep it private. --security e2ee encrypts end to end over HTTPS instead.

The CLI guide lists every command and the other ways to install, such as Scoop, pipx, cargo-binstall, and Docker. cargo install stogas-cli --locked and nix run github:StogasAI/stogas build the CLI from source.

Use an SDK

Choose a language guide or a runnable example. The SDK gives your OpenAI-compatible client or HTTP library a transport that verifies the gateway. It also verifies signed receipts and saved evidence offline.

The project is pre-1.0, so APIs can change. Some package managers install a pre-release only when you ask:

pip install --pre stogas
gem install stogas --pre
dotnet add package Stogas --prerelease
cargo add stogas@<version>
npm install stogas@<version>

Maven and Swift also take the exact version.

Standalone verifiers

Two parts of the core also work without Stogas, as crates and as WebAssembly packages for browsers, Node, Bun, Deno, and Workers:

Verifies Rust npm
AMD SEV-SNP attestation reports stogas-sev-snp @stogas/sev-snp
GitHub and GitLab build attestations stogas-sigstore @stogas/sigstore

Verify a release

Every file of a release has a GitHub build attestation, and so does the container image, as oci://ghcr.io/stogasai/stogas:<version>:

gh attestation verify <file> --repo StogasAI/stogas --signer-workflow StogasAI/stogas/.github/workflows/release.yml --source-ref refs/tags/v<version> --deny-self-hosted-runners

GitLab.com's hosted runners also rebuild each full release from the same tag, and gitlab-attestation.jsonl covers every file they built. A preview, such as an alpha version, has that file only when GitLab rebuilt it. Only Apple hardware runs Xcode, so GitLab packages the macOS and iOS compiler outputs of GitHub's build:

cosign verify-blob-attestation <file> --bundle gitlab-attestation.jsonl --type https://slsa.dev/provenance/v1 --certificate-oidc-issuer https://gitlab.com --certificate-identity https://gitlab.com/stogasai/stogas//.gitlab-ci.yml@refs/tags/v<version>

Develop

Rust 1.94.1 or later builds the workspace:

cargo test --locked --workspace --all-targets

CI tests the core, the transports, and every language binding on each push. A nightly fuzz campaign covers the parsers and the verification code.

License

Apache-2.0.

Metadata

Release files for stogas 0.1.0a13

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

Built distributions (wheels)

Table of built distributions (wheels) for stogas 0.1.0a13
File Actions
stogas-0.1.0a13-cp310-abi3-win_arm64.whl CPython 3.10 abi3 Windows ARM64 Details for stogas-0.1.0a13-cp310-abi3-win_arm64.whl
stogas-0.1.0a13-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details for stogas-0.1.0a13-cp310-abi3-win_amd64.whl
stogas-0.1.0a13-cp310-abi3-musllinux_1_2_x86_64.whl CPython 3.10 abi3 Linux musl 1.2+ x86-64 Details for stogas-0.1.0a13-cp310-abi3-musllinux_1_2_x86_64.whl
stogas-0.1.0a13-cp310-abi3-musllinux_1_2_aarch64.whl CPython 3.10 abi3 Linux musl 1.2+ ARM64 Details for stogas-0.1.0a13-cp310-abi3-musllinux_1_2_aarch64.whl
stogas-0.1.0a13-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 abi3 Linux glibc 2.17+ x86-64 Details for stogas-0.1.0a13-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
stogas-0.1.0a13-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.10 abi3 Linux glibc 2.17+ ARM64 Details for stogas-0.1.0a13-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
stogas-0.1.0a13-cp310-abi3-macosx_13_0_x86_64.whl CPython 3.10 abi3 macOS 13.0+ x86-64 Details for stogas-0.1.0a13-cp310-abi3-macosx_13_0_x86_64.whl
stogas-0.1.0a13-cp310-abi3-macosx_13_0_arm64.whl CPython 3.10 abi3 macOS 13.0+ ARM64 Details for stogas-0.1.0a13-cp310-abi3-macosx_13_0_arm64.whl

Total release size: 130.8 MB

Release files / stogas-0.1.0a13-cp310-abi3-win_arm64.whl

Download URL stogas-0.1.0a13-cp310-abi3-win_arm64.whl
Size 9.3 MB
Tags CPython 3.10 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
471fed3c415699120e88da830b6d28e20198193bbf5d83714a7ca8ae7f958d28
BLAKE2b-256 checksum
How to use checksums
2ba438cacce51c6e9175cd4f626112be23f6a2f9aa6e22b9d3142c0cf94ae649
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 28, 2026.

Transparency log

Release files / stogas-0.1.0a13-cp310-abi3-win_amd64.whl

Download URL stogas-0.1.0a13-cp310-abi3-win_amd64.whl
Size 9.8 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
d47093300da9ec9522857f15624f547e635ca9d79e21645b43765185269d1925
BLAKE2b-256 checksum
How to use checksums
ba14a9e882cba01b6e5052ff4b9620fa0b334899644389e8f30b3397d617e134
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 28, 2026.

Transparency log

Release files / stogas-0.1.0a13-cp310-abi3-musllinux_1_2_x86_64.whl

Download URL stogas-0.1.0a13-cp310-abi3-musllinux_1_2_x86_64.whl
Size 18.9 MB
Tags CPython 3.10 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
936cad49746e890e9815c008d37489758fea87cd5710cfeaefa6f9a451ec4124
BLAKE2b-256 checksum
How to use checksums
f4160e781fadcecc68ade02f728738b5aa5d5a29f02862a80abbd5d17e49b173
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 28, 2026.

Transparency log

Release files / stogas-0.1.0a13-cp310-abi3-musllinux_1_2_aarch64.whl

Download URL stogas-0.1.0a13-cp310-abi3-musllinux_1_2_aarch64.whl
Size 18.3 MB
Tags CPython 3.10 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
be21681efb02831aa15d2bcc3fb2fb85a408126743d386a896aef788d23590d7
BLAKE2b-256 checksum
How to use checksums
b944b99d8e01aefa0502eda28ca804e3647bb466371c121ad41c86a680339712
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 28, 2026.

Transparency log

Release files / stogas-0.1.0a13-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL stogas-0.1.0a13-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 18.9 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
e48f716ba3507d000688f1a1858077ad68e33f8412b108abeceb4aa8d36ca6c7
BLAKE2b-256 checksum
How to use checksums
977f3ea372abd286c84e00621447d8014a6bdc8a1ae68bdcbb67dc92a07cabaa
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 28, 2026.

Transparency log

Release files / stogas-0.1.0a13-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL stogas-0.1.0a13-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 18.4 MB
Tags CPython 3.10 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
a5f91774632db7b08f6ab0dbfcf1919e320a6edbc2c47dd9bbc4006b2e21ba63
BLAKE2b-256 checksum
How to use checksums
9cf9d50b2040f2a1877cc292c8e460a523d2013f8be4846274ffdb8478ad1a83
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 28, 2026.

Transparency log

Release files / stogas-0.1.0a13-cp310-abi3-macosx_13_0_x86_64.whl

Download URL stogas-0.1.0a13-cp310-abi3-macosx_13_0_x86_64.whl
Size 19.5 MB
Tags CPython 3.10 abi3 macOS 13.0+ x86-64
SHA-256 checksum
How to use checksums
636e7c315165a4acc7b5ce0e7b5ee00bcfa243005c873429ea6ad1b4b2985fee
BLAKE2b-256 checksum
How to use checksums
4a1df77a1d0810ac81708ae474de26f908e0ad12d83c823bac1b6155527d32cd
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 28, 2026.

Transparency log

Release files / stogas-0.1.0a13-cp310-abi3-macosx_13_0_arm64.whl

Download URL stogas-0.1.0a13-cp310-abi3-macosx_13_0_arm64.whl
Size 17.6 MB
Tags CPython 3.10 abi3 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
b79d4e031968392cce82c66d2282b20973be06e125810c5fdc7de91fc70eefbc
BLAKE2b-256 checksum
How to use checksums
374bb3dbbb888302d98e8a53a5df9570a96660b7b5051914b33a71819e6b97ae
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 28, 2026.

Transparency log

Security for stogas 0.1.0a13

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.

Select from 8 files

Attestation for stogas-0.1.0a13-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 28, 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