xase
v1.0.0
Published
CLI for XASE AI - The Evidence Layer for AI Decisions
Maintainers
Readme
XASE CLI
CLI for XASE AI — The Evidence Layer for AI Decisions.
Install
npm install -g @xase/cliLocal development
cd xase-cli
npm install
npm run build
npm link
xase --helpQuick Start
# Login (interactive)
xase auth login
# Check status
xase auth status
# List records
xase records list --limit 5
# Open dashboard
xase dashboard
# Logout
xase auth logoutCommands
xase
├── auth # login/logout/status/whoami
├── records # list/get/create/search
├── intervene # create/list/approve
├── export # create/download/batch
├── verify # bundle/record/chain
├── models # list/get/register
├── metrics # summary/override-rate/alerts
├── config # set/get/list
└── dashboard # open dashboard in browserExamples
- List decisions
xase records list --limit 5- Create record (interactive if faltarem campos)
xase records create -m credit-model-v2 \
-i '{"customer_id":"123"}' \
-o '{"decision":"APPROVED"}' \
-c 0.94- Intervene (approve)
xase intervene approve <transactionId> -r "Approved after review" -e [email protected]- Export & verify
xase export download <transactionId> -o ./bundle.zip
xase verify bundle ./bundle.zip- Metrics
xase metrics summary -p week
xase metrics alertsConfig
Armazena credenciais e URL em ~/.config/xase/config.json (via conf).
xase config list
xase config set apiKey xase_pk_...Requirements
- Node.js >= 18
- API base default:
https://www.xase.ai/api/xase/v1(configurável)
Exit codes
- 0: sucesso
- 1: erro de execução/validação
- 2: argumentos inválidos
License
MIT
