Skip to main content

cydeai-client Wheel Release Usage Notes

Replace 0.1.9 with the released version.

Install

python3 -m venv ~/cydeai-client-env
. ~/cydeai-client-env/bin/activate
python -m pip install -U pip
python -m pip install cydeai-client==0.1.9
cydeai --help

Configure

Create ~/.cydeai/config.json:

mkdir -p ~/.cydeai
cat > ~/.cydeai/config.json <<EOF
{
  "server_url": "https://<server-host>/<base-path>",
  "api_key": "<provider_api_key>",
  "worker_name": "<worker-display-name>",
  "model_name": "<served-model-name-from-vllm>",
  "model_port": 8000,
  "vllm_health_interval_sec": 30,
  "vllm_health_timeout_sec": 5,
  "vllm_health_failure_threshold": 2,
  "debug": false
}
EOF
chmod 600 ~/.cydeai/config.json

The client reads values in this order:

CLI args > environment variables > config file > defaults

Check Local vLLM

cydeai check sends a tiny OpenAI-compatible chat request to the local model server. It does not inspect GPU utilization or require nvidia-smi.

cydeai check

Expected success:

[INFO][2026-07-09 10:00:00] vLLM normal

If it fails, confirm that vLLM is running and that model_name matches the served model name from:

curl -sS http://127.0.0.1:8000/v1/models | python3 -m json.tool

Dry Run

cydeai connect --dry-run

Dry run prints the derived WebSocket URL, masked PROVIDER_SIGN header, register payload, and local vLLM check result. It does not connect to the server and does not print the raw API key.

One-Shot Register Test

cydeai connect --exit-after-register

This validates WebSocket handshake and register_ok, then exits.

Start Worker

cydeai connect

Keep this process running. Logs are printed to the terminal and appended to:

~/.cydeai/cydeai.log

Output format:

[INFO][2026-07-09 10:00:00] connect attempt 1: wss://...
[INFO][2026-07-09 10:00:00] registered: attempt=1 worker_id=w-... status=available

After registration, the client checks local GET /v1/models every 30 seconds by default. After two consecutive failures, it closes the current gateway connection, keeps the process alive, and reconnects after vLLM recovers. Failures include host, port, URL, request body, response body, status code, response time, and reason in the log.

Debug Server Errors

Normal mode logs only stable error categories such as http_403 or websocket_closed_1008. To include the error description returned by the server, run:

cydeai connect --debug

Debug mode can also be enabled with "debug": true in the config file or CYDEAI_DEBUG=true. Server details are normalized to one line, truncated, and the active provider API key is masked before logging.

Release Notes Checklist

  • package name: cydeai-client
  • CLI command: cydeai
  • version: 0.1.9
  • install command: python -m pip install cydeai-client==0.1.9
  • required Python version: Python 3.11+
  • vLLM must already be running locally
  • config path: ~/.cydeai/config.json

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cydeai_client-0.1.9.tar.gz (44.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cydeai_client-0.1.9-py3-none-any.whl (32.1 kB view details)

Uploaded Python 3

File details

Details for the file cydeai_client-0.1.9.tar.gz.

File metadata

  • Download URL: cydeai_client-0.1.9.tar.gz
  • Upload date:
  • Size: 44.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for cydeai_client-0.1.9.tar.gz
Algorithm Hash digest
SHA256 2f25cf5df13c2be8845348c30dd2e3033263113ee0b7ef6578d65e8d32768e3e
MD5 12aca08ecd81f118ce06fa00cf640cd1
BLAKE2b-256 97e2a0c7c2c2235da8febc684924eda9565b2c89bf14b9db86feab15e22fae12

See more details on using hashes here.

File details

Details for the file cydeai_client-0.1.9-py3-none-any.whl.

File metadata

  • Download URL: cydeai_client-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 32.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for cydeai_client-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 d9645c4f1e5c27525ef4b82f781eb516885aadfcef5acff04b468f36c6632e6f
MD5 4a1a65635967669cdc9134f70ef174eb
BLAKE2b-256 86cf366dcac362c3be1f6476003881c8ccb00b605c4315b5a87e27897ada9aa7

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.9 This release

2 files

0.1.8

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

1 file

0.1.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page