gilded-voice

byRudra

You are a senior AI architect and full-stack developer. Build a complete **futuristic personal voice assistant called “Streamlit AI”**. The assistant will be used by a single user named **Rudra**, so DO NOT create login or signup systems. The assistant should behave like a **Jarvis-style AI assistant**. --- MAIN OBJECTIVE Create a **voice-first AI assistant** that helps Rudra with: • daily routine management • study assistance • technology exploration • productivity • reminders and celebration notifications The assistant must be lightweight and stable. --- CORE FEATURES 1. VOICE ASSISTANT The system should primarily operate using voice. Voice system should: • activate using microphone button • convert speech to text • process command • generate response • speak response using speech synthesis --- 2. AI KNOWLEDGE ENGINE Integrate Google Gemini API. The assistant must help with: • study questions • programming help • business ideas • technology knowledge • cybersecurity education • general knowledge The assistant should give clear and helpful answers. --- 3. UTILITY COMMANDS Without using AI API, instantly answer: time date greetings --- 4. WEATHER AND LOCATION Detect location and answer: • temperature • weather conditions • local time --- 5. MEMORY SYSTEM Create a persistent memory database using SQLite. The assistant must store: • user notes • reminders • preferences • important dates Example command: “remember that my exam is on Monday” Memory should persist permanently and should NOT reset. --- 6. REMINDER SYSTEM Support commands like: “remind me to study at 7pm” Reminders must trigger notifications. --- 7. CELEBRATION NOTIFICATIONS User should be able to save: • birthdays • wedding anniversaries • festivals When the date arrives: show a special animated celebration notification. --- 8. DAILY ROUTINE ASSISTANT The assistant should help with: • daily planning • task suggestions • productivity advice --- 9. MULTITASKING ACTIONS Recognize commands such as: “open YouTube” “open Google” Return appropriate actions. --- 10. JARVIS STYLE AI ORB Create a glowing animated AI orb in the center. Orb states: Idle → slow glow Listening → bright glow Thinking → rotating glow Speaking → pulsing glow --- 11. USER INTERFACE Design a futuristic dark interface. Layout: Top → title “Streamlit AI” Center → glowing AI orb Bottom → microphone button Footer: Made by RUDRA --- TECH STACK Backend Python FastAPI SQLite Frontend HTML CSS JavaScript Voice Web Speech API Speech Synthesis API AI Google Gemini API --- PROJECT STRUCTURE streamlit-ai/ backend/ main.py ai_engine.py memory.py reminder.py voice_engine.py frontend/ index.html style.css script.js database/ memory.db --- OUTPUT REQUIREMENT Generate complete working code for all files listed above. Include instructions to: install dependencies run backend server open frontend interface Everything must run without errors. Avoid unfinished code.

No preview

Comments (0)

No comments yet. Be the first!

System Requirements

System Requirement Document

System Requirements Document (SRD)

Project Name: gilded-voice

1. Introduction

The gilded-voice project is a futuristic personal voice assistant tailored exclusively for Rudra, a user based in India. This assistant is designed to function as a Jarvis-style AI companion, offering a voice-first experience to manage daily routines, provide study assistance, explore technology, and enhance productivity. The system will integrate advanced AI capabilities, persistent memory, and a visually stunning interface to create a seamless and engaging user experience.

This document outlines the system requirements for the development of the gilded-voice project, ensuring all features are clearly defined and aligned with Rudra's vision.

Page 1 of 8

2. System Overview

The gilded-voice assistant will be a lightweight, stable, and voice-first AI system. It will operate without the need for login or signup systems, focusing entirely on Rudra's personal use. The assistant will leverage cutting-edge AI technologies, including Google Gemini API, to provide intelligent responses and assistance.

Key features include:

  • Voice activation and interaction.
  • Persistent memory for storing notes, reminders, and preferences.
  • Celebration notifications for special occasions.
  • A glowing animated AI orb as the centerpiece of the user interface.
  • A futuristic dark-themed design.

The system will be implemented using a combination of Python (FastAPI), SQLite, and modern web technologies (HTML, CSS, JavaScript).

Page 2 of 8

