-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proposal: Cross-Platform CLI Tool for the Agent Protocol #72
Comments
@jzanecook for the 3rd command, what |
Okay, I saw your PR: #76. I will check that one. |
The options for the create command are whatever the options are in the spec, so input and additional_input for task/step and then for artifact it's that schema. I have the structure of the commands/args pretty well set in the PR, it just needs to be refactored a bit and linked with the OpenAPI generated functions. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Objective:
This proposal outlines the development of a cross-platform CLI tool aimed at simplifying interactions with the Agent Protocol. The goal is to improve user experience, streamline debugging, and facilitate automation within the agent protocol ecosystem.
Background:
The Agent Protocol involves managing tasks, steps, and artifacts, all identified by UUIDs (v4). Tasks represent high-level commands for agents, steps denote individual actions taken by agents, and artifacts correspond to files generated or used during agent operations. This proposal aims to create a user-friendly CLI application inspired by the ease of use of Docker's command-line interface.
Proposed CLI Commands:
To provide a clear vision for this tool, we propose the following CLI commands and their expected functionalities:
ap-cli connect [endpoint]
- Connects to the specified agent endpoint.$ ap-cli connect http://localhost:8000
ap-cli task list
- Lists tasks with their full UUIDs.ap-cli task create [options]
- Creates a new task.$ ap-cli task create
ap-cli task [task_uuid] step create --input="[input]"
- Creates a new step within a task.$ ap-cli task 70e62fbb-0123-4567-89ab-cdef01234567 step create --input="Write 'Washington' to a file."
ap-cli task [task_uuid] artifact list
- Lists artifacts associated with a task.$ ap-cli task 70e62fbb-0123-4567-89ab-cdef01234567 artifact list
Note: If multi-agent usage becomes a necessity, the agent name from the (not yet implemented) info endpoint could be used for individual calls.
Example:
Goals of the CLI Tool:
Discussion Points:
This proposal serves as a technical framework for the CLI tool's development. Your input is essential to refine the design and functionality. Please share your thoughts on the proposed commands, suggest additional features or improvements, and highlight any potential challenges or considerations.
Let's collaborate to create a powerful and user-centric CLI tool that enhances the usability and effectiveness of the Agent Protocol.
The text was updated successfully, but these errors were encountered: