Skip to main content

EAI CLI

eai is the supported command-line interface for building and operating apps on the EAI platform. It wraps authentication, tenant context, Object Types, ResourceAPI data, document processing, chat workflows, deployment, diagnostics, and gofer asset refresh.

Release Snapshot

FieldValue
Version3.2.9
Released2026-06-18
Last Material ChangeRelease tenant home region and Gofer updates
Source Commit0aa39723963e414c593cfe811899482f780a106e

Common Workflow

eai login
eai tenant list --format json
eai tenant select <tenant-slug>
eai whoami

eai types validate
eai types seed --tenant-key <tenant-key> --tenant-id <tenant-id> --format json
eai types diff --tenant-key <tenant-key> --tenant-id <tenant-id>
eai resources schema --tenant-id <tenant-id> --format json

eai dev

Command Groups

CommandPurpose
eai initScaffold an app from the EAI App Template.
eai login, eai logout, eai whoamiManage local authentication and inspect active context.
eai tenantList, select, create, inspect, and administer tenant context.
eai typesValidate, seed, diff, and pull Object Type definitions.
eai resourcesList, get, create, update, delete, query, aggregate, search, and manage ResourceAPI data.
eai docsUpload, classify, and index documents for platform processing and RAG.
eai chatSend or stream chat requests through configured AI workflows.
eai publicapiCall authorized PublicAPI V4 routes when a named command does not exist yet.
eai goferInstall and refresh repo-local agent workflow assets.
eai templateCheck app-template and UI drift without writing files.
eai verify, eai doctorRun connectivity, contract, update, and troubleshooting checks.

Output Modes

Use machine-readable output for automation:

eai tenant list --format json
eai resources schema --tenant-id <tenant-id> --format json
eai whoami --simple
eai doctor --no-color

Named Commands Before Raw Routes

Prefer product-shaped commands before eai publicapi:

NeedPreferred CLI
Scaffold appeai init <name> or eai init <name> --current-dir
Select tenanteai tenant list, eai tenant select <slug>
Publish Object Typeseai types validate, eai types seed, eai types diff
Inspect schemaseai resources schema --tenant-id <tenant-id>
Work with resourceseai resources list/get/create/update/delete/query
Search resourceseai resources search "<query>" --mode hybrid
Work with documentseai docs upload, eai docs classify, eai docs index
Use chat workflowseai chat send, eai chat stream
Advanced routeeai publicapi <method> /v4/...