CLI reference

at1 login       --key <API_KEY>     # connect this CLI to your account
at1 whoami                          # show the connected account
at1 logout                          # disconnect (remove ~/.at1/config.json)
at1 compress    <codec> [--stream] [--row-group N] [--backend xz|zstd] IN OUT
at1 decompress  IN OUT
at1 optimize    compress IN OUT [--bound F]   # auto-select codec; never worse than baseline
at1 optimize    decompress IN OUT             # 2-D input => per-column TABLE codec (auto)
at1 optimize    verify IN                     # F>0 => Bounded mode (guaranteed max error + cert)
at1 filter      pack IN --out F               # delta/MED/seasonal/16-bit-image, never-worse
at1 dedup       pack DIR --out A              # content-defined dedup tier (backups/versions)
at1 dedup       unpack A --out DIR            # byte-exact + per-file SHA-256 verified
at1 zdict       pack recs.ndjson --out S      # per-record store + trained dict (random access)
at1 zdict       get S <i>                     # decompress ONE record by index
at1 lookup      compress table.csv --out C    # foreign-key / lookup-table elimination (CSV)
at1 qsign       sign FILE.at1 --signing-key K --where COL:LO:HI --out R.json   # signed result
at1 qsign       verify R.json FILE.at1 --pubkey P    # verifiable analytics (re-checkable)
at1 token-audit scan tokens.txt [--encoding hex]     # weak-RNG audit of app tokens (exit 2 = weak)
at1 entropy-attest issue tokens.txt --signing-key K --out A.json [--ledger L.at1]  # signed audit cert
at1 entropy-attest verify A.json --pubkey P --target tokens.txt   # re-checkable attestation
at1 audit-service serve [--port 8088]                # self-hostable HTTP audit endpoint
at1 serve-db    DIR [--auth bearer|jwt] [--port 8090]  # verifiable backend: proof-carrying REST + time-travel + audit
at1 query       FILE --where COL:LO:HI --eq COL:VAL --select C0,C1 [--limit N]
at1 sql         FILE "SELECT cols WHERE ..."
at1 info        FILE                 # codec, schema, row-groups, integrity status
at1 arrow       FILE [OUT] [--format ipc|feather]   # export a queryable .at1 to Apache Arrow
at1 integrity   FILE                 # verify the embedded SHA-256 trailer (byte-exact)
at1 verify      <codec> IN
at1 bench       <codec> IN

login / whoami / logout connect this machine to the account you create on the dashboard. Create an API key under API Keys, then at1 login --key <API_KEY> stores it in ~/.at1/config.json (env AT1_LICENSE_KEY / AT1_METER_URLoverride it for CI). Every encode/query is then metered against that account's plan. Creating archives (compress/encode) requires a free connected account; decoding, querying and decompressing are always free and need no account. The one-time 100 GB-compressed free trial is a credit, not a hard cap: once it's used, add a card and encoding simply continues at the metered rate. A deny — card_required (over the free trial with no card on file), payment_required (unpaid / past-due), or update_required — aborts the operation with a one-line error: usage blocked: … rather than writing output. See Free tier & limits.

info / integrity / arrowwere added for inspection, tamper-evidence, and the Arrow bridge into every engine — and they're the tools the AT-1 MCP server (mcp_server/ in the repo) exposes to AI agents (Claude, Cursor, ChatGPT).

Codecs

codecdataqueryable
qcolumnarCSV / TSV / tables / telemetryyes
qjsonNDJSON / document exportsyes
columnar / json / jsondoctables / NDJSON / GeoJSONno
log / sshplain-text & auth logsvia at1_logquery
osm / vcfOpenStreetMap / genomicspositional

Tools

at1_adapter.py    put/get/tier/untier   # transparent storage tier
connectors/at1_ingest.py                # export -> queryable archive
at1_logquery.py   build/query           # queryable-by-time logs
make_proposal.py                        # one-page PDF savings proposal