Skip to main content

A CLI tool for interacting with Groq AI

Project description

Hichi 🙏

A powerful CLI tool for interacting with Groq AI models through your terminal.

Features

  • 🔐 Secure password authentication
  • 🔑 Encrypted API key storage
  • 💬 Interactive chat sessions with session-only memory
  • 🤖 Default model: openai/gpt-oss-120b
  • � Fresh conversation each session (no persistent history)
  • ⚙️ Easy model and API key management

Installation

From PyPI (when published)

pip install hichi

From Source

git clone https://github.com/yourusername/hichi.git
cd hichi
pip install -e .

Quick Start

  1. Initialize Hichi

    hichi hi
    

    This will prompt you for the password and set up your Groq API key on first run.

  2. Start chatting

    hichi chat
    

Commands

hichi hi

Initialize and verify setup. Required before using other commands.

  • Prompts for hardcoded password
  • Sets up Groq API key (first time only)
  • Shows current configuration

hichi chat

Start an interactive chat session with the AI.

  • Session-only memory (fresh start each time)
  • Remembers conversation within current session only
  • Type exit, quit, or bye to end session
  • Use Ctrl+C to interrupt

hichi key

Update your Groq API key.

  • Prompts for password verification
  • Securely encrypts and stores new API key

hichi model [MODEL_NAME]

View or change the AI model.

  • Without arguments: shows current model
  • With model name: updates to new model
  • Default: "openai/gpt-oss-120b"

Security

  • API keys are encrypted using Fernet symmetric encryption
  • Password verification required for all operations
  • Configuration stored in ~/.hichi/

Configuration

Hichi stores its configuration in your home directory:

  • ~/.hichi/config.json - Main configuration
  • ~/.hichi/key.key - Encryption key

Note: Chat conversations are session-only and not saved to disk.

Requirements

  • Python 3.8+
  • Groq AI API key

Development

git clone https://github.com/yourusername/hichi.git
cd hichi
pip install -e ".[dev]"

License

MIT License - see LICENSE file for details.

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

hichi-0.3.0.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

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

hichi-0.3.0-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file hichi-0.3.0.tar.gz.

File metadata

  • Download URL: hichi-0.3.0.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for hichi-0.3.0.tar.gz
Algorithm Hash digest
SHA256 39ecb66ef970b82c1aacbb699488aadeb5cbf6becdc240569cda98110a7b9818
MD5 443c85e65e8a225149a6e166327592ab
BLAKE2b-256 000738411c6f897463fe948fd0cd0c8df78b7b1e289d88ee7939301f4d66677b

See more details on using hashes here.

File details

Details for the file hichi-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: hichi-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for hichi-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f456ce6e2ab1f0a85f89ed40984c94d1bc744d123753bf6774f9d45aded97348
MD5 e4431c1e0c1a4efef79d4550ce2016d1
BLAKE2b-256 5c52a3bd0681efe0e5d197e37efde99c848a98171f9242fdf52ea995bf86c824

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