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

iai agents chat

Talk to an agent from the terminal

Synopsis

Talk to a deployed agent from the terminal.

Each line you enter is sent as a customer message and the agent's reply is shown as it is written. Ctrl+C or end of input stops the chat; the session stays on the agent.

iai agents chat <agent_name> [flags]

Examples

  iai agents chat my-agent
  iai agents chat my-agent --session-id 9mtKfiDIaZ
  iai agents chat my-agent --customer-id cust_42 --title "Order 123"

Options

      --customer-id string    Customer the new conversation belongs to; a guest customer is created when omitted
  -h, --help                  help for chat
  -o, --organization string   Organization name
  -p, --project string        Project name
      --session-id string     Resume this conversation session, showing its latest 50 messages first; a new one is created when omitted
      --title string          Title of the new conversation

Options inherited from parent commands

SEE ALSO

  • iai agents - Deploy AI agents with policies, routines, and tools

Last updated

Was this helpful?