Skip to main content

Agnify CLI

agnify is the command-line client for Agnify, a video-analysis platform. Drive pipelines, upload media, run executions, manage cameras, and query events — all from your terminal.

Install

One line (installs uv if needed, then the CLI):

curl -LsSf https://app.agnify.ai/install.sh | sh

Or, if you already have a Python toolchain:

uv tool install 'agnify[keyring]'   # recommended — OS keychain for tokens
# or
pipx install 'agnify[keyring]'
# or
pip install 'agnify[keyring]'

The [keyring] extra stores your refresh token in the OS keychain (macOS Keychain, Secret Service, Windows Credential Manager). Plain agnify also works — it falls back to a 0600 file under ~/.config/agnify/.

Authenticate

agnify login        # device-code flow in your browser
agnify whoami       # confirm the active user + org

For CI / cron / integrations, skip login and set an org-scoped API key:

export AGNIFY_API_KEY=ak_…          # minted in the Agnify dashboard
export AGNIFY_API_BASE=https://app.agnify.ai

Self-hosted? Point the CLI at your backend with AGNIFY_API_BASE.

Use

agnify nodes list                   # the pipeline node menu
agnify ingest file ./clip.mp4 --pipeline <template> --wait    # upload + run + wait for results
agnify run ls                       # list executions
agnify events tail                  # stream live pipeline events

Full command reference: https://app.agnify.ai/docs/cli

To import historical footage into a camera, supply its original start time explicitly, including Z or a UTC offset:

agnify camera stream cam-EXAMPLE --source ./footage.mp4 \
  --recorded-at 2026-08-01T09:00:00Z

Each segment is timestamped at that start time plus its actual position in the video. This option requires a local video file; it does not read recording dates from video metadata. Without it, streaming uses the current wall clock.

License

Apache-2.0 © 2026 Fewbits Inc. (Agnify).

Metadata

Release files for agnify 0.22.1

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

Source distribution (sdist)

Source distribution for agnify 0.22.1
File Size Uploaded Provenance Actions
agnify-0.22.1.tar.gz 124.8 kB With provenance Details for agnify-0.22.1.tar.gz

Built distribution (wheel)

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

Total release size: 225.6 kB

Release files / agnify-0.22.1.tar.gz

Download URL agnify-0.22.1.tar.gz
Size 124.8 kB
Tags Source
SHA-256 checksum
How to use checksums
9bd74049204fd11119149d2cf85a361887d09fef23de86f195cf72eb59bb9a17
BLAKE2b-256 checksum
How to use checksums
7c56e91131bd987e9fce42c980f9f26d121dc7d9a3fb832ba2a35ed396f5d511
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 16, 2026.

Transparency log

Release files / agnify-0.22.1-py3-none-any.whl

Download URL agnify-0.22.1-py3-none-any.whl
Size 100.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ea552a4f57608f23404ae459d1d5449549da80ac0b466a95cd0815f6dc020b73
BLAKE2b-256 checksum
How to use checksums
47284aa8d72914bcb10e7fa3588dc9f56ff5e9c615a09597f3a762a809390345
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 16, 2026.

Transparency log

Security for agnify 0.22.1

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 agnify-0.22.1.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 16, 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