3. Functional Requirements

  • As Rudra, I should be able to activate the assistant using a microphone button.
  • As Rudra, I should be able to issue voice commands and receive spoken responses.
  • As Rudra, I should be able to ask study-related questions and receive clear answers.
  • As Rudra, I should be able to request programming help and technology insights.
  • As Rudra, I should be able to store notes, reminders, and preferences in the assistant's memory.
  • As Rudra, I should be able to set reminders and receive notifications at the specified time.
  • As Rudra, I should be able to save special dates like birthdays and anniversaries and receive animated celebration notifications.
  • As Rudra, I should be able to ask for the current time, date, and greetings without using AI APIs.
  • As Rudra, I should be able to check the weather and local time based on my location.
  • As Rudra, I should be able to plan my daily routine and receive productivity advice.
  • As Rudra, I should be able to issue multitasking commands like "open YouTube" or "open Google."
  • As Rudra, I should see a glowing animated AI orb that visually represents the assistant's states (idle, listening, thinking, speaking).

4. User Personas

Page 3 of 8

Primary User: Rudra

  • Role: Sole user of the gilded-voice assistant.
  • Needs:
    • A reliable and intuitive voice assistant for daily productivity and study assistance.
    • A visually appealing and futuristic interface.
    • Persistent memory for storing personal data and reminders.
    • Seamless multitasking capabilities.

5. Visuals Colors and Theme

The gilded-voice assistant will feature a unique, futuristic dark theme with the following color palette:

  • Background: #0A0F1F (Deep Midnight Blue)
  • Surface: #1C2238 (Charcoal Gray)
  • Text: #E8EAF6 (Soft White)
  • Accent: #FFD700 (Gilded Gold)
  • Muted Tones: #4A5568 (Muted Slate Gray)

This palette is designed to evoke a sense of sophistication and modernity while ensuring readability and visual comfort during extended use.

6. Signature Design Concept

The gilded-voice assistant will feature a glowing animated AI orb as its signature design element.

Page 4 of 8

Home Page / Landing Page Concept:

  • Central Orb:

    • A glowing, animated AI orb will dominate the center of the screen.
    • Idle State: The orb will emit a slow, rhythmic glow.
    • Listening State: The orb will brighten and pulse gently.
    • Thinking State: The orb will rotate slowly, with subtle light trails.
    • Speaking State: The orb will pulse in sync with the speech synthesis.
  • Interactive Animations:

    • When Rudra hovers over the microphone button, the orb will ripple outward with a golden glow.
    • When a command is processed, the orb will emit a brief, radiant burst of light.
  • Background Effects:

    • A dynamic starfield will subtly move in the background, creating a sense of depth and immersion.
    • Occasional shooting stars will streak across the screen, adding a touch of wonder.
  • Transitions:

    • Smooth fade-ins and slide transitions will be used for all UI elements.

This design will make the gilded-voice assistant instantly captivating and memorable.

Page 5 of 8

7. Non-Functional Requirements

  • The system must be lightweight and optimized for performance.
  • The assistant should respond to voice commands within 1 second.
  • Memory storage must persist permanently and not reset on application restart.
  • The interface should be responsive and work seamlessly on desktop and mobile devices.
  • Notifications should be visually distinct and non-intrusive.

8. Tech Stack

Frontend

  • React for web application.
  • HTML, CSS, JavaScript for styling and interactivity.

Backend

  • Python with FastAPI for API development.

Database

  • SQLite for persistent memory storage.

AI Models

  • Google Gemini API for knowledge responses.
Page 6 of 8

Voice

  • Web Speech API for speech recognition.
  • Speech Synthesis API for text-to-speech.

Deployment

  • Docker and docker-compose for local orchestration.

9. Assumptions and Constraints

  • The assistant will be used exclusively by Rudra, so no multi-user functionality is required.
  • The system will operate in the Indian timezone (IST).
  • Internet connectivity is required for AI API integration and weather/location services.
  • The system will not include a wake word feature; activation will be via a microphone button.
Page 7 of 8

10. Glossary

  • AI Orb: A glowing, animated visual element representing the assistant's states.
  • Persistent Memory: A database that retains user data across sessions.
  • Google Gemini API: An AI API used for generating intelligent responses.
  • Web Speech API: A browser-based API for speech recognition.
  • Speech Synthesis API: A browser-based API for converting text to speech.
Page 8 of 8

No completed page designs yet.

Completed design pages will appear here when they are ready to preview.

No user flows yet.

The User Flow Agent will generate per-persona navigation diagrams after SRD updates.

No completed page designs yet.

Completed design pages will appear here when they are ready to preview.

No user flows yet.

The User Flow Agent will generate per-persona navigation diagrams after SRD updates.