ON-PREM CHOREO CLOUD BOTH

What it is

amctl is a command line tool for Agent Manager written in Go. It signs you in, lets you create and deploy agents, lists projects and agents, shows build progress, fetches logs, metrics and traces, and can call the API directly.

Why it exists

Developers and scripts need to drive Agent Manager from a terminal and from automation, not only from a browser.

How it works

  • Opens a browser for login and receives the result on a loopback address, 127.0.0.1 port 10325.
  • Asks AMS which scopes it supports and requests them.
  • Calls the AMS API and amp-observer with the resulting Bearer token.
  • Stores its settings in ~/.amctl/config.
  • amctl login --cloud signs in against Choreo Cloud instead of an on-prem install.

Identity and access

OIDC authorization code with PKCE using the browser-type client amctl at the platform ThunderID (the Platform IdP on Choreo Cloud). It then sends the access token as a Bearer header.

Key facts

Language
Go (cobra)
Login callback
127.0.0.1:10325
Runs on
The user's machine
Side
Client tool
Namespace
local

Talks to (3)