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.1.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.1-py3-none-any.whl (22.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agentvault_cli-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 77124b8ee264e0d0ad5265f562481fa264411a8ce6e968c36ea5e89662e46545
MD5 bc266aa4c0f1a88dbc895e5534c1d8e5
BLAKE2b-256 b7d95c91753501cc62529768d9dd7974dd7ef1bd42f18746869a5e92ee7092e9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: agentvault_cli-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9b5e5af73717fed76773dfc9a5cb6aef6824635bbca726d53d06b115b51b49c8
MD5 97fc444ef27e3c24df37d1ed1eb25425
BLAKE2b-256 9b9ac9c789683bc65d64ac8f110f37a394110d5e5fd52bdc5d5d2d9af6ed3f2e

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