Skip to content
All projects

LLM Application · 2025-26

Rise

The AI layer for a mobile coaching app: it turns your mood, energy and goals into coaching cards and streams its replies.

Rise screenshot
Role
AI Developer
Timeline
2025-26
Status
Working prototype
Domain
Coaching

The brief

What it is and why it was hard

Rise is a mobile coaching app. Its AI layer turns a user's mood, energy, goals and context into actionable coaching cards: focus tasks, a day plan, interventions, a recap, a music vibe and reward progress. It can also detect mood, energy and personality from plain text. It exposes 11 FastAPI endpoints around a five-personality tone system, and coach replies stream to the app over server-sent events.

The problem

LLM output has to be reliable and safe for a mobile app to render, whichever provider produced it.

What I did

I built the whole AI microservice: prompt orchestration, a JSON schema for each endpoint, memory extraction and retrieval, one /ai/chat endpoint that orchestrates the cards, streaming coach replies, and token and cost tracking.

Choices

Decisions that shaped it

A schema for every endpoint

Each endpoint has a strict JSON contract in its prompt, so the app can render what comes back.

Any provider, one gateway

A provider-agnostic gateway covers Anthropic, OpenAI, Google, Groq, Mistral and Together, so the model can change without touching the app.

Know what it costs

Token and cost tracking is normalised across providers.

Capabilities

What it does

  • Coaching cards: focus tasks, day plan, interventions, recap, music vibe, reward progress
  • Mood, energy and personality detected from plain text
  • Five coaching personalities
  • Streamed coach replies
  • Memory extraction and retrieval
  • One chat endpoint that builds the cards

Problems

What went wrong, and what fixed it

Problem

LLM output was not reliable enough for the app's front end, and it differed between providers.

Fix

Strict schema-return prompts, JSON recovery and parsing with explicit parse errors, and calls wrapped in retries with backoff and normalised usage tracking.

Stack

What it is built with

Service

  • Python
  • FastAPI
  • Server-Sent Events

AI

  • Anthropic
  • OpenAI
  • Google
  • Groq
  • Mistral
  • Together

The result

A working prototype: 11 endpoints, five coaching personalities, and streamed replies.

Next project

Everidog

LLM Application

Everidog preview

Have something like this to build?

I work on the AI layer: retrieval, reasoning and the code underneath. I hand it over ready to integrate.

© 2026 Md. Sakibur Rahman