Skip to main content

A terminal-based AI assistant that translates natural language queries into shell commands and executes them directly. Users can interact naturally, such as by typing "create me a Docker container," and the AI will generate, display, and run the appropriate command.

Project description

Terminal AI

Terminal AI is a command-line interface (CLI) application that generates terminal commands based on user queries using API.

Installation

pipx install terminal-ai

Usage

  1. Ensure you have set the GROQ_API_KEY environment variable:

    export GROQ_API_KEY=<your_api_key>
    
  2. Run the application with a query:

    tai build a docker container
    

    Alternatively, you can run the script directly:

    python -m tai build a docker container
    

Example

$ poetry run tai list files in the current directory
Command: ls
Press Enter to execute the command, or press 'q' to cancel: 

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

terai-1.0.0.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

terai-1.0.0-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file terai-1.0.0.tar.gz.

File metadata

  • Download URL: terai-1.0.0.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.12.8 Linux/6.8.0-1017-azure

File hashes

Hashes for terai-1.0.0.tar.gz
Algorithm Hash digest
SHA256 6cef9a0e2345f1072ae15ed722466db8c7e037d37b5190c65c990342ea3592c2
MD5 5e76a0f41585af523381e3aa05adf163
BLAKE2b-256 7df6db8d641ea4c733d042f5a77645293a4a96253e2d0f7b9a841aad7d99c60f

See more details on using hashes here.

File details

Details for the file terai-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: terai-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.12.8 Linux/6.8.0-1017-azure

File hashes

Hashes for terai-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 22fe8979dc6bfcfd9a6e81f168c08a234f2aa9e9482713097e79be593d965978
MD5 7cc20291c1dc6c3664b94fa24e7e6f3f
BLAKE2b-256 009febf67add624f5e3b9dbea30cbbba7cfacd50d8c8a90aa34913fdd93cea21

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page