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
- Gemma 3 -
- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1fddd4470cdada3e99ac98189d2b76f4d3fa53e82f341268162f9581a271f8af
|
|
| MD5 |
5df54f10c82efb6d02278d3001d90273
|
|
| BLAKE2b-256 |
aa0e491ccb302bb7d26b22c1bb483f6e05b36b8d3475040347d3c6f78b047b89
|
Provenance
The following attestation bundles were made for hey_helper-0.1.0.tar.gz:
Publisher:
publish.yml on 0xcrypto/hey
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hey_helper-0.1.0.tar.gz -
Subject digest:
1fddd4470cdada3e99ac98189d2b76f4d3fa53e82f341268162f9581a271f8af - Sigstore transparency entry: 213767145
- Sigstore integration time:
-
Permalink:
0xcrypto/hey@adce9dff3a037e99667ad999de8f86984c46c71f -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/0xcrypto
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@adce9dff3a037e99667ad999de8f86984c46c71f -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ed47bac20fea86a1dc506e40a9cb5e836c1473f20b9f26cc72fc69bad6cf2b9a
|
|
| MD5 |
c091a6ea27c75555ff9b2cd8799f5392
|
|
| BLAKE2b-256 |
5d74c3b9157aa55fb38e484d90e1a9732cdb408f0f80a528a7dbcc7a4fbab3c8
|
Provenance
The following attestation bundles were made for hey_helper-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on 0xcrypto/hey
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hey_helper-0.1.0-py3-none-any.whl -
Subject digest:
ed47bac20fea86a1dc506e40a9cb5e836c1473f20b9f26cc72fc69bad6cf2b9a - Sigstore transparency entry: 213767147
- Sigstore integration time:
-
Permalink:
0xcrypto/hey@adce9dff3a037e99667ad999de8f86984c46c71f -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/0xcrypto
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@adce9dff3a037e99667ad999de8f86984c46c71f -
Trigger Event:
push
-
Statement type: