Skip to main content

AI Agent Hub CLI

Project description

aphub

Command-line tool for aphub - The Docker Hub for AI Agents

Installation

pip install aphub

Quick Start

Login

aphub login
# or
aphub login --username myuser --password mypass

Push Agent

aphub push ./agent.yaml --tag latest --files ./agent-files/

Pull Agent

aphub pull customer-service-agent
aphub pull customer-service-agent --tag 1.0.0 --output ./agents/

Search Agents

aphub search "customer service"
aphub search chatbot --framework aipartnerupflow --limit 50

Get Agent Info

aphub info customer-service-agent
aphub info myorg/my-agent

List Tags

aphub tags customer-service-agent

Get Manifest

aphub manifest customer-service-agent --tag 1.0.0
aphub manifest customer-service-agent --tag 1.0.0 --output manifest.yaml

Commands

Command Description
aphub login Login to hub.aipartnerup.com
aphub logout Logout and clear saved credentials
aphub push <manifest> Push an Agent to the registry
aphub pull <name> Pull an Agent from the registry
aphub search <query> Search for Agents
aphub info <name> Get detailed agent information
aphub tags <name> List all tags for an agent
aphub manifest <name> Get agent manifest
aphub version Show version information

Features

Progress Bars

Upload and download progress is automatically displayed for large files:

aphub pull my-agent  # Shows progress bar
aphub pull my-agent --no-progress  # Disable progress bar

Token Auto-Refresh

Tokens are automatically refreshed when expired. No manual intervention needed!

Configuration

Environment Variables

Variable Description Default
APHUB_URL Hub API URL https://hub.aipartnerup.com
APHUB_API_KEY API key for authentication -

Config File

Configuration is stored in:

  • macOS/Linux: ~/.config/aphub/config.json
  • Windows: %APPDATA%/aphub/config.json

Examples

Complete Workflow

# 1. Login
aphub login

# 2. Push your agent
aphub push ./my-agent/agent.yaml --tag 1.0.0 --files ./my-agent/

# 3. Search for agents
aphub search "customer service" --framework aipartnerupflow

# 4. Pull an agent
aphub pull customer-service-agent --tag latest --output ./agents/

# 5. Get agent details
aphub info customer-service-agent

# 6. List all versions
aphub tags customer-service-agent

License

Apache-2.0

Project details


Download files

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

Source Distribution

aphub-0.1.0.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

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

aphub-0.1.0-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for aphub-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7df0da0d30d952e919b28558485ed9b384285c5b967c04e4a8060f8937dafbb1
MD5 f64504d9149375aca14281933b851c19
BLAKE2b-256 dab8b4fc90b9d10a40e4546aafe8b4a2dde32f730ac708359f00b79e243ccd28

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for aphub-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5b45f0fe6b32bdba75aa3bc1f301b7b6e8987ec5318797137b36e872efa4f8fc
MD5 2f78fc21404a7d2fd98f3aac1c1b12ab
BLAKE2b-256 1df0d63d0b95ec505aadb1157f6999f289ce64a6541bce561eac46e8b29b08b7

See more details on using hashes here.

Supported by

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