Skip to content

sukhbinder/duckduckgo-ai-chat

Repository files navigation

duckduckgo-ai-chat

PyPI Changelog Tests License

CLI to use DuckDuckGo AI Chat service from terminal

Based on the ideas of duckduckGO-chat-cli

Disclaimer

By using this client you accept DuckDuckGo AI Chat ToS

Available Models

Model Performance Best For Features
GPT-4o mini Fast Quick answers & basic tasks • General-purpose
Claude 3 Haiku Balanced Technical discussions • Good context handling
• Structured responses
Llama 3.3 Code-optimized Programming tasks • Documentation analysis
• Code generation
Mixtral 8x7B Knowledge-focused Complex topics • Detailed explanations
• Deep analysis
o3-mini Fastest Simple queries • Lightweight
• Quick responses

Installation

Install this tool using pip:

pip install duckduckgo-ai-chat

Usage

Duckduck-aichat

For help, run:

duckchat --help

You can also use:

python -m duckchat --help

Development

To contribute to this tool, first checkout the code. Then create a new virtual environment:

cd duckduckgo-ai-chat
python -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

pip install -e '.[test]'

To run the tests:

python -m pytest

About

A CLI to access DuckDuckGo ai chat service from terminal

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages