Getting Started
Prerequisites
Section titled “Prerequisites”- Node.js >= 18
- pnpm >= 9 (
corepack enableto auto-install)
Install & Run
Section titled “Install & Run”# Clone and installgit clone https://github.com/kibadist/agentuicd agentuipnpm install
# Build all packagespnpm build
# Run backend (:3001) + frontend (:3000) togetherpnpm devOpen http://localhost:3000. This runs the clinic assistant example — an agent that queries a SQLite database and renders healthcare UI.
# Or run individuallypnpm dev:api # NestJS backend on :3001pnpm dev:app # Next.js frontend on :3000Optional: use a real LLM
Section titled “Optional: use a real LLM”The example works with no API key — the backend serves database-backed mock responses. To use a real model (Anthropic, OpenAI, DeepSeek, or Google — all supported), add a key:
cp examples/nest-api/.env.example examples/nest-api/.env# edit examples/nest-api/.env and set ANTHROPIC_API_KEY, then restartExample Prompts
Section titled “Example Prompts”Try these once the dev server is running, or tap a suggestion chip in the UI:
List all patients→ Renders a clickable patient-list roster
Which patients have abnormal vitals?→ Renders flagged vitals-panels plus a summary
Show me everything for patient MRN-1003→ Renders a patient-card, vitals-panel, and medication-list
What appointments are scheduled this week?→ Renders an appointment-list