For the complete documentation index, see llms.txt. This page is also available as Markdown.

iai

iai

InteractiveAI's CLI

Synopsis

InteractiveAI's CLI to interact with its platform.

Use the subcommands below to manage your organizations, projects, agents, services, secrets, prompts, routines, policies, variables, glossaries, macros, and other components.

Install

The CLI is distributed through Go's package manager, so it must first be installed. Click on this link and follow the instructions to do so.

To validate the installation run:

go version

Once Go is installed, ensure Go binaries are in your PATH:

export PATH=$PATH:$(go env GOPATH)/bin

Add this line to your shell profile (~/.bashrc, ~/.zshrc, etc.) to make it permanent.

Now install InteractiveAI's CLI with the following command:

go install github.com/Interactive-AI-Labs/interactive-cli/cmd/iai@latest

Verify the installation by running:

iai --help

Structured output

Many commands support --json and --yaml for automation. Human-readable table/detail output is the default.

For API-backed commands such as traces, observations, datasets, queues, scores, and sessions, structured output preserves the API envelope:

Use the resource under data as the stable payload, for example:

Prompt resources (prompts, routines, policies, variables, glossaries, macros, skills) expose structured output on list and describe/get. List output is wrapped as:

Options

SEE ALSO

Last updated

Was this helpful?