Skip to main content

Ask a question, get an answer—right in your terminal.

Project description

Project: hey

Ask a question, get an answer—right in your terminal.

Example

python main.py what was the command to list files in a directory

Features

  • Conversational AI for shell questions and tasks
  • Runs on your machine with Ollama (Llama, Gemma, etc.)
  • Customizable model and system prompt
  • Web search via DuckDuckGo (headless browser)

Requirements

  • Ollama running locally (https://ollama.com/) with a model that supports tool usage. We recommend:
    • Gemma 3 - ollama pull gemma3
  • Python 3.8+
  • playwright (and browsers, see below)
  • langchain, langchain-ollama, langgraph, click, requests

Install & Setup

Install with pipx:

pipx install hey-helper

Or clone this repository and install dependencies:

pip install -r requirements.txt
python -m playwright install

Usage

Ask a question:

python main.py <your question or task>

Force web search (DuckDuckGo):

python main.py --search <your question>

Set config (model/system prompt):

python main.py --set-config

Configuration

  • The first run will create a config file in your OS user config directory.
  • You can change the model or add a system prompt using --set-config.

License

MIT

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

hey_helper-0.1.0.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

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

hey_helper-0.1.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file hey_helper-0.1.0.tar.gz.

File metadata

  • Download URL: hey_helper-0.1.0.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for hey_helper-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1fddd4470cdada3e99ac98189d2b76f4d3fa53e82f341268162f9581a271f8af
MD5 5df54f10c82efb6d02278d3001d90273
BLAKE2b-256 aa0e491ccb302bb7d26b22c1bb483f6e05b36b8d3475040347d3c6f78b047b89

See more details on using hashes here.

Provenance

The following attestation bundles were made for hey_helper-0.1.0.tar.gz:

Publisher: publish.yml on 0xcrypto/hey

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hey_helper-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: hey_helper-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for hey_helper-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ed47bac20fea86a1dc506e40a9cb5e836c1473f20b9f26cc72fc69bad6cf2b9a
MD5 c091a6ea27c75555ff9b2cd8799f5392
BLAKE2b-256 5d74c3b9157aa55fb38e484d90e1a9732cdb408f0f80a528a7dbcc7a4fbab3c8

See more details on using hashes here.

Provenance

The following attestation bundles were made for hey_helper-0.1.0-py3-none-any.whl:

Publisher: publish.yml on 0xcrypto/hey

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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