Skip to main content

A simple CLI tool to talk to an LLM in the terminal.

Project description

terminal-ai

This is a simple CLI tool for chatting to an LLM in the terminal.

Currently, only Gemini is supported, but I'll add Ollama support later. Nothing else is planned for now.


Command overview

Consider this a simple overview of some of the commands. The commands have more functions, which can be viewed by typing chat -h or just typing chat. There are also some additional commands not mentioned here

  • chat start - Begin a chat
  • chat once <message>- Send a single message to the LLM
  • chat list - List all existing chats
  • chat delete <chat name> - Delete a chat
  • chat systemprompt <...> - System prompt configuration
  • chat model <...> - Model configuration (Add models and API keys here)

When in a chat using chat start, there are some in-chat commands. These are:

  • quit/bye/exit to quit (saves your chat)
  • clear to clear the chat history (asks for confirmation)
  • retry to regenerate a new AI response to the previous message
  • save to save the chat so far
  • systemprompt/system to display and/or change the system prompt
  • help to display a help message

Enjoy :)

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

terminal_ai_chat-0.1.2.tar.gz (15.7 kB view details)

Uploaded Source

Built Distribution

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

terminal_ai_chat-0.1.2-py3-none-any.whl (18.5 kB view details)

Uploaded Python 3

File details

Details for the file terminal_ai_chat-0.1.2.tar.gz.

File metadata

  • Download URL: terminal_ai_chat-0.1.2.tar.gz
  • Upload date:
  • Size: 15.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for terminal_ai_chat-0.1.2.tar.gz
Algorithm Hash digest
SHA256 de941b7c6b5fe42adf3fa1df12d714393dbd2496dff60b93e02d9fd18a2d98a3
MD5 b3b355a32645f0c6a151043ad2c6ad87
BLAKE2b-256 fb2a16602dd0252e174bac2cc1eb4fd1adf279e6c8c3743e5bf08d8f28a07b66

See more details on using hashes here.

File details

Details for the file terminal_ai_chat-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for terminal_ai_chat-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 214600466c98e3fad48aacd93fc903e392473d8239cb860e71df4bcf4f983d47
MD5 a3b745ebacbd12fef3260840e04e99ea
BLAKE2b-256 7f6d054bcc067ada1ccba826ffa486e7df6ecfe5f61103342e3e858f5323bc7c

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