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 registryaiagent logout- Logout from the registryaiagent whoami- Show current logged-in useraiagent register- Create a new account
Agent Management
aiagent pull <name>- Download an agentaiagent push <path>- Upload an agentaiagent run <path>- Execute an agentaiagent validate <path>- Verify agent specificationaiagent list- Browse available agentsaiagent versions <name>- Show all versions of an agent
Version Control
aiagent tag <name:version> <tag>- Tag a version
Process Management
aiagent ps- List running agentsaiagent stop <id>- Stop a running agentaiagent logs <id>- View agent logs
API Keys
aiagent key create <name>- Create a new API keyaiagent key list- List your API keysaiagent 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
- Documentation: https://github.com/yourusername/aiagent-hub
- Issue Tracker: https://github.com/yourusername/aiagent-hub/issues
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
52a7841ee40eebc446bdb768f040a45f7f14d8154da2bef3dacf45bbf9386e04
|
|
| MD5 |
13cbfbf70a315a7a3a55c937cf5fd6c8
|
|
| BLAKE2b-256 |
3a07b6a726c0a107d88c33f7031e817acba0e6f878ee61849c6197b431c45fdc
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f7f0e99e7d316f0072a10f906406a1f416653226bfb9a66bdfc8d1c10ad1a1a
|
|
| MD5 |
0cf52a4819a640a6e1f8d81a14785695
|
|
| BLAKE2b-256 |
dd172d727b7fa46aab180ec1f166500f7c8877048f935c41c87cddece2b7868c
|