SAM AI is a fully functional futuristic personal AI assistant inspired by JARVIS: a single, calm, cinematic command centre where one person converses with a real AI brain by voice and by text, in Hindi, English, and multiple other languages, and follows through on everyday tasks and reminders — all while retaining explicit control over what the assistant is permitted to access. SAM AI has a friendly, intelligent, and professional personality: warm and helpful in tone, precise and competent in substance, never gimmicky or childish. The product is delivered as a mobile-first web application with a dark interface and elegant blue glowing elements, backed by a scalable frontend, backend, database, and cloud architecture that stays modular so Android integrations and background cloud task execution can be added later.
The audience is the individual power user — represented here by the single accepted persona, the SAM AI user — who wants an assistant that feels intelligent and alive, yet trustworthy and legible: a control room, not a spaceship toy. The interface must be beautiful and mobile-first, the conversation must work by voice and text across languages, and the permission system must be secure, so the assistant only reaches what the user has granted. Every control the product presents must be real: the chat is connected to a real AI model through a secure backend API, and there are no fake buttons and no simulated AI responses.
This document is the System Requirements Document for the sam-ai project. It specifies the current product behavior, the seven-page information architecture, the visual and interaction direction, and the technical delivery boundary.
SAM AI is a mobile-first web application composed of seven pages: an anonymous Landing page, Sign Up and Login identity surfaces, and four protected working surfaces — Chat, Tasks, Reminders, and Permissions. The application owns user identity: a person enrolls through self-service Sign Up, verifies on return through Login, and thereafter owns durable conversation history, tasks, reminders, and permission grants bound to their account.
The current delivery is a React frontend talking to a shared FastAPI backend. The backend hosts the application APIs and domain modules for conversation, chat history, voice transcription and speech synthesis, tasks, reminders, and permissions, and calls model providers through a LiteLLM gateway. The chat is connected to a real AI model through this secure backend API: the browser never holds model-provider credentials, and no reply is generated or simulated on the client. Application-owned persistent data lives in MariaDB; the LiteLLM gateway uses its own PostgreSQL instance, kept separate from application storage. The AI chat brain is a backend capability that the Chat page invokes; it is not a separate product surface.
The single active human actor is the SAM AI user. The AI chat brain, the LiteLLM gateway, the model providers behind it, and the database are non-persona system actors. There is no differentiated role or permission tier among humans: the permission system governs what the assistant may access on the user's behalf, not what one human may see versus another.
The project is deliberately modular. Android integrations and background cloud task execution are explicitly out of the current build; the architecture is structured so they can be added later without changing the current pages or behavior.
Removed from scope
SAM AI is delivered as a first-party web application. The anonymous entry boundary is the Landing page, which explains the assistant and its conversation, task, reminder, and permission capabilities before sign-in. Identity is application-owned: Sign Up establishes a new account, and Login verifies a returning user. Both are anonymously reachable; the protected surfaces — Chat, Tasks, Reminders, and Permissions — require login and are unavailable until identity is established.
The AI chat brain, durable storage of tasks and reminders, and secure permission enforcement are backend responsibilities executed by the shared FastAPI process, with model calls routed through the LiteLLM gateway. These are supporting system processes; every human-facing interaction — composing a message, speaking, switching language, creating a task, setting a reminder, granting or revoking a permission — is owned by a first-party page.
The current build stops at the web application. Android integrations and background cloud task execution are future horizons: the codebase and service boundaries are kept modular so they can be added later, but no current page, requirement, or flow depends on them.
FR-1 — Futuristic personal AI assistant identity. As a SAM AI user, I should interact with a futuristic personal AI assistant named SAM AI, inspired by JARVIS, so that the product feels like a single intelligent companion. (explicit)
FR-2 — Mobile-first, dark, blue-glowing interface. As a SAM AI user, I should see a beautiful mobile-first interface with a dark theme and elegant blue glowing elements, so that the assistant feels futuristic and legible. (explicit)
FR-3 — Voice conversation. As a SAM AI user, I should converse with the assistant by voice, so that I can talk to it hands-free. (explicit)
FR-4 — Text conversation. As a SAM AI user, I should converse with the assistant by text, so that I can type messages and read replies. (explicit)
FR-5 — Multilingual support. As a SAM AI user, I should switch the conversation language, so that I can converse in multiple languages. (explicit)
FR-6 — AI chat brain. As a SAM AI user, I should receive intelligent replies from an AI chat brain, so that the conversation is useful and coherent. (explicit)
FR-7 — Task management. As a SAM AI user, I should create, view, and manage tasks, so that I can track what I need to do. (explicit)
FR-8 — Reminder management. As a SAM AI user, I should create, view, and manage reminders, so that I am reminded at the right time. (explicit)
FR-9 — Secure user permission system. As a SAM AI user, I should review requested permissions and grant or revoke them, so that the assistant only accesses what I allow. (explicit)
FR-10 — Scalable, modular architecture. As a SAM AI user, I should benefit from a scalable frontend, backend, database, and cloud architecture kept modular, so that Android integrations and background cloud task execution can be added later. (explicit)
FR-11 — Self-service enrollment. As a SAM AI user, I should be able to establish a SAM AI account through self-service Sign Up, so that I can own durable conversation, tasks, reminders, and permissions. (required_inference)
FR-12 — Returning verification. As a SAM AI user, I should verify my identity on Login, so that I can reach my own protected conversation, tasks, reminders, and permissions. (required_inference)
FR-13 — Backend execution and enforcement. As a SAM AI user, I should have my conversation, tasks, reminders, and permissions executed and enforced by the backend, so that my data is durable and my grants are honored. (required_inference)
The visual direction is "Data made physical — a JARVIS-grade intelligence rendered as living blue light," with Refik Anadol as muse. The register is futuristic awe that stays trustworthy and legible: a control room, not a spaceship toy.
Palette (dark mode):
#05070C (near-black ink ground, ~60% of every screen)#0D131F (panels with 1px rgba(63,169,255,0.18) hairlines)#EAF2FF (~16:1 on background)#3FA9FF (SAM intelligence blue — generative field, active states, single primary CTA; glowing, never flat-filled)#7CF5E1 (cold mint — live/confirmed states: listening, granted permission, reminder fired)#7C8BA6 (12px+ labels only, never body copy)Typography:
-0.02em tracking.0.18em tracking, 11–12px, muted blue.clamp(56px, 9vw, 96px) on Landing; page titles clamp(34px, 5vw, 48px); chat body 17px; labels 12px uppercase.Shape language: Soft-edged rectangular panels with 14–20px radii and hairline luminous borders, floating over a full-bleed generative ground. The one circular form is the SAM orb. Buttons are rounded-rectangles (12px) with a 1px inner light edge; never pill-shaped. Dividers are 1px rgba(234,242,255,0.08) rules; section boundaries are gradients of darkness, not hard lines.
Layout: Mobile-first single column at 375px — the SAM orb sits in a fixed 40vh top zone, conversation stacks beneath, and a bottom composer dock is pinned above the safe area. At 768px the orb shrinks to a left rail and the conversation takes a 62ch measure. At 1280px it becomes a three-zone command deck: a 240px left navigation rail (Chat, Tasks, Reminders, Permissions), a centre conversation column, and a 320px right context panel. Landing, Sign Up, Login, Chat, Tasks, Reminders, and Permissions all inherit the same dark command-deck grid; auth screens centre a single glass-free panel on the generative ground with the orb dimmed behind it.
Imagery: No stock photography and no device mockups. Imagery is generative: a WebGL particle/flow field derived from the assistant's own activity. Task and reminder surfaces use small generative data marks (thin concentric arcs, tick marks, sparkline-like traces) instead of icons. Permission rows use luminous status dots rather than illustrated shields.
Glow: Rendered as soft radial bloom behind content, never as text shadow that reduces legibility.
The Landing first screen is a full-bleed near-black viewport with a single crafted real-time WebGL particle field — thousands of cold-blue (#3FA9FF) points flowing in a slow fluid current, blooming into mint (#7CF5E1) where density peaks — occupying the entire background and bleeding off all four edges. The SAM orb, ~180px on mobile and ~320px on desktop, sits low-centre as the field's gravitational core.
Type does not sit in a centred stack: the wordmark SAM AI is set in Space Grotesk at clamp(56px, 9vw, 96px) flush-left in the lower-left quadrant, with a two-line 17px IBM Plex Sans subline beneath it and a single outlined CTA ("Start a conversation") pinned under the text, all kept inside the viewport at 375px. Top-right carries a small uppercase micro-label ("PERSONAL INTELLIGENCE · ONLINE") with a pulsing mint status dot. Nothing is centred, no gradient blob is used, and the field never covers the wordmark, subline, or CTA — those sit on a scrim that darkens the field beneath them.
The signature moves carry through the product: the full-bleed particle field is both hero and state indicator (brightening and swirling while SAM listens or thinks, calming when idle); the SAM orb pulses once radially on every mic activation; the "thought trace" sweeps a thin mint arc around the orb with a single line of IBM Plex Mono text typing the current step, then collapses into the final message; the instrument-style context panel renders tasks and the next reminder as ruled rows with mono timestamps and generative arc marks; and permission rows read as a live instrument readout with mint or dim status dots, mono keys, and a single toggle whose state change triggers a 200ms colour drain.
Interaction Model: Animated Motion Tempo: cinematic Hero Dimensionality: webgl
Landing Hero Motion Brief
Landing Hero 3D Scene Brief — DIRECTION-DERIVED A single crafted real-time WebGL particle field (React Three Fiber) of thousands of cold-blue points flowing in a slow fluid current, blooming to mint where density peaks, with the SAM orb as a breathing luminous sphere at its core. The scene shows the product's defining state — an AI brain you can see thinking — and reacts to listening/thinking states on Chat. It is not a game or a toy; it stays behind a scrim wherever readable text and controls sit.
prefers-reduced-motion, the field becomes a single still frame, the orb freezes, and message arrival is instant, with a fully legible static arrangement.
PERSONAL INTELLIGENCE · ONLINE
A personal intelligence you converse with by voice and by text — in Hindi, English and more. It keeps your tasks and reminders moving and only reaches what you allow.

PERSONAL INTELLIGENCE · ONLINE
A personal intelligence you converse with by voice and by text — in Hindi, English and more. It keeps your tasks and reminders moving and only reaches what you allow.
No comments yet. Be the first!