AutoGPT icon indicating copy to clipboard operation
AutoGPT copied to clipboard

Add rich-click CLI

Open astelmach01 opened this issue 1 year ago • 4 comments

Duplicates

  • [X] I have searched the existing issues

Summary 💡

Rich-click allows for a prettier and better CLI tool. This allows us to add a bunch of CLI execution params

Examples 🌈

Screenshot 2023-04-14 174611

Motivation 🔦

Make launching the app easier and with more customizability

astelmach01 avatar Apr 14 '23 21:04 astelmach01

The implementation of this feature has the potential to significantly enhance the overall user experience. Currently. The lack of proper text spacing/alignment in the command line outputs makes it difficult to read. Considering also the outputs moving quickly up the terminal, it results in a disorienting user experience.

I am willing to contribute towards implementing this feature. @astelmach01 please let me know if you could use a helping hand.

rp-bot avatar Apr 19 '23 23:04 rp-bot

@rp-bot are you interested in working on this? Discussing ways to improve user experience is top of mind for me

ntindle avatar Apr 26 '23 07:04 ntindle

Dropping my assignment, tag me if you're interested on working on this and I'll help you out

ntindle avatar Apr 28 '23 00:04 ntindle

I am willing to contribute towards implementing this feature.

I also played with some UI improvements, see PR #4078:

agpt-ui2

FWIW, I started experimenting with a dedicated new command to dynamically set up "wizard" workflows in json and then traversing those workflows using a "prompter" (CLI or GUI), mainly inspired by #56.

This is then able to be invoked by the agent, but can also invoke the LLM with inputs - it's basically a handful of new commands to expose this to the LLM, so that it can dynamically set up workflows (in json) and afterwards execute those (possibly in a repeated/recursive fashion)

This means, a "wizard generator" is exposed as a command to the LLM/GPT so that it can generate new wizards from scratch (create_wizard), and register the new wizard as a new command (list_wizards) for execution (run_wizard). The idea is to allow arbitrary workflows to be streamlined this way, including the option to let wizards call other (sub-) wizards.

This is all pretty standard/simple stuff, no fancy code at all: #3911 agpt wizard

The generated HTML page looks then like this: wizard-app

Also, recursion being recursion, I asked the agent to generate a wizard to generate a new UI based based on the same idea:

#765 poc-agpt-ui

Don't get me wrong, this is still the agent-gpt app we all know, just with a few more bindings to expose new commands and extends its functionality that way.

I suppose, someone seriously interested in improving overall usablity could pick up these ideas/PRs and extend those rather quickly using the same approach, these ideas are just waiting for some TLC (and maybe for some more repo stability)

Boostrix avatar May 11 '23 08:05 Boostrix

This issue has automatically been marked as stale because it has not had any activity in the last 50 days. You can unstale it by commenting or removing the label. Otherwise, this issue will be closed in 10 days.

github-actions[bot] avatar Sep 06 '23 21:09 github-actions[bot]

This issue was closed automatically because it has been stale for 10 days with no activity.

github-actions[bot] avatar Sep 21 '23 01:09 github-actions[bot]