CLI Quickstart
Get the Chronary CLI installed and talking to the API in under 5 minutes.
Install
Section titled “Install”brew install chronary/tap/chronarynpm install -g chronarygo install github.com/Chronary/chronary-cli/cmd/chronary@latestDownload the latest release for your platform from the GitHub releases page and add it to your PATH.
Available for Linux (amd64, arm64), macOS (amd64, arm64), and Windows (amd64, arm64).
Verify it works:
chronary version# chronary v0.2.0Authenticate
Section titled “Authenticate”-
Grab your API key from console.chronary.ai.
-
Run the interactive login:
Terminal window chronary auth loginPaste your key when prompted. The CLI validates it against the API and saves it to
~/.config/chronary/config.json. -
Confirm you’re authenticated:
Terminal window chronary auth statusKey: chr_sk_a1b2...Base URL: https://api.chronary.ai
Register your first agent
Section titled “Register your first agent”chronary agents create --name "Sales Agent - Acme Corp" --type aiRegistered agent agt_a1b2c3d4 (active)Create a calendar
Section titled “Create a calendar”chronary calendars create \ --agent agt_a1b2c3d4 \ --name "Sales Meetings" \ --timezone "America/New_York"Created calendar cal_x1y2z3 (Sales Meetings)Add an event
Section titled “Add an event”chronary events create \ --calendar cal_x1y2z3 \ --title "Strategy sync with Acme Corp" \ --start "2026-04-07T14:00:00Z" \ --end "2026-04-07T14:30:00Z"Created event evt_m1n2o3 (Strategy sync with Acme Corp)Check availability
Section titled “Check availability”chronary availability agent agt_a1b2c3d4 \ --start "2026-04-07T09:00:00Z" \ --end "2026-04-07T17:00:00Z" \ --slot-duration 30mStart End2026-04-07T09:00:00Z 2026-04-07T09:30:00Z2026-04-07T09:30:00Z 2026-04-07T10:00:00Z...2026-04-07T14:30:00Z 2026-04-07T15:00:00Z
15 available slotsOutput formats
Section titled “Output formats”Every command supports --output json and --output yaml for scripting:
# JSON for piping to jqchronary agents list --output json | jq '.data[].name'
# YAML for readabilitychronary agents get agt_a1b2c3d4 --output yamlWhat’s next?
Section titled “What’s next?”- CLI Usage Guide — full walkthrough of every command with examples
- CLI Reference — flag-by-flag documentation for all commands
- Quickstart — the same workflow using curl and SDKs