Skip to main content

AI Agent Hub CLI

Command-line interface for managing and running AI Agents from the AI Agent Hub registry.

Features

  • 🚀 Pull & Run: Download and execute agents from the registry
  • 📦 Push: Publish your agents to the registry
  • 🏷️ Version Management: Tag and manage agent versions
  • 🔑 Authentication: Secure API key-based authentication
  • 🔄 Background Execution: Run agents as background processes
  • Validation: Verify agent specifications before deployment

Installation

pip install aiagent

Quick Start

1. Login to Registry

First, create an API key in your AI Agent Hub profile, then login:

aiagent login YOUR_API_KEY

2. Pull an Agent

Download an agent from the registry:

aiagent pull username/agent-name
aiagent pull username/agent-name:1.0.0

3. Run an Agent

Execute an agent locally:

aiagent run ./agent-name
aiagent run -d ./agent-name  # Run in background

4. Push Your Agent

Publish your agent to the registry:

aiagent push ./my-agent
aiagent push ./my-agent -t latest

Commands

Authentication

  • aiagent login <api-key> - Login to the registry
  • aiagent logout - Logout from the registry
  • aiagent whoami - Show current logged-in user
  • aiagent register - Create a new account

Agent Management

  • aiagent pull <name> - Download an agent
  • aiagent push <path> - Upload an agent
  • aiagent run <path> - Execute an agent
  • aiagent validate <path> - Verify agent specification
  • aiagent list - Browse available agents
  • aiagent versions <name> - Show all versions of an agent

Version Control

  • aiagent tag <name:version> <tag> - Tag a version

Process Management

  • aiagent ps - List running agents
  • aiagent stop <id> - Stop a running agent
  • aiagent logs <id> - View agent logs

API Keys

  • aiagent key create <name> - Create a new API key
  • aiagent key list - List your API keys
  • aiagent key revoke <id> - Revoke an API key

Examples

Publishing an Agent

# Validate your agent
aiagent validate ./my-agent

# Create agent in registry (first time)
aiagent push ./my-agent --create --description "My awesome agent"

# Tag as latest
aiagent tag my-agent:1.0.0 latest

Running Agents in Background

# Start agent in background
aiagent run -d ./my-agent

# Check running agents
aiagent ps

# Stop an agent
aiagent stop <agent-id>

Requirements

  • Python 3.9 or higher

License

MIT

Links

Download files

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

Source Distribution

aiagenthub_cli-0.1.0.tar.gz (24.9 kB view details)

Uploaded Source

Built Distribution

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

aiagenthub_cli-0.1.0-py3-none-any.whl (28.5 kB view details)

Uploaded Python 3

File details

Details for the file aiagenthub_cli-0.1.0.tar.gz.

File metadata

  • Download URL: aiagenthub_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 24.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for aiagenthub_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 52a7841ee40eebc446bdb768f040a45f7f14d8154da2bef3dacf45bbf9386e04
MD5 13cbfbf70a315a7a3a55c937cf5fd6c8
BLAKE2b-256 3a07b6a726c0a107d88c33f7031e817acba0e6f878ee61849c6197b431c45fdc

See more details on using hashes here.

File details

Details for the file aiagenthub_cli-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: aiagenthub_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 28.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for aiagenthub_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5f7f0e99e7d316f0072a10f906406a1f416653226bfb9a66bdfc8d1c10ad1a1a
MD5 0cf52a4819a640a6e1f8d81a14785695
BLAKE2b-256 dd172d727b7fa46aab180ec1f166500f7c8877048f935c41c87cddece2b7868c

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Supported by

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