mirror of
https://github.com/hanzoai/python-sdk.git
synced 2026-10-23 20:23:00 +00:00
Add install, login, logout, run, stop subcommands to `hanzo bot` for managing local bot agent nodes that connect to gw.hanzo.bot. Browser OAuth flow authenticates against hanzobot-client-id with dedicated token storage at ~/.hanzo/bot/token.json. Password grant fallback via --no-browser flag. Normalize env var lookup: IAM_ canonical prefix with HANZO_IAM_ accepted as backwards-compatible fallback via _env() helper in both auth.py and bot/commands.py.
hanzo-cli
Unified CLI for the Hanzo platform — IAM, KMS, and PaaS management.
Install
pip install hanzo-cli
Usage
hanzo login
hanzo whoami
hanzo iam users
hanzo kms list
hanzo paas deploy list