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

Metadata

Release files for aiagenthub-cli 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aiagenthub-cli 0.1.0
File Size Uploaded
aiagenthub_cli-0.1.0.tar.gz 24.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aiagenthub-cli 0.1.0
File Interpreter ABI Platform
aiagenthub_cli-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 53.4 kB

Release files / aiagenthub_cli-0.1.0.tar.gz

Download URL aiagenthub_cli-0.1.0.tar.gz
Size 24.9 kB
Tags Source
SHA-256 checksum
How to use checksums
52a7841ee40eebc446bdb768f040a45f7f14d8154da2bef3dacf45bbf9386e04
BLAKE2b-256 checksum
How to use checksums
3a07b6a726c0a107d88c33f7031e817acba0e6f878ee61849c6197b431c45fdc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release files / aiagenthub_cli-0.1.0-py3-none-any.whl

Download URL aiagenthub_cli-0.1.0-py3-none-any.whl
Size 28.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5f7f0e99e7d316f0072a10f906406a1f416653226bfb9a66bdfc8d1c10ad1a1a
BLAKE2b-256 checksum
How to use checksums
dd172d727b7fa46aab180ec1f166500f7c8877048f935c41c87cddece2b7868c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release 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