The command
glyphh: Ada Cloud from a terminal, for you, your scripts and CI, and agents with a shell such as Claude Code.
Install
pipx install glyphh # or: uv tool install glyphh, pip install glyphh glyphh --version
It comes with the Python SDK (3.5 or later, Python 3.9+); python -m glyphh runs it too.
Log in with an API key
glyphh login # paste the key: checked against Ada, then kept for this machine glyphh whoami # which key, from where, and the organisation's plan
The key is an ordinary API key (glyphh_ak_…) from the platform’s API Keys page, or made by Claude through the connector (create_api_key). It acts in your organisation with the clearance it was made with.
glyphh loginAsks for the key without echoing it, checks it, and keeps it in ~/.glyphh/credentials.json (mode 0600). A key Ada refuses is never kept--key-stdinReads the key from a pipe instead: op read … | glyphh login --key-stdinGLYPHH_API_KEYWins over the kept key when set: the way for CI and serversglyphh logoutForgets the kept key. The key stays live until you revoke it on the API Keys pageFrom nothing to a decision
glyphh create tickets --spec @spec.json
glyphh import tickets history.csv --mapping '{"Plan": "ticket.what.plan", "Result": "outcome"}'
glyphh decide tickets '{"ticket": {"what": {"plan": "pro", "text": "charged twice"}}}'
glyphh record tickets @case.json --outcome refund # a confirmed outcome: the next case learns from it
glyphh backtest tickets --candidates '[{"settings": {"word_evidence": 0}}]' --holdout '{"newest": 200}'
glyphh settings tickets --changes '{"word_evidence": 0}' --note "cost 8% less" --backtest <job id>
glyphh activate tickets 1 # and back
glyphh export tickets --to tickets.zipCommands
| Command | Does |
|---|---|
| login, logout, whoami | The API key this machine uses |
| usage, releases | The plan’s use this month; every Ada version |
| models, model NAME | The organisation’s models; one with its version, size, settings and Ada version |
| create NAME --spec, spec NAME [--set] | Make a model from its spec; read it, or a new version of it |
| delete NAME --confirm NAME | Delete a model and every precedent it holds |
| record, record-many, grade, forget | One case; a JSON Lines file of them, 1,000 a request; an outcome later; forget one |
| import NAME FILE [--mapping] | A CSV, JSON Lines, SQLite store or a model’s own export, as a job |
| decide, query, probabilities, facts | Ask: --output, --outputs a,b, --facts, --clearance |
| learn, calibrate, backtest, settings | Learn; calibrate; score candidates on held-out cases; every lever |
| versions, activate, upgrade | Versions and who made them; roll back; move to another Ada version |
| export, job ID [--wait] | Everything out, to a file; any job |
glyphh <command> --help gives every option.
Input and output
- A JSON argument is the JSON itself,
@filefor a file’s, or-for stdin’s. - Every answer is the API’s own JSON on stdout, so it pipes into
jq:glyphh decide tickets @case.json | jq -r .outcome. - A refusal is
{"error": {"code", "message", …}}on stderr with exit code 1, its code one of the API’s; a usage mistake exits 2. - Jobs (import, learn, backtest, settings, spec, upgrade, export) are waited for, with progress on stderr:
-qhides it,--no-waitanswers the job at once.
With Claude Code
The plugin’s glyphh-cli skill teaches Claude the command, for when the connector’s ada_* tools are not there or a file suits a command better. Claude asks you to run ! glyphh login and paste the key yourself; it never asks for a key in the chat.