Designing Empathetic AI Flows: How We Built a Wellness Companion with Genkit | Nairobi .

Members-Only

Recent Talks & Demos are for members only

Exclusive feed

You must be an AI Tinkerers active member to view these talks and demos.

November 06, 2025 · Nairobi

Sanctum: Genkit Wellness Flows

Learn how to implement four empathetic AI wellness flows-chat, weekly reports, assessments, and activity suggestions-using Genkit, Zod schemas, and safety guardrails.

Overview
Links
Tech stack
  • TypeScript
    TypeScript is an open-source superset of JavaScript: it adds static typing and compiles to clean, standards-based JavaScript.
    TypeScript is a high-level, open-source language developed by Microsoft: it acts as a superset of JavaScript, adding a powerful static type system. This system enables compile-time type checking, catching errors before runtime (a critical benefit for large-scale applications). The TypeScript Compiler (TSC) reliably transpiles all code into clean, standards-based JavaScript (ES3 or newer), ensuring compatibility across any browser or host environment (Node.js, React.js, etc.).
  • Genkit AI SDK
    Genkit is Google's open-source, multi-language SDK (JavaScript, Go, Python) for building, testing, and deploying full-stack AI applications with a unified, model-agnostic interface.
    Genkit is the open-source framework, built by Google, for developing production-ready, full-stack AI features fast. It provides a unified API across multiple languages (JavaScript, Go, Python) for integrating models from providers like Google, OpenAI, and Anthropic. The SDK simplifies complex AI patterns: use 'flows' to define agentic workflows like Retrieval-Augmented Generation (RAG), implement type-safe structured output, and enable tool calling. Accelerate your development cycle with the local Developer UI (e.g., `localhost:4000`), which offers visual debugging, prompt testing, and model comparison before deployment to platforms like Firebase or Cloud Run.
  • Next
    Next.js is the full-stack React framework: it delivers high-performance web applications via hybrid rendering and powerful, Rust-based tooling.
    This is the React Framework for production: Next.js enables you to build full-stack web applications with zero configuration and maximum efficiency. It supports a hybrid rendering approach (Server-Side Rendering, Static Site Generation, and Incremental Static Regeneration) for optimal speed and SEO performance. Key features include React Server Components, Server Actions for running server code directly, and the App Router for advanced routing and nested layouts. Developed by Vercel, it leverages Rust-based tools like Turbopack and the Speedy Web Compiler for the fastest possible builds and a superior developer experience.
  • Supabase
    The open-source PostgreSQL development platform: a Firebase alternative for rapid backend deployment.
    Supabase is the Postgres development platform, providing a complete, open-source backend-as-a-service solution. It packages enterprise-grade tools like a full PostgreSQL database, a RESTful API (via PostgREST), and a GraphQL API (via pg_graphql) that are auto-generated from your schema. The platform includes a comprehensive suite of services: Auth (for user sign-ups and SSO), Storage (for files with S3 integration), Realtime (for database change subscriptions), and Edge Functions (for serverless logic). The core value proposition is clear: build fast with a powerful, scalable SQL database that offers 100% portability and robust security features like Row Level Security (RLS).

Related projects