Observed since 21 Oct, 10:08 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
CLI tool for AI Dialogue (aichat) via AceDataCloud API
A command-line tool for AI Dialogue via the AceDataCloud platform.
Bearer . An API Key / API Token field expects this raw value; only a manually configured HTTP Authorization header needs the Bearer prefix. A platform-... account-management token cannot replace a generation API key.

Save the key in the client's credential store or the environment variable shown below. Never put it in a prompt, shared workflow, screenshot, or Git commit. If authentication fails, check the full copied value, application/service access, expiration, usage limit, and balance before creating another key.
--id--stateful--ref--json for scriptingpip install aichat-pro-cli
# 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'
| Command | Description |
|---|---|
chat | Send a question to an AI model (/aichat/conversations) |
chat2 | Send a conversation request with structured messages and tool results (/aichat2/conversations) |
models | List all available models |
models2 | List models available to chat2 |
config | Show current configuration |
| 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 |
aichat chat2 --max-turns accepts integers from 1 to 500 and limits agent
iterations (model calls), not conversation history. When omitted, the CLI leaves
max_turns out of the request and the server defaults to 500. Each model call is
billed by actual usage; a higher limit allows longer tool chains.
Set the limit to 1 for a single answer without tool calls:
aichat chat2 "Explain quantum computing" --max-turns 1
| 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 compose run aichat-cli chat "Hello!"
# Install with dev dependencies
pip install -e ".[all]"
# Run tests
pytest
# Run linter
ruff check .
ruff format --check .
MIT License - see LICENSE for details.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 2026.10.12.0 | 12 Oct 2026 | 15 |
This describes our collected data; it is not a security assessment.
Observed since 21 Oct, 10:08 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:14e79ed2267974bc26bd52a8a124eeefe946001f77a0f3f0544fef64954589e3