D'Ai CLI
Pure-chat terminal interface for D'Ai.
D'Ai CLI v0.1.2
Type "help", "exit", or ask anything.
>>> What is the capital of France?
The capital of France is Paris.
>>>
No API key. No login. No account.
Anyone can install and use it — the CLI talks to the public D-Ai backend (keys stay on the server).
Install
pip install d-ai-cli
Then run:
d-ai
Or pass a question directly:
d-ai "Explain quantum computing in simple terms"
d-ai --max-tokens 32768
Other ways
# From GitHub (if not yet on PyPI)
pip install git+https://github.com/Dcode9/d-ai-cli.git
# Isolated install
pipx install d-ai-cli
# or
uv tool install d-ai-cli
How to install Python (Windows, if needed)
winget install Python.Python.3.12
Then open a new terminal and run pip install d-ai-cli.
Or: Microsoft Store → search "Python 3.12" → Install
Or: https://www.python.org/downloads/ → check "Add to PATH" → Install
Commands inside the CLI
| Command | Action |
|---|---|
help / ? |
Show help |
tokens [N] |
View or set max output tokens (e.g. tokens 32768) |
exit / q |
Quit |
clear |
Clear the screen |
reset |
Clear conversation history |
Just type any other text to chat.
How it works
Your terminal → d-ai CLI → https://d-ai-omega.vercel.app/api/chat → reply
The backend already has the API keys (same ones used by the web app).
Users never see or set any keys.
Development
git clone https://github.com/Dcode9/d-ai-cli.git
cd d-ai-cli
pip install -e .
d-ai
License
MIT
Metadata
Release files for d-ai-cli 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| d_ai_cli-0.1.2.tar.gz | 6.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| d_ai_cli-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.2 kB
Release files / d_ai_cli-0.1.2.tar.gz
| Download URL | d_ai_cli-0.1.2.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7a21eeee3485d6b20edede24f62b6547295b81b94eeca9e6cae1ebce311ffbd1
|
|
BLAKE2b-256 checksum How to use checksums |
3c3d6e6bc577d5fb1c1fe959f48dded106b08347a3d2e4c5b25f76b1e23fb35c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.11
|
Release files / d_ai_cli-0.1.2-py3-none-any.whl
| Download URL | d_ai_cli-0.1.2-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
401578570c50692acb391a70294e45929eac343160ae3a2d33e9423f4ed99c3f
|
|
BLAKE2b-256 checksum How to use checksums |
b9f5a251c21b8200a5392dc5ba8690435942d82fcda2200ca5e7bfff5611af78
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.11
|