Skip to main content

Examples

These examples show how the CLI, eai-gofer, and EAI App Template work together.

Example Paths

ExampleWhat It Shows
Build a Task TrackerScaffold an app, define Object Types, publish them, and build ResourceAPI-backed pages.
Add AI ChatAdd streaming chat, document upload, and RAG indexing through template hooks.
Business ScenariosBrowse industry-specific workflows before deciding what to build.

Standard Loop

Use this loop for most examples:

eai init <app-name>
cd <app-name>
npm install

eai login
eai tenant select <tenant-slug>
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 verify calls --tenant-id <tenant-id> --resource-type <resource-type>

eai dev

For agent-assisted delivery, run eai gofer refresh --check before planning and keep the service-fit matrix updated as you choose ResourceAPI, documents, chat, search, and PublicAPI patterns.