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

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.0a17
File Actions
stogas-0.1.0a17-cp310-abi3-win_arm64.whl CPython 3.10 abi3 Windows ARM64 Details for stogas-0.1.0a17-cp310-abi3-win_arm64.whl
stogas-0.1.0a17-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details for stogas-0.1.0a17-cp310-abi3-win_amd64.whl
stogas-0.1.0a17-cp310-abi3-musllinux_1_2_x86_64.whl CPython 3.10 abi3 Linux musl 1.2+ x86-64 Details for stogas-0.1.0a17-cp310-abi3-musllinux_1_2_x86_64.whl
stogas-0.1.0a17-cp310-abi3-musllinux_1_2_aarch64.whl CPython 3.10 abi3 Linux musl 1.2+ ARM64 Details for stogas-0.1.0a17-cp310-abi3-musllinux_1_2_aarch64.whl
stogas-0.1.0a17-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.0a17-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
stogas-0.1.0a17-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.10 abi3 Linux glibc 2.17+ ARM64 Details for stogas-0.1.0a17-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
stogas-0.1.0a17-cp310-abi3-macosx_13_0_x86_64.whl CPython 3.10 abi3 macOS 13.0+ x86-64 Details for stogas-0.1.0a17-cp310-abi3-macosx_13_0_x86_64.whl
stogas-0.1.0a17-cp310-abi3-macosx_13_0_arm64.whl CPython 3.10 abi3 macOS 13.0+ ARM64 Details for stogas-0.1.0a17-cp310-abi3-macosx_13_0_arm64.whl

Total release size: 130.9 MB

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

Download URL stogas-0.1.0a17-cp310-abi3-win_arm64.whl
Size 9.3 MB
Tags CPython 3.10 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
c403bf2c6e80b454e0c69eaac55a3b41642ad7eb44af2d4ee034e55d2ec6a50c
BLAKE2b-256 checksum
How to use checksums
160329b89537490781673c83bf7120b304ecb4ae915424e5601b27b2060a336e
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 29, 2026.

Transparency log

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

Download URL stogas-0.1.0a17-cp310-abi3-win_amd64.whl
Size 9.9 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
b3c4d5be4d16ee1f407c9361d304b047bc44d10b2e8ae8ab114e0ce0f0777ff6
BLAKE2b-256 checksum
How to use checksums
ecbe4f91350611d97df0a6b4b3aaa226631ace463010a2fa8b75a20711cd1f59
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 29, 2026.

Transparency log

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

Download URL stogas-0.1.0a17-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
b9be1d7e0d9ca97330ce41efe9bc22d0046e3514ddedeb4290ac970d85ed5bc7
BLAKE2b-256 checksum
How to use checksums
62420ac0078e32753d8d5e2da0a41afd5e7db2710be1b458afccad701adbfcbf
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 29, 2026.

Transparency log

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

Download URL stogas-0.1.0a17-cp310-abi3-musllinux_1_2_aarch64.whl
Size 18.4 MB
Tags CPython 3.10 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
22d38fa9f9118ed6ad4655d583ed5217f959f417a5d91aae81a0cb9ec2d6a08a
BLAKE2b-256 checksum
How to use checksums
b6aac250e21133a3572b9b87c4be1ef80a00736dbcef10a9780d3b4b9fb1fdf6
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 29, 2026.

Transparency log

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

Download URL stogas-0.1.0a17-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
2258594a0390627f1a963ca072ce98457e570ee5db507d82ea3705154b454522
BLAKE2b-256 checksum
How to use checksums
bba96806631ba69edf288c4082ec65c226992766488e7082c9c37aa5b2701c83
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 29, 2026.

Transparency log

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

Download URL stogas-0.1.0a17-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
a4aa9d5dcd33121bb76482ce9b39b50bfbd2fa2817529ce5a7560288290caf81
BLAKE2b-256 checksum
How to use checksums
5567c7ff176486282137a0509094468ddc6f56b5f5e93f5981f86f78b9281f58
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 29, 2026.

Transparency log

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

Download URL stogas-0.1.0a17-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
a9d7c96d1671a94668fd4f2d194fe37cbd3e9b0fbcd0a710839f3ebe0c2ad644
BLAKE2b-256 checksum
How to use checksums
5da944572d5de917d7416a55ddfe53d0a62f4d6db2c15fa371013c70009c6ced
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 29, 2026.

Transparency log

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

Download URL stogas-0.1.0a17-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
1fe36effc5ad3de7d012e25e8b0d62933957b082fcd07d14abd3e5e595299c8f
BLAKE2b-256 checksum
How to use checksums
82799f2ba3d2ba722080d34abd21846cfbfcc90fa25da685126438551421a6e2
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 29, 2026.

Transparency log

Security for stogas 0.1.0a17

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.0a17-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 29, 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