Skip to main content

AgentShield CLI

AgentShield CLI is the installable command-line package for running QA gate checks against a target repository.

Public Commands

agentshield init --yes
agentshield check --strict

init --yes scans the current repository and writes .agentshield/config.yaml.

check --strict loads .agentshield/config.yaml and runs the configured checks. If the config file is missing, check auto-initializes unless --no-init is set.

Install

The commands below work after agentshield-cli has been published to PyPI or to your organization's private package index.

macOS or Windows with uv

uv tool install agentshield-cli

macOS or Windows with pipx

pipx install agentshield-cli

Local Development Install From This Monorepo

uv tool install --from ./packages/cli agentshield-cli

Usage

From the target repository root:

agentshield init --yes
agentshield check --strict

If the repository already contains .agentshield/config.yaml, initialization is not required:

agentshield check --strict

Notes

  • The public command surface is intentionally small: check and init.
  • The analyzer exists internally, but external users do not need to learn a separate scan command.
  • Generated checks prefer argv arrays for better macOS and Windows compatibility.

Release files for agentshield-cli 0.1.0

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

Source distribution (sdist)

Source distribution for agentshield-cli 0.1.0
File Size Uploaded
agentshield_cli-0.1.0.tar.gz 31.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for agentshield-cli 0.1.0
File Interpreter ABI Platform
agentshield_cli-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 46.2 kB

Release files / agentshield_cli-0.1.0.tar.gz

Download URL agentshield_cli-0.1.0.tar.gz
Size 31.8 kB
Tags Source
SHA-256 checksum
How to use checksums
cb6748b104ff2876de9f7ce3f659da1a2a7e6e71c0062420f26212730a8b9b36
BLAKE2b-256 checksum
How to use checksums
8138cc3ed251da0429a7ac33a064a37143ed7c454e24f43ebad1a9bff145d256
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Mar 30, 2026.

Transparency log

Release files / agentshield_cli-0.1.0-py3-none-any.whl

Download URL agentshield_cli-0.1.0-py3-none-any.whl
Size 14.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
11969fa58d8032f3e457e35edc49b9fc1cf0994b179109da1837b373d142ff2e
BLAKE2b-256 checksum
How to use checksums
3a75707b745e716beca7e0c5b08a9a16adf5989479b534a0d5930166912d712e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Mar 30, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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