Multi-Robot Failure Discovery & Root-Cause Analysis Platform
Robotics companies generate massive simulation data but struggle to understand:
- Which combinations cause failures?
- What are the root physical causes?
- How to prioritize fixes?
Traditional approach:
- β Manual log review by engineers
- β Slow, expensive, error-prone
- β Misses subtle patterns
FailSim AI approach:
- β Automated physics-based testing
- β AI-powered root cause analysis with Gemini 3 Flash
- β Multi-robot support (Kuka, Franka Panda, UR5, + Custom)
- β Real-time visualization & charts
FailSim AI is a physics-based simulation platform that automatically discovers failure patterns across multiple robot types and uses Gemini 3 Flash AI to explain WHY robots fail.
Company: Warehouse automation startup
Robot: Kuka iiwa7 collaborative arm
Challenge: Pick & place fails unpredictably in production
Before FailSim AI:
"Our robot fails sometimes. Let's manually test 100 combinations and guess why."
Cost: 2 weeks, $10K in engineer time
With FailSim AI:
"Run 1000 simulations overnight. FailSim AI reports: 'Failures occur when required grip force exceeds 100N (weight > 1.1kg AND friction < 0.32). Recommendation: Increase gripper force by 15%'"
Cost: 1 day, automated
- 3 Built-in Robots:
- Kuka iiwa7 (100N force, 7kg payload)
- Franka Emika Panda (70N force, 3kg payload)
- Universal Robots UR5 (150N force, 5kg payload)
- Custom Robot Support: Users can define their own robot specs
- Real Physics: PyBullet 3D engine with actual equations
- Domain Randomization: Weight, friction, lighting variance
- Runs 100s of simulations
- Physics-driven failures (not random):
- Gripper force insufficient
- Object slips during acceleration
- Vision errors from poor lighting
- Analyzes failure clusters
- Generates human-readable explanations
- Provides engineering recommendations
- Fallback to Gemini 2.5 Flash if quota exceeded
- Experiment Runner: Configure and run simulations from dashboard
- Live Visualization: See 5 key frames of robot simulation
- Click-to-Analyze: Get AI analysis for individual runs
- Failure Charts: Weight/friction distribution visualizations
- Custom Robots: Add your own robot specifications
βββββββββββββββββββ
β PyBullet β Multi-Robot Physics Simulation
β 3 Robots β β’ Kuka iiwa7, Franka, UR5
β + Custom β β’ Real physics equations
ββββββββββ¬βββββββββ
β Simulation Results (JSON)
βΌ
βββββββββββββββββββ
β Vultr Backend β Central System of Record
β FastAPI β β’ REST API (Port 8000)
β Frankfurt VM β β’ Experiment orchestration
ββββββββββ¬βββββββββ
β Failure Data
βΌ
βββββββββββββββββββ
β Gemini 3 Flash β AI Analysis
β (+ 2.5 fallback)β β’ Root cause analysis
β β β’ Physics explanations
ββββββββββ¬βββββββββ
β AI Insights
βΌ
βββββββββββββββββββ
β React β Interactive Dashboard
β Dashboard β β’ Multi-robot selection
β Port 80 β β’ Live visualizations
βββββββββββββββββββ
Tech Stack:
- Simulation: PyBullet, Python 3.10, NumPy
- Backend: FastAPI, Vultr VM (Frankfurt)
- AI: Google Gemini 3 Flash API (with 2.5 fallback)
- Frontend: React, Tailwind CSS, Vite
- Deployment: Nginx, Screen sessions
- Python 3.10+
- Node.js 18+
- pip, npm
# Clone repository
git clone https://github.com/SanaAdeelKhan/FailSim-AI.git
cd FailSim-AI
# Setup Python environment
python3 -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
# Install dependencies
cd backend
pip install -r requirements.txt
# Add Gemini API key
echo "GEMINI_API_KEY=your_key_here" > .env
# Run backend
python src/main.py
# Backend: http://localhost:8000
# New terminal: Run frontend
cd ../frontend
npm install
npm run dev
# Dashboard: http://localhost:5173π Dashboard: http://80.240.20.49
π API Docs: http://80.240.20.49:8000/docs
# Get stats
curl http://80.240.20.49:8000/api/stats
# Get AI insights
curl http://80.240.20.49:8000/api/insights
# Get available robots
curl http://80.240.20.49:8000/api/robots- 3 pre-configured industrial robots
- Custom robot creation with user-defined specs
- Different physics parameters per robot type
- Actual robot specifications (gripper force, payload, acceleration)
- Physics equations:
F_grip = (m Γ g + m Γ a) / ΞΌ - No arbitrary probabilities
- Automatic fallback to Gemini 2.5 if quota exceeded
- Failure pattern analysis
- Physical mechanism explanations
- Actionable recommendations
- Experiment Runner: Configure simulations (runs, robot type)
- Live Visualization: 5-frame robot simulation capture
- Click-to-Analyze: Individual run AI analysis
- Charts: Error distribution, weight/friction patterns
- Custom Robots: Add your own robot specs on-the-fly
- REST API for integration
- Scalable batch processing
- 24/7 deployment on Vultr
- Web dashboard with real-time updates
Built by Team FailSim for Launch & Fund Hackathon:
- Sana Adeel - AI Architecture & Full-Stack Development
- Wajiha Saleem - Simulation & Physics Engineering
- Tooba Muzaffar - Frontend & UX Design
- Ghulam Hussain Ali - Backend Infrastructure
- Muhammad Zargham Khan - Documentation & Testing
- Robotics Startups: Reduce hardware testing costs
- Autonomous Systems Teams: Discover edge cases early
- QA Engineers: Systematic failure analysis
- Research Labs: Validate before real-world deployment
ROI Example:
| Approach | Time | Cost | Scenarios |
|---|---|---|---|
| Traditional QA | 2 weeks | $10K | 50 |
| FailSim AI | 1 day | ~$0 | 1000+ |
| Result | 10x faster | 90% cheaper | 20x coverage |
Event: Launch & Fund - AI Meets Robotics
Track: Track 2 - Simulation-to-Real Training & Evaluation
Dates: February 6-14, 2026
Organizer: lablab.ai
- β Track 2: Simulation-to-Real evaluation pipeline
- β Vultr VM backend (mandatory)
- β Public web application
- β Gemini AI integration (3 Flash + 2.5 fallback)
- β Software-only, simulation-first
- β Production-ready web app
- β GitHub repository with docs
MIT License - see LICENSE file
- Vultr - Cloud infrastructure partner
- Google - Gemini AI API access
- PyBullet - Physics simulation engine
- lablab.ai - Hackathon platform
FailSim AI β Because finding failures early is the fastest way to ship reliable robots. π
Built with β€οΈ by Team FailSim