diagrid chat
Chat with the Diagrid Assistant
Description
Chat with the Diagrid Assistant about your Diagrid resources.
The assistant runs server-side, so you need no API key of your own to chat: Diagrid supplies the model key in its regions, and a private region uses the key its owner set up there. It can answer questions about your projects, App IDs, workflows and agents.
Each conversation is with the assistant of one region. It sees your projects, App IDs and components in every region, and workflow runs only in its own region. The region is, in order:
- the region of the project named with --project
- the region named with --region
- the region of your current project (
diagrid project use) - otherwise the one region where the assistant is available; if there are several, choose one with --region or --project The opening line names the region.
The assistant is reached through the region's gateway, so your network must be able to reach it. For a private region that usually means running the CLI from inside, or connected to, the network the region runs in. If the gateway's certificate is issued by a private CA, pass that CA with --gateway-ca-file.
Interactive: run it in a terminal and type. Ctrl+D or /exit leaves.
Requires a user login (diagrid login) — an API key carries no user
identity for the assistant to verify — and the Diagrid Assistant to be enabled
for your organization. If it is off, an organization admin can turn it on in the
console's organization settings or with diagrid org assistant enable;
otherwise ask your Diagrid contact.
diagrid chat [flags]
Options
-p, --project string Use the assistant in this project's region (default: your current project)
--region string Use the assistant in this region
--gateway-ca-file string PEM file of CA certificates to trust for the region's gateway, for a private region whose gateway uses a private CA
--show-tools Render tool-call previews and live tool output (default true)
-h, --help help for chat