Skip to main content

Command-line client for hosted Nagent deployments

Project description

Nagent CLI

nagent is the command-line client for hosted Nagent deployments.

Install

uv tool install nagent-cli
nagent --help

If uv has stale package metadata immediately after a release, refresh the package cache:

uv tool install --force --refresh-package nagent-cli nagent-cli

To install a specific version:

uv tool install 'nagent-cli==0.2.0'

Log in

Use the API base URL and management key provided by your workspace administrator:

nagent login --api-base-url https://<api-hostname> --api-key '<management-api-key>'

If --api-key is omitted, nagent prompts for it without echoing the value.

Common commands

nagent models list
nagent tools list
nagent secrets list
nagent deploy ./agent --deployment prod
nagent run prod 'Hello'

Agent bundles contain:

  • AGENTS.md — agent instructions
  • agent.yaml — public model/tool manifest

Validate a bundle locally before deploying:

nagent inspect-bundle ./agent

Machine-readable output

Use deterministic plain text for agents and scripts:

nagent deployments list --agent

Use JSON for structured automation:

nagent deployments list --json

Export deployed source

Fetch the current deployed bundle for inspection or local editing:

nagent deployments get-bundle prod --out ./prod-bundle

This writes AGENTS.md, agent.yaml, and deployment-bundle.json with logical secret binding names only. Existing files are not overwritten unless --force is supplied.

AGENT_SESSION=1 selects agent mode by default unless --json is supplied.

Upgrade

uv tool upgrade nagent-cli

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nagent_cli-0.3.1.tar.gz (46.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nagent_cli-0.3.1-py3-none-any.whl (48.9 kB view details)

Uploaded Python 3

File details

Details for the file nagent_cli-0.3.1.tar.gz.

File metadata

  • Download URL: nagent_cli-0.3.1.tar.gz
  • Upload date:
  • Size: 46.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.25 {"installer":{"name":"uv","version":"0.11.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for nagent_cli-0.3.1.tar.gz
Algorithm Hash digest
SHA256 6c8e11a597f525cac99e8966ece41615c27ae5d11ea6f68aa3d1922a50f3d08c
MD5 25feb1e8e3aecaeb792d13cc4cf5b07b
BLAKE2b-256 8b8bceec5b8a698f1d3bf2f7b7602bfdaa2e71ff0e1efb61cf5555ef3ffecd14

See more details on using hashes here.

File details

Details for the file nagent_cli-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: nagent_cli-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 48.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.25 {"installer":{"name":"uv","version":"0.11.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for nagent_cli-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a919de8cad7fd154b7dbdf1dc05e7d4e3542b511faa9884cd2eaf5554cf75db7
MD5 72cffb20630f5a19bfcc15e8798752ab
BLAKE2b-256 cbd4d83c7773a39a1cb143840b1eaf7604b3f6658997193e8de7d94b47f87222

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page