Scenario
Small Team
5-10 developers sharing resources
Corporate API Keys
Central server with managed keys
Terminal Access
Each dev connects from their local terminal
Flexible Authentication
Shared token or individual credentials
Configure the Server
- Docker Compose (Simple)
- Direct Binary
- Kubernetes (Helm)
Create a Start with Docker Compose:
.env file on the server:Allow Individual Credentials (Optional)
Devs who prefer to use their own credentials can do so:
The server accepts both modes simultaneously. Devs can use the server credentials (default) or provide their own.
Operational Tips
Server Logs
Server Logs
Health Check
Health Check
Usage Monitoring
Usage Monitoring
Set
LOG_LEVEL=info on the server to log each request with the provider and model used.Session Backup
Session Backup
Remote Sessions
Remote Sessions
When connected to a server, the
/session commands interact with both local and remote:/session saveasks where to save: local, remote, or both/session listdisplays sessions from both in separate sections/session loadsearches both; if found in both, asks which one to load/session deletechecks both; if found in both, asks which one to remove
Summary
| Component | Configuration |
|---|---|
| Server | chatcli server --token X |
| Client | chatcli connect --token X |
| Env Vars | CHATCLI_REMOTE_ADDR, CHATCLI_REMOTE_TOKEN |
| TLS | --tls-cert, --tls-key (server) / --tls (client) |
| Credentials | Server (default) or client (--llm-key / --use-local-auth) |
| Agents/Skills | agents.enabled=true + ConfigMap (Helm) or agents.configMapRef (Operator) |
| Plugins | plugins.enabled=true + init container or PVC (Helm) or plugins.image (Operator) |