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

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

Total release size: 130.8 MB

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

Download URL stogas-0.1.0a11-cp310-abi3-win_arm64.whl
Size 9.3 MB
Tags CPython 3.10 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
d75889d186362e068f4799b4f7bd5607848489c273c7f07504bd13f8aca0fe4c
BLAKE2b-256 checksum
How to use checksums
35c4ae5748da6a4872e541a3af4587231e9b519013cf0b72a3885c434fe4250c
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.0a11-cp310-abi3-win_amd64.whl

Download URL stogas-0.1.0a11-cp310-abi3-win_amd64.whl
Size 9.8 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
f808ff01493d3468078d05ab7cafe9e43933deb5833467778c7c90c8186fbbbd
BLAKE2b-256 checksum
How to use checksums
bf628eeb348878f57f739b6b93d4dab526f58e0e6ab7f75603befe45ea974754
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.0a11-cp310-abi3-musllinux_1_2_x86_64.whl

Download URL stogas-0.1.0a11-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
e49382da89fcb5e0749206f13c74380a7e39ecb194349a55c66839b4f26ce4f3
BLAKE2b-256 checksum
How to use checksums
ce69a015fcd07b990997af083b2dc42696295258286d325a78d4a6e79ebe3037
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.0a11-cp310-abi3-musllinux_1_2_aarch64.whl

Download URL stogas-0.1.0a11-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
ae32cd3847b44181a152d0679eaa433de3a3f86c22d2e0221b2b92664bc38294
BLAKE2b-256 checksum
How to use checksums
0aa4052fb772c28263785d9f09d5a412f7823d748fa1f710bcb0d38f7ade9515
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.0a11-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL stogas-0.1.0a11-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
bbd62cc880e05880c29733e7ceadc351ff27cf3c02b7715bdaceb08b3182b598
BLAKE2b-256 checksum
How to use checksums
5a583691f2adf583c839bfa6ab9f9dee7bae68c707d86fbd1536d4a15f14ce7e
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.0a11-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL stogas-0.1.0a11-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 18.3 MB
Tags CPython 3.10 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
5518e83002103615b0bbbb2880495d6067ee4afb61a70cba47cb1d683ba08d2b
BLAKE2b-256 checksum
How to use checksums
b339095ed4c652faa97b0a2c96b27e01d73a1b73f3e97ac55467e213a5c715a7
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.0a11-cp310-abi3-macosx_13_0_x86_64.whl

Download URL stogas-0.1.0a11-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
8b2c9ba31b1a03b8d79642e864407c08891a92c684065a114209d6379024f1f0
BLAKE2b-256 checksum
How to use checksums
aeef5e22dfd42d9802ad6382f2a67f6cd42013851dfb9304d48cfc875122f304
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.0a11-cp310-abi3-macosx_13_0_arm64.whl

Download URL stogas-0.1.0a11-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
27d6c8f2065157932103c6d3410a09557408905bb98a01946ed5757694fa3d99
BLAKE2b-256 checksum
How to use checksums
d2daaa8ebddf4a9033fe8bb4ecf8266c23eb00262ae844643afff706d638f977
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.0a11

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