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.4.tar.gz (15.5 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.4-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: terminal_ai_chat-0.1.4.tar.gz
  • Upload date:
  • Size: 15.5 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.4.tar.gz
Algorithm Hash digest
SHA256 0929db1058ad4a4d3d201584ecbcd173cd9d579ead61edb7b6b152cd5454091e
MD5 0944ff05d7ed7b91d3e42b206fdc79a5
BLAKE2b-256 470a4c18dd82f1de1ee7bad6bb191bff0c5e9c733bfb10fa4c45743563b02bdc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for terminal_ai_chat-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b976c9b0f430c7e842bc68c8a8fdbb4dc0b2561a6a26255fa3575da3dcbea1e2
MD5 9cc02c3d24b75cffbd6be07da1e3469f
BLAKE2b-256 29ca93891027bf2578875b97f147be2646ca9eb258e1f179bdc6fe8c2f71aa16

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