Skip to main content

Command-line client for the AgentVault ecosystem.

Project description

AgentVault CLI

The agentvault_cli provides a command-line interface for interacting with the AgentVault ecosystem. You can manage local credentials, discover agents in the registry, and run tasks on remote A2A agents.

Installation

(Instructions to be added later once packaging is finalized)

Usage

The main commands are:

  • agentvault_cli config: Manage local API keys and OAuth credentials.
  • agentvault_cli discover: Find agents listed in the AgentVault Registry.
  • agentvault_cli run: Execute tasks on remote A2A agents.

Use --help with any command for more details (e.g., agentvault_cli run --help).

Usage Tips

Re-running run Commands

The agentvault_cli run command can sometimes involve long agent identifiers or input strings. To easily recall and reuse previous commands:

  • Shell History Search (Ctrl+R): Most shells allow you to search your command history interactively. Press Ctrl+R and start typing parts of the command you want to find (e.g., run, the agent ID, part of the input).
  • history Command: Use history | grep agentvault_cli run (or similar filter) to list previous run commands. You can then execute a specific command number (e.g., !123).
  • fzf (Fuzzy Finder): If you have fzf installed, you can pipe your history to it for interactive fuzzy searching: history | fzf. Select the desired command and press Enter to execute it. This is very powerful for quickly finding complex commands.

Interactive Agent Selection (discover + fzf)

If you have command-line tools like fzf (fuzzy finder) and awk installed, you can create powerful interactive workflows. For example, to discover agents, select one interactively, and then immediately run a task on it:

# Example: Discover agents matching "weather", select one, run with input
agentvault_cli discover weather | fzf --height 40% --border --header "Select Agent:" | awk '{print $1}' | xargs -I {} agentvault_cli run --agent {} --input "What is the forecast for London?"

Explanation:

  1. agentvault_cli discover weather: Lists agents matching "weather".
  2. | fzf ...: Pipes the list to fzf for interactive selection.
  3. | awk '{print $1}': Extracts the first column (the Agent ID) from the line selected in fzf. Note: You might need to adjust $1 if the ID is in a different column based on your terminal width or discover output format.
  4. | xargs -I {} ...: Takes the extracted ID ({}) and inserts it into the agentvault_cli run command.

This allows you to quickly find and use agents without manually copying and pasting IDs.

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

agentvault_cli-0.1.0.tar.gz (20.2 kB view details)

Uploaded Source

Built Distribution

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

agentvault_cli-0.1.0-py3-none-any.whl (22.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agentvault_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 20.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.11.0 Windows/10

File hashes

Hashes for agentvault_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 863963c9dd5b967ba610b4034602933a1145304d03d2fbc561c3a7731fbfc7b4
MD5 761222f64ace72e1bd5b1b38fcc8ee8b
BLAKE2b-256 b433ffc043dd71b1f53981d11d85112dd8b21ce40f9a9890bac578b8d93c6f26

See more details on using hashes here.

File details

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

File metadata

  • Download URL: agentvault_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 22.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.11.0 Windows/10

File hashes

Hashes for agentvault_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a64b097419f50846c2e43f096bf90bf1cfdfb12248cb5eb33119a1329277a82b
MD5 38c217ae5b02f49d8f7e86ac07a1d0f9
BLAKE2b-256 eb12ae2454d64bbd3f957b991bf54f2378a62552e912ad4c47266b686b3cff6b

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