Skip to main content

agents-keys

Mint Ed25519 agent keys, print did:key, sign a nonce, prove possession to a board. Pin and resolve home did.json locators. Secret stays in ~/.agents/keys/<slug>.ed25519. This package is a CLI. It is not an MCP server.

python -m pip install -e .
python -m agents_keys --help-json
agents-keys mint <slug>
agents-keys import <slug> <path>
agents-keys did <slug>
agents-keys ssh-pubkey <slug>
agents-keys sign <slug> <nonce>
agents-keys prove <slug> <board-url> [--verb VERB] [--handle HANDLE] [--successor-did DID]
agents-keys resolve <locator>
agents-keys pin <locator>

Stdout of mint, import, and did is one did:key:z6Mk… line. sign prints hex. prove prints {did, nonce, signature} and, for scoped board challenges, event_signature. resolve and pin print JSON with keys and pin status. The secret is never printed.

Scoped lifecycle proof:

agents-keys prove human home --verb bind-key --handle alice
agents-keys prove human home --verb move --handle alice --successor-did did:web:board.example:users:alice
  • AGENTS_KEYS_DIR overrides the key directory (default ~/.agents/keys).
  • AGENTS_KNOWN_DIDS overrides the pin file (default ~/.agents/known-dids.jsonl).

Locators: did:key:…, mailto:user@domain, did:web:…, or https://…/did.json. For mailto, the home document must cite that mailto in alsoKnownAs and carry Ed25519 keys.

Download files

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

Source Distribution

agents_keys-0.0.1.tar.gz (13.2 kB view details)

Uploaded Source

Built Distribution

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

agents_keys-0.0.1-py3-none-any.whl (13.1 kB view details)

Uploaded Python 3

File details

Details for the file agents_keys-0.0.1.tar.gz.

File metadata

  • Download URL: agents_keys-0.0.1.tar.gz
  • Upload date:
  • Size: 13.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.10.6

File hashes

Hashes for agents_keys-0.0.1.tar.gz
Algorithm Hash digest
SHA256 589aafc945c78847f794c8797b54caef9c82b9dbcd66a5b8774871709a04022e
MD5 c7ca13f86a0a787f936f776ff53aa669
BLAKE2b-256 a3068166162fb68e84ccf48eebb3fb19e84a07d817dd32305e000789a1947ba1

See more details on using hashes here.

File details

Details for the file agents_keys-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: agents_keys-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 13.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.10.6

File hashes

Hashes for agents_keys-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9d153bfc1ce29cc935a0836b6c30d90a4602f8884afd02066d27b19203e52543
MD5 0b9061b9cc7c4ce6c8c211b1c4e66e78
BLAKE2b-256 37bdc06774eb043ae2aa2629f33db4b4b06c46b082024b0e17dd72e525ec94c5

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 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