Skip to main content

ask

AI CLI tool for natural language interaction with LLMs.

Installation

Using Homebrew (macOS)

First, add and trust the tap:

brew tap nimahejazi/tap
brew install nh-ask-cli
brew upgrade nh-ask-cli

Note: You may need to run brew trust nimahejazi/tap if Homebrew requires verification.

From Source

git clone https://github.com/nimahejazi/ask.git
cd ask
pip install -e .

Usage

# Interactive chat mode
ask --it

# Quick query
ask "What is the capital of France?"

# Command mode (extract only executable commands)
ask -c "List files in current directory"

# With tools
ask -t ./tools.sh "Do something with tools"

Configuration

Run ask once to configure your preferred LLM provider (Mock, Ollama, LM Studio, Anthropic, or ChatGPT).

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nh_ask_cli-0.2.15.tar.gz (15.6 kB view details)

Uploaded Source

Built Distribution

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

nh_ask_cli-0.2.15-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

Details for the file nh_ask_cli-0.2.15.tar.gz.

File metadata

  • Download URL: nh_ask_cli-0.2.15.tar.gz
  • Upload date:
  • Size: 15.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.18

File hashes

Hashes for nh_ask_cli-0.2.15.tar.gz
Algorithm Hash digest
SHA256 d5e6119259a5b6c4ea629a273f373318f28f8a134f80e904617da88a33027f58
MD5 53d658a20728f695b5ce1e1e601d5c29
BLAKE2b-256 fb5a977eb8517a1a7ec81f324d3ef39598fbc581e8887f03d1ea1a912013efd6

See more details on using hashes here.

File details

Details for the file nh_ask_cli-0.2.15-py3-none-any.whl.

File metadata

  • Download URL: nh_ask_cli-0.2.15-py3-none-any.whl
  • Upload date:
  • Size: 11.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.18

File hashes

Hashes for nh_ask_cli-0.2.15-py3-none-any.whl
Algorithm Hash digest
SHA256 b582b438e76d4d81c225461c3748d06afe1d20d0a0172105b4b2a10708c23647
MD5 34ae729faf2fe9fa669beb34d32bcc8b
BLAKE2b-256 ca50e87521bfbc32de655631fa49c303929d9021fab08f0052e1f69b4af972a5

See more details on using hashes here.

Release history Release notifications | RSS feed

0.3.0

2 files

This release

0.2.15 This release

2 files

0.2.12

2 files

0.2.1

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page