Skip to main content

EAI CLI

The Enterprise AI CLI (eai) is a command-line tool for scaffolding, developing, and managing vertical applications on the Enterprise AI platform. It provides a unified interface for everything from project initialization to deployment.

Quick Reference

CommandDescription
eai initScaffold a new vertical application
eai loginAuthenticate with Entra CIAM
eai devStart local development server
eai typesManage Object Type definitions
eai tenantManage tenants on the platform
eai resourcesCRUD operations on platform resources
eai chatChat with AI workflows
eai docsDocument upload, classification, and indexing
eai deployDeployment management
eai envManage environment variables
eai verifyRun platform connectivity checks
eai doctorDiagnose common issues and suggest fixes
eai whoamiShow auth status and tenant info

Getting Started Workflow

A typical workflow for creating a new vertical:

# 1. Scaffold a new project
eai init my-vertical

# 2. Authenticate with the platform
eai login

# 3. Sync cloud environment config
eai env pull

# 4. Define and validate your data model
eai types validate

# 5. Seed Object Types to the platform
eai types seed

# 6. Start developing
eai dev

Common Workflows

Define, Validate, and Seed

# Edit src/eai.config/object-types.ts, then:
eai types validate && eai types seed

Check Platform Health

eai verify

Debug Issues

eai doctor --fix

Deploy to Azure

eai deploy setup --repo eai-tools/my-vertical
eai deploy trigger
eai deploy status

For more detailed workflow guides, see Workflows.

Global Options

These flags are available on every eai command:

FlagDescription
-V, --versionDisplay CLI version
-h, --helpDisplay help for any command

Use eai help <command> to see detailed help for any command.

Next Steps