AiChat CLI
A command-line tool for AI Dialogue via the AceDataCloud platform.
Features
- Chat with AI — Send questions to GPT, DeepSeek, Grok, GLM, and more models
- Conversation Continuation — Resume conversations using
--id - Stateful Sessions — Enable multi-turn context with
--stateful - References — Inject context documents into prompts with
--ref - Rich Output — Beautiful terminal formatting with
--jsonfor scripting - Many Models — GPT-5, GPT-4o, o3, o4-mini, DeepSeek, Grok, GLM, and more
Installation
pip install aichat-pro-cli
Quick Start
# Set your API token
export ACEDATACLOUD_API_TOKEN=your_token_here
# Ask a question
aichat chat "What is the capital of France?"
# Use a specific model
aichat chat "Explain quantum computing" -m gpt-4o
# Continue a conversation
aichat chat "Tell me more" --id 64a67fff-61dc-4801-8339-2c69334c61d6
# Stateful conversation (server remembers context)
aichat chat "My name is Alice" --stateful
aichat chat "What is my name?" --id <returned-id> --stateful
# With reference documents
aichat chat "Summarize this" --ref "https://example.com/doc.txt"
# Get JSON output
aichat chat "Hello" --json | jq '.answer'
Commands
| Command | Description |
|---|---|
chat |
Send a question to an AI model (/aichat/conversations) |
models |
List all available models |
config |
Show current configuration |
Chat Options
| Option | Description |
|---|---|
-m, --model |
Model to use (default: gpt-4o) |
--id |
Conversation ID to continue |
--preset |
Preset model name |
--stateful |
Enable stateful conversation |
--ref |
Reference URL or text (repeatable) |
--json |
Output raw JSON |
Configuration
| Environment Variable | Description | Default |
|---|---|---|
ACEDATACLOUD_API_TOKEN |
API authentication token | (required) |
ACEDATACLOUD_API_BASE_URL |
API base URL | https://api.acedata.cloud |
AICHAT_REQUEST_TIMEOUT |
Request timeout in seconds | 30 |
You can also use a .env file or pass --token directly.
Docker
docker compose run aichat-cli chat "Hello!"
Development
# Install with dev dependencies
pip install -e ".[all]"
# Run tests
pytest
# Run linter
ruff check .
ruff format --check .
License
MIT License - see LICENSE for details.
Links
Metadata
Release files for aichat-pro-cli 2026.8.18.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aichat_pro_cli-2026.8.18.1.tar.gz | 13.3 kB | Without provenance | Details for aichat_pro_cli-2026.8.18.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aichat_pro_cli-2026.8.18.1-py3-none-any.whl | Python 3 | none | any | Details for aichat_pro_cli-2026.8.18.1-py3-none-any.whl |
Total release size: 26.1 kB
Release files / aichat_pro_cli-2026.8.18.1.tar.gz
| Download URL | aichat_pro_cli-2026.8.18.1.tar.gz |
|---|---|
| Size | 13.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a4d30b286ac89905ba1a9b1108d34d27ff5fe0b2a31c4553b227161c8d7d0a3a
|
|
BLAKE2b-256 checksum How to use checksums |
4b487d689c52f78e5bdaa8e3ba6b5de1a3053569e7ee05c49fe05722ad9c60ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / aichat_pro_cli-2026.8.18.1-py3-none-any.whl
| Download URL | aichat_pro_cli-2026.8.18.1-py3-none-any.whl |
|---|---|
| Size | 12.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fce5231ec423c395a7030fe3bc5b4dab5c13001449d6a56cd344df82b35553e2
|
|
BLAKE2b-256 checksum How to use checksums |
c4d65a9ade85a5040281d44fe3729ab2e4a1cf997be233334bc0504b1aeb4286
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Security for aichat-pro-cli 2026.8.18.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.