A command-line tool for AI Dialogue via the AceDataCloud platform.
aichat completions "Hello" --model kimi-k2.7-code aichat completions "Explain this" --model gemini-4-argon --json completions calls /v1/chat/completions with an explicit model ID and Bearer authentication. It does not restrict you to the legacy chat or chat2 command's per-API model suggestions. No model or token limit is silently selected: --max-completion-tokens is optional and only sent when provided. Use messages below for a model that only publishes a Messages endpoint. The commands do not fall back to another protocol.
Install the existing published package with pip install -U aichat-pro-cli. Models such as claude-sonnet-5-5 require the native Messages protocol:
aichat messages "Hello" --model claude-sonnet-5-5 --max-tokens 128 aichat messages "Summarize this" --model claude-opus-5-5 --max-tokens 128 --json The command makes one non-streaming request to /v1/messages with your configured Bearer token. A model ID is required and passed through unchanged; no old client-side allowlist prevents newly published Messages models, and no alternate model or protocol is tried. Check the model's published protocol and current pricing before use. --system sets a system prompt and --json preserves the full native response, including tool or usage fields. The existing chat, chat2, models, and models2 commands retain their behavior; their per-API model lists are not the complete cross-protocol catalog.
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.
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 --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) 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 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 Kimi in Chat2 Use kimi-k3.1-pro through chat2; kimi-k3 and kimi-k2.6 remain available. Run aichat models2 for the chat2 model list, which is separate from chat.
aichat chat2 "Review this code and suggest a fix" -m kimi-k3.1-pro --max-turns 1 Gemini 4 Argon in Chat2 gemini-4-argon, gemini-4-carbon and gemini-4-hydrogen are available through chat2, not chat. The model defaults are unchanged; aichat models2 lists the choices for this endpoint.
aichat chat2 "Review this design and its tradeoffs" -m gemini-4-argon --max-turns 1 Claude Fable 5.2 in Chat2 Use the full model ID claude-fable-5-2 through chat2, not chat. Fable 5.1 and Fable 5 remain separate choices; defaults are unchanged. aichat models2 lists the models for this endpoint. Check current model pricing and account access before submitting:
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 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 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.
The model lists include mimo-v2.6-pro and mimo-v2.6-flash. Verify the live model catalog, service status and your account access before using chat or chat2 with either ID. Initial scope is text, reasoning and function tools. Command-line model discovery does not grant service access or confirm live availability.
acedata ai aichat chat cli command-line gpt llm
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
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.
None of the files in this release were uploaded with provenance metadata.
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.
Nov 22, 2026 2 release files No provenance
Nov 18, 2026 2 release files No provenance
Nov 13, 2026 2 release files No provenance
Nov 1, 2026 2 release files No provenance
Oct 31, 2026 2 release files No provenance
Oct 28, 2026 2 release files No provenance
Oct 25, 2026 2 release files No provenance
Oct 12, 2026 2 release files No provenance
Oct 7, 2026 2 release files No provenance
Oct 6, 2026 2 release files No provenance
Oct 4, 2026 2 release files No provenance
Sep 30, 2026 2 release files No provenance
Sep 24, 2026 2 release files No provenance
Sep 5, 2026 2 release files No provenance
Sep 4, 2026 2 release files No provenance
Aug 31, 2026 2 release files No provenance
Aug 24, 2026 2 release files No provenance
Aug 18, 2026 2 release files No provenance
Aug 17, 2026 2 release files No provenance
Aug 16, 2026 2 release files No provenance
Aug 11, 2026 2 release files No provenance




