Aristochat
We provide a web interface similar to chatGPT for CWCloud's agents like cwc, qwctl or edtctl for customers who aren't using CWCloud's AI features.
It's OpenSource MIT licensed and you can host it yourself, the repo is on our gitlab (or here on github).
You can also reach us to have you dedicated tenant through CWCloud.
Getting startedβ
Using npmβ
Buildβ
cd aristochat-ui
npm install
npm start
aristochat-ui/.env.development contains a sample REACT_APP_AGENTS_ENDPOINTS so the app has agents to pick from out of the box; edit it to point at real agent URLs.
Configuring agentsβ
REACT_APP_AGENTS_ENDPOINTS is a JSON array of agents:
[
{ "name": "cwc", "url": "https://cwc.cwcloud.tech", "headers": { "Authorization": "Bearer <token>" } },
{ "name": "qwctl", "url": "https://qwctl.cwcloud.tech", "credentials": { "username": "admin", "password": "admin" } },
{ "name": "edtctl", "url": "https://edtctl.cwcloud.tech" }
]
headers, credentials (turned into HTTP Basic auth), or neither may be provided per agent.
Using dockerβ
To build in local:
docker compose up --build --force-recreate
Note: any double quote in the AGENTS_ENDPOINTS environment variable must be backslash-escaped (\") or the substitution will produce invalid JavaScript.
A public image is available here rg.fr-par.scw.cloud/aristochat-g3kljh/aristochat-ui:latest.
