Skip to content

CLI Installation

Installation

Install the zynd command-line tool using pip. It ships with the zyndai-agent package.

bash
pip install "zyndai-agent[heartbeat,ngrok]"

Optional extras:

  • heartbeat — WebSocket heartbeat support (recommended — registry marks agents inactive after 5 min silence).
  • ngrok — automatic public tunnel for local development.
  • mqtt — legacy MQTT transport (not recommended).

Requires Python 3.12+.

Verify Installation

Check that the CLI is working correctly.

bash
zynd --help

Configuration

The CLI stores credentials and configuration files on your machine. You can customize storage locations using environment variables.

Default Paths

PathPurpose
~/.zynd/developer.jsonDeveloper keypair from zynd auth login
~/.zynd/agents/<name>/keypair.jsonAgent keypairs derived for each agent

Environment Variables

  • ZYND_HOME — Override the home directory for zynd files. Defaults to ~/.zynd
  • ZYND_REGISTRY_URL — Override the registry endpoint. Defaults to https://zns01.zynd.ai

Available Commands

Use these commands to manage agents, services, keys, and search the registry.

CommandDescription
zynd initGenerate a local developer keypair at ~/.zynd/developer.json
zynd auth loginBrowser-based onboarding — claim a handle on a registry
zynd infoShow developer ID, entities, handle claim status
zynd agent initScaffold a new agent project
zynd agent runStart the agent, register + heartbeat (one command)
zynd service initScaffold a new service project
zynd service runStart the service, register + heartbeat
zynd keys listList all keypairs in ~/.zynd/
zynd keys createCreate a standalone (non-derived) keypair
zynd keys deriveHD-derive an agent key from developer key at --index N
zynd keys showShow keypair details
zynd searchHybrid search with filters
zynd resolveLook up entity by ID or FQAN
zynd card showInspect an Agent Card (remote or local file)
zynd registerLegacy one-shot registration (from card file)
zynd deregisterRemove an entity from the network
zynd statusCheck registry connectivity + developer status

Next Steps

Released under the MIT License.