Kratos is a command-line interface that simplifies interaction with Anthropic and OpenAI models, enabling quick generation of text, images, and more.
To install Kratos, run the following command in your terminal:
curl -fsSL https://raw.githubusercontent.com/AlexJuca/kratos.sh/main/install/install.sh | bashThis command downloads and executes the Kratos installation script from the official Kratos GitHub repository.
Visit the Kratos GitHub repository for detailed information and documentation.
kratos initThis command initializes Kratos and configures the default AI provider.
kratos ask -m "Compress file called kratos into kratos.0.1.0.tar.gz"Result:
Performing inference via openai
> tar -czvf kratos.0.1.0.tar.gz kratos
This command performs a prompt via Anthropic AI or OpenAI, generating the specified task output.
kratos providersResult:
Kratos currently supports the following providers:
> anthropic
> openai - current provider
This command lists the available providers in Kratos. You can use kratos use <provider> to switch to a different provider.
Purchase a license key to activate kratos via gumroad
Note: It is a one time purchase.
To register the license key, run this command:
kratos register