Command line interfaces have demostrated their effectiveness to do task, and now with AI and LLMs all over the radar, is easier to integrate these llms into our own CLIs. Enter Isaac, a groundbreaking CLI tool that seamlessly integrates with AWS Bedrock, an AWS service offering a suite of Large Language Models (LLM) capable of generating both text and images. Developed in Go, Isaac emerges as a versatile companion, ready to assist users in navigating Linux environments, executing commands suggested by the LLM, providing fundamental guidance on Kubernetes, and even generating captivating images based on prompts.
As we delve into the realms of Isaac’s capabilities, this blog post aims to unravel the potential and versatility that this innovative tool brings to the table. Whether you’re a seasoned developer seeking efficient command-line interactions or a curious mind exploring the vast possibilities of Large Language Models, Isaac is poised to redefine your experience with AWS Bedrock.
Usage
Isaac has three important commands:
- The first one is
isaac init
which will create a config file to be used for isaac in the future. isaac prompt
This works as a question-answer command line, user can enter a prompt enclosed in quotes and get a response send to STDOUT.- The chat mode, can be executed with
isaac c
, This will open a prompt shell program where users can get the answers in real time.
Special commands in chat mode.
-
command: User can input what it wants to do in a unix like system and Isaac will return a posssible command to use as well as ask for confirmation.
-
kubernetes: Ask kubernetes related questions and the response will be a kubectl command as well with a brief explanation of the command.
-
image: Input this command followed by a prompt, an
image.png
will be created in the current working directory. -
file: load a file and ask for a summary or review general written code.
-
save: save the prompts in a file, default name
prompts.jsonl
. -
uploadS3: Upload prompts file to an s3 specified in init file.
Requirements
All you need for isaac to work is an AWS account and access to the foundation models on AWS Bedrock, by default Isaac uses this foundational models.
- Jurassic-2 Ultra for text generation,
ai21.j2-ultra-v1
. - For image generation default uses
amazon.titan-image-generator-v1
.