Über uns
A CLI for the Antithesis platform
EntwicklerwerkzeugeGemessener Sternzuwachs
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- +2
- in 1 month
- Verlauf wird gesammelt
Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.
README.md
Originalsnouty
A CLI for humans and agents to use Antithesis.
Quickstart
With an agent
Give this prompt to your coding agent:
Set up Antithesis testing for this project.
1. Install snouty (https://github.com/antithesishq/snouty) and the Antithesis plugin (https://github.com/antithesishq/antithesis-plugin).
2. Ask me to run `snouty login` in my own terminal. When I confirm, run `snouty doctor`.
3. Use the plugin to write and test an Antithesis workload for this system.
4. Walk me through using `snouty` to analyze and debug this system.
Manually
Install snouty, and the Antithesis plugin if you use an agent:
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/antithesishq/snouty/releases/latest/download/snouty-installer.sh | shSign in. Run this in your own terminal:
snouty loginWrite a workload for your system, with the plugin or from the Antithesis docs. Put its
docker-compose.yamlin./config.Check the setup, then launch a run:
snouty validate ./config snouty launch --launcher basic_test --config ./configMonitor the run and triage failures:
snouty runs wait <run_id> snouty runs properties --failing <run_id> snouty runs show --web <run_id>
Run snouty --help to list the commands, and snouty <command> --help for details. Add --json for machine-readable output. See COOKBOOK.md for worked recipes.
Requirements
Commands that work with docker-compose.yaml files (e.g. launch, validate) require:
- Docker Compose v2 — snouty drives either the standalone
docker-composebinary or thedocker composeCLI plugin (bundled with Docker Desktop/Engine).- Linux: Install Docker Compose or check your package manager.
- macOS: Install Docker Desktop (includes Compose v2) or
brew install docker-compose.
- A container engine — Docker or Podman, used to build and push images.
If both engines are installed, Podman is preferred. You can make an explicit choice via the container_engine setting.
Install snouty
# Shell script. This install can update itself, see Updating.
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/antithesishq/snouty/releases/latest/download/snouty-installer.sh | sh
# Prebuilt binary with cargo binstall
cargo binstall snouty
# Prebuilt binary with npm
npm install -g snouty
# From source
cargo install snouty
# Nix, from nixpkgs-unstable (may lag snouty releases)
nix profile install github:NixOS/nixpkgs/nixpkgs-unstable#snouty
Updating
If you installed with the shell script, run:
snouty update # latest release on your channel
snouty update 0.6.0 # a specific release, including pre-releases
The stable channel (the default) installs releases only. The unstable channel also installs pre-releases. Set the channel with update_channel in a settings file or SNOUTY_UPDATE_CHANNEL. Override it for one update with --channel:
snouty update --channel unstable
To install an older version than the current one, add --force.
If you used a different install method, update with the same tool.
Uninstalling
cargo uninstall snouty || rm -f "$(which snouty)" "$(which snouty-update)" "$(which docker-credential-snouty)"
For a Nix install, run nix profile remove snouty after nix profile install, or nix-env -e snouty after nix-env -i.
If you set up shell completions, also remove the snouty line from your shell's startup file.
Configuration
Snouty can be configured interactively via snouty login.
Run snouty settings show at any point to see what snouty resolves and which settings files it reads. Run snouty doctor to check that your environment works.
Settings are stored in ~/.config/snouty/settings.toml (or $XDG_CONFIG_HOME/snouty/settings.toml if set)
tenant = "your-tenant"
container_engine = "docker"
Settings
Environment variables always take precedence.
| Settings key | Environment variable | Purpose |
|---|---|---|
tenant |
ANTITHESIS_TENANT |
Your Antithesis tenant. Becomes the API host, https://<tenant>.antithesis.com. |
registry |
ANTITHESIS_REGISTRY |
Container registry that snouty launch pushes the config image to. Defaults to the registry that your tenant reports. |
base_url |
ANTITHESIS_BASE_URL |
API URL, replacing the one derived from the tenant. See the proxy section below. |
https_proxy |
ANTITHESIS_HTTPS_PROXY |
URL of an HTTP(S) proxy for snouty's API requests. SOCKS is not supported. |
container_engine |
SNOUTY_CONTAINER_ENGINE |
Force docker or podman instead of auto-detecting. |
update_channel |
SNOUTY_UPDATE_CHANNEL |
stable (default) or unstable, for snouty update. |
Environment variables
These environment variables have no settings key:
| Environment variable | Purpose |
|---|---|
ANTITHESIS_API_KEY |
Your API key. It takes precedence over a credential that snouty login stored. |
ANTITHESIS_GITHUB_TOKEN |
A GitHub token that can write commit statuses. Used by snouty launch to update the commit status with the Run results. |
ANTITHESIS_EXTRA_HEADERS |
Headers to add to every API request, one Name: value pair per line. For example, X-Proxy-Token: abc123 for a proxy that expects its own header. |
SNOUTY_SETTINGS_PATH |
A settings file to use in place of ./.snouty.toml. The file must exist. |
SNOUTY_DISABLE_KEYCHAIN_CREDENTIAL_STORAGE |
On macOS, set to 1 to store credentials in a file, not in the keychain. |
Docker credential helper
If you use Docker older than 28.3.0, add snouty as the credential helper for your tenant registry in ~/.docker/config.json:
{
"credHelpers": {
"registry.<tenant>.antithesis.com": "snouty"
}
}
docker-credential-snouty must be on your PATH. The shell script, npm and Nix installs put it there. If it is not on your PATH, make a symlink to snouty in a directory on your PATH:
ln -s "$(command -v snouty)" ~/.local/bin/docker-credential-snouty
Authentication
Snouty accepts three credential types: OAuth tokens, Antithesis API keys, or GitHub Actions OIDC tokens. On a workstation, run snouty login and let Snouty store a credential for you. In CI and in scripts, use an API key or GitHub Actions OIDC tokens.
Run snouty doctor to see which credential you are using or to debug authentication problems.
Credential injection by an HTTPS proxy
Some VM and development platforms hold your credentials for you, and inject them into outbound requests. The platform gives you a hostname that stands in for https://<tenant>.antithesis.com. That hostname terminates TLS, replaces the Authorization header with the real credential, and forwards the request. Your machine never holds the secret. Replit and exe.dev work this way; check your platform's documentation for the hostname it gives you.
To configure Snouty to use a API proxy:
snouty login --base-url https://antithesis.int.example.com
MCP server
snouty mcp serves most of snouty's commands to AI agents as Model Context Protocol tools, over the stdio transport.
Run snouty login once before you use snouty mcp. The server uses snouty's credentials and configuration to access Antithesis. The MCP server has no authentication of its own and communicates with clients only over stdio (stdin, stdout).
Run snouty mcp --help to see all tools and usage details.
snouty is listed in the Github MCP Registry and the official MCP Registry.
Adding snouty mcp to your agent:
# Claude Code
claude mcp add snouty --scope user -- snouty mcp
# Codex
codex mcp add snouty -- snouty mcp
Running in CI
snouty launch runs in any CI system. See CI.md for complete workflows for GitHub Actions, GitLab CI, Buildkite and CircleCI.
Shell Completions
Snouty supports tab completions for bash, zsh, fish, elvish, and PowerShell.
# Bash: add to ~/.bashrc
eval "$(snouty completions bash)"
# Zsh: add to ~/.zshrc, after compinit
autoload -Uz compinit
compinit
source <(snouty completions zsh)
# Fish: put this line in ~/.config/fish/completions/snouty.fish
snouty completions fish | source
# Elvish: add to ~/.config/elvish/rc.elv
if (has-external snouty) { eval (snouty completions elvish | slurp) }
# PowerShell: add to $PROFILE
snouty completions powershell | Out-String | Invoke-Expression
Credits
This project was originally developed by orbitinghail for use by Graft. It was donated to Antithesis for the benefit of everyone on Feb 27, 2026.
Ähnliche Projekte entdecken
Wird geladen…