Skip to main content

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.

Release files for agentvault-cli 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agentvault-cli 0.1.1
File Size Uploaded
agentvault_cli-0.1.1.tar.gz 20.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for agentvault-cli 0.1.1
File Interpreter ABI Platform
agentvault_cli-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 42.4 kB

Release files / agentvault_cli-0.1.1.tar.gz

Download URL agentvault_cli-0.1.1.tar.gz
Size 20.2 kB
Tags Source
SHA-256 checksum
How to use checksums
77124b8ee264e0d0ad5265f562481fa264411a8ce6e968c36ea5e89662e46545
BLAKE2b-256 checksum
How to use checksums
b7d95c91753501cc62529768d9dd7974dd7ef1bd42f18746869a5e92ee7092e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.2 CPython/3.11.0 Windows/10

Release files / agentvault_cli-0.1.1-py3-none-any.whl

Download URL agentvault_cli-0.1.1-py3-none-any.whl
Size 22.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9b5e5af73717fed76773dfc9a5cb6aef6824635bbca726d53d06b115b51b49c8
BLAKE2b-256 checksum
How to use checksums
9b9ac9c789683bc65d64ac8f110f37a394110d5e5fd52bdc5d5d2d9af6ed3f2e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.2 CPython/3.11.0 Windows/10

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

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