Gradatrim is an innovative iOS fitness application that combines AI-powered coaching with real-time form analysis to provide users with personalized workout guidance. By connecting personal trainers with clients through AI technology, Gradatrim makes professional fitness coaching more accessible and affordable.
- AI Form Assessment: Real-time analysis of push-ups, squats, and plank form using computer vision technology
- Personalized Workout Plans: AI-generated exercise routines based on fitness level and progress
- Voice Coaching: Interactive AI trainer that provides form guidance and answers questions
- Progress Tracking: Monitor improvements over time with detailed statistics
- Leaderboards: Compete with other users across different exercise metrics
- Marketplace: Access workout plans created by professional trainers
- Expanded Client Base: Reach more clients without increasing time investment
- Passive Income: Create custom workout plans and earn revenue from each sale
- Client Insights: Receive data about client performance and common questions
- Brand Building: Establish presence in the fitness market with digital clones of training methods
- Built with SwiftUI for iOS
- Computer vision-based pose estimation for real-time exercise feedback
- Integration with ElevenLabs for voice AI coaching
- OpenAI API integration for workout plan generation
- Supabase backend for user management and data storage
- Clone this repository
- Open the project in Xcode 15+
- Install the required dependencies using Swift Package Manager
- Configure your API keys in
APIConfig.swift:- OpenAI API key
- ElevenLabs Agent ID
- Configure your Supabase project details in
SupabaseConfig.swift - Build and run on iOS 16.0+ device or simulator
Gradatrim follows a modern iOS architecture with the following components:
- Views: SwiftUI interfaces for user interaction
- ViewModels: Business logic and state management
- Services: API communication and data processing
- Models: Data structures and entities
- AI Components:
- PoseEstimator: Analyzes exercise form through camera feed
- GeneralTrainerViewModel: Handles AI voice coaching interactions
- WorkoutPlanService: Generates personalized workout routines
The Form Test evaluates users' fitness levels through three key exercises:
- Push-ups: Counts proper form repetitions with elbow angle detection
- Squats: Monitors depth and alignment with real-time feedback
- Plank: Measures duration with proper form maintenance
Results are used to create personalized workout recommendations and establish baseline fitness metrics.
- Interactive voice assistant that provides real-time guidance
- Answers exercise-specific questions during workouts
- Offers alternative exercise options and form corrections
- Provides motivation and accountability
- AI-generated based on fitness profile and form test results
- Adapts to user progress and feedback
- Structured with appropriate sets, reps, weights based on fitness level
- iOS 16.0+
- Xcode 15.0+
- Swift 5.9+
- Camera access for form analysis
- Microphone access for voice coaching
Gradatrim requires camera and microphone access to provide form analysis and voice coaching. All processing is performed on-device wherever possible, and user data is protected according to industry-standard practices.
Interested in contributing to Gradatrim? Please read our contributing guidelines for details on our code of conduct and the process for submitting pull requests.
This project is licensed under the MIT License - see the LICENSE file for details.
- Vision framework for pose estimation
- ElevenLabs for voice synthesis
- OpenAI for workout plan generation
- Supabase for backend services
© 2025 Gradatrim. All rights reserved.


