Catalog PyPI
Back to packageRELEASE DETAILS

0.1.2

PyPI

agentity-cli

Agentity CLI — create, inspect, revoke, verify, manifest

Published17 May 2026
Direct dependencies2
Transitive dependenciesNot calculated

README

Version 0.1.2 documentation

agentity-cli

Command-line interface for the Agentity Protocol. Create agent identities, inspect AIDs, verify signatures, sign requests, and generate provider manifests.

Installation

pip install agentity-cli

Usage

# Create a new agent identity
agentity create --owner "did:agentity:human:alice" \
  --scope "api:read" --scope "api:write" --output agent.json

# Inspect an AID file
agentity inspect agent.json

# Verify signature and expiry
agentity verify agent.json

# Sign an HTTP request
agentity sign --key agent.json \
  --url https://api.example.com/data --method GET

# Generate a provider manifest
agentity manifest --name "My API" --scopes "data:read,data:write" --output manifest.json

Commands

create

Generate an Ed25519 keypair and create a signed Agent Identity Document.

Options:
  --owner TEXT         Owner DID (required)
  --scope TEXT         Scope(s), repeatable
  --ttl INTEGER        TTL in days (default: 30)
  --parent TEXT        Parent DID for delegation
  --depth INTEGER      Delegation depth (default: 0)
  -o, --output TEXT    Output file (default: stdout)

inspect

Parse and display an AID JSON file — DID, owner, scopes, dates, status, delegation, signature validity.

Arguments:
  file                Path to AID JSON file

verify

Verify the AID signature, expiry, and status. Exits with code 0 on success, 1 on failure.

Arguments:
  file                Path to AID JSON file

sign

Sign an HTTP request using a key file. Outputs Agentity-Token, Agentity-Nonce, Agentity-Timestamp headers.

Options:
  --key TEXT           Path to key/AID file (required)
  --url TEXT           Request URL (required)
  --method TEXT        HTTP method (default: GET)
  --body TEXT          Request body string

manifest

Generate a provider manifest JSON file.

Options:
  --name TEXT          Provider name (required)
  --description TEXT   Provider description
  --base-url TEXT      Provider base URL
  --fingerprint TEXT   Provider fingerprint
  --scopes TEXT        Comma-separated scope IDs (--scopes "read,write")
  -o, --output TEXT    Output file (default: stdout)

Output formats

All commands accept --output <file> or pipe to stdout. The inspect and verify commands output human-readable text. The create, sign, and manifest commands output JSON.

License: Apache 2.0

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 2

Native requirements
2 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
agentity-sdk-python
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.11",
  "evaluation": "NOT_EVALUATED"
}
agentity-sdk-python>=0.1runtime
pytest
Environment
{
  "extras": "",
  "marker": "extra == \"dev\"",
  "requires_python": ">=3.11",
  "evaluation": "NOT_EVALUATED"
}
pytest>=8; extra == "dev"runtime

Distribution files

2 collected
agentity_cli-0.1.2-py3-none-any.whl

bdist_wheel · 4.28 KB · Python py3

Source file
agentity_cli-0.1.2.tar.gz

sdist · 4.41 KB · Python source

Source file

Repository

PENDING
agenttity/agentity

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:28 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:6dff09dfd3087e877b88227a0479b49bb647cf1c902ec8c88ecdba8a6583ae5b

Other collected versions

View all collected versions →