Metadata-Version: 2.1
Name: nh-ask-cli
Version: 0.2.12
Summary: AI CLI tool for natural language interaction with LLMs
Home-page: https://github.com/anomalyco/ask
Author: Nima
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: tomli>=2.0.0; python_version < "3.11"
Requires-Dist: tomli_w>=1.0.0
Requires-Dist: requests>=2.31.0
Requires-Dist: questionary>=2.0.0
Requires-Dist: rich>=13.0.0

# ask

AI CLI tool for natural language interaction with LLMs.

## Installation

### Using Homebrew (macOS)

```bash
brew install nimahejazi/tap/ask
brew update
brew upgrade ask
```

### From Source

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

## Usage

```bash
# 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).
