Skip to main content

Arista Network Test Automation (ANTA) Framework

Code Ruff Numpy Quality Gate Status codecov
License License
GitHub CI Commit GitHub commit activity (branch) GitHub release Contributors
PyPI PyPI Version Python Versions Python format PyPI - Downloads

ANTA is a Python framework that automates tests for Arista devices.

  • ANTA provides a set of tests to validate the state of your network
  • ANTA can be used to:
    • Automate NRFU (Network Ready For Use) tests on a preproduction network
    • Automate tests on a live network (periodically or on demand)
  • ANTA can be used:

anta nrfu

Install ANTA library

The library will NOT install the necessary dependencies for the CLI.

# Install ANTA as a library
pip install anta

Install ANTA CLI

If you plan to use ANTA only as a CLI tool you can use pipx to install it. pipx is a tool to install and run Python applications in isolated environments. Refer to pipx instructions to install on your system. pipx installs ANTA in an isolated Python environment and makes it available globally.

This is not recommended if you plan to contribute to ANTA

# Install ANTA CLI with pipx
$ pipx install anta[cli]

Run the ANTA CLI:

$ anta --help
Usage: anta [OPTIONS] COMMAND [ARGS]...

  Arista Network Test Automation (ANTA) CLI.

Options:
  --help                          Show this message and exit.
  --version                       Show the version and exit.
  --log-file FILE                 Send the logs to a file. If logging level is
                                  DEBUG, only INFO or higher will be sent to
                                  stdout.  [env var: ANTA_LOG_FILE]
  -l, --log-level [critical|error|warning|info|debug]
                                  ANTA logging level  [env var:
                                  ANTA_LOG_LEVEL; default: INFO]

Commands:
  check  Commands to validate configuration files.
  debug  Commands to execute EOS commands on remote devices.
  exec   Commands to execute various scripts on EOS devices.
  get    Commands to get information from or generate inventories.
  nrfu   Run ANTA tests on selected inventory devices.
  psirt  [PREVIEW] Run ANTA tests for Arista security advisories.

You can also still choose to install it directly with pip:

pip install anta[cli]

Documentation

The documentation is published on the ANTA package website.

Contribution guide

Contributions are welcome. Please refer to the contribution guide.

Credits

Thank you to Jeremy Schulman for aio-eapi, the upstream source for ANTA's asynceapi client.

Thank you to Angélique Phillipps, Colin MacGiollaEáin, Khelil Sator, Matthieu Tache, Onur Gashi, Paul Lavelle, Guillaume Mulocher and Thomas Grimonet for their contributions and guidance.

Metadata

Release files for anta 1.11.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 anta 1.11.0
File Size Uploaded Provenance Actions
anta-1.11.0.tar.gz 373.4 kB With provenance Details for anta-1.11.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for anta 1.11.0
File Interpreter ABI Platform Actions
anta-1.11.0-py3-none-any.whl Python 3 none any Details for anta-1.11.0-py3-none-any.whl

Total release size: 937.6 kB

Release files / anta-1.11.0.tar.gz

Download URL anta-1.11.0.tar.gz
Size 373.4 kB
Tags Source
SHA-256 checksum
How to use checksums
fac7969fb4407448b5a5b3a11cdf17579e00c402d7b24fa1031778e0ebd12f5f
BLAKE2b-256 checksum
How to use checksums
6249737d976092bdc3a3e2e042cd4ca91f25e055a396bef77bcc95bb359e97b0
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 10, 2026.

Transparency log

Release files / anta-1.11.0-py3-none-any.whl

Download URL anta-1.11.0-py3-none-any.whl
Size 564.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eed4a18e3f847740fdc29c654d55aa38023996c940954e34b6ab0e2811c877b5
BLAKE2b-256 checksum
How to use checksums
ed5581683a9e4c07a7765af6adc7f09f4c431db8684543eb0867d6e2f37915cf
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 10, 2026.

Transparency log

Security for anta 1.11.0

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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for anta-1.11.0.tar.gz

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 10, 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.

Release history Release notifications | RSS feed

This release

1.11.0 This release

2 release files Full provenance

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