Skip to main content

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

Metadata

Release files for aphub 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 aphub 0.1.0
File Size Uploaded
aphub-0.1.0.tar.gz 10.1 kB Details

Built distribution (wheel)

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

Total release size: 19.0 kB

Release files / aphub-0.1.0.tar.gz

Download URL aphub-0.1.0.tar.gz
Size 10.1 kB
Tags Source
SHA-256 checksum
How to use checksums
7df0da0d30d952e919b28558485ed9b384285c5b967c04e4a8060f8937dafbb1
BLAKE2b-256 checksum
How to use checksums
dab8b4fc90b9d10a40e4546aafe8b4a2dde32f730ac708359f00b79e243ccd28
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

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

Download URL aphub-0.1.0-py3-none-any.whl
Size 8.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5b45f0fe6b32bdba75aa3bc1f301b7b6e8987ec5318797137b36e872efa4f8fc
BLAKE2b-256 checksum
How to use checksums
1df0d63d0b95ec505aadb1157f6999f289ce64a6541bce561eac46e8b29b08b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

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