What is Drift?
Drift is a Monte Carlo financial simulation platform that transforms traditional budgeting from single-point estimates into probability distributions. Instead of asking “Will I have enough?”, Drift answers “What’s the probability I’ll reach my goal?” Traditional budgeting: “You’ll save exactly $50,000 in 3 years.” Drift: “You have a 78% probability of saving 42,000 (10th percentile) to $61,000 (90th percentile).”Quickstart
Get from zero to your first simulation in 5 minutes
Installation
Set up Node.js and Python components
API Reference
Explore simulation endpoints and parameters
Simulation Engine
Deep dive into the Monte Carlo implementation
How it works
Drift combines real banking data with probabilistic modeling to forecast financial outcomes:Connect your accounts
Link bank accounts via Plaid or Capital One Nessie API to pull transaction history, balances, and spending patterns
Set your goal
Enter goals in plain English (“Save $50k for a house in 3 years”) and let AI parse them into structured targets
Run 100,000 simulations
Parallel Monte Carlo engine runs across CPU cores, modeling income variance, spending volatility, investment returns, and emergency events
Key features
Natural language goal parsing
Use OpenAI to convert vague goals into structured financial targets:Parallel Monte Carlo simulation
100,000 simulations run in ~500ms using NumPy vectorization and multiprocessing:Real banking data integration
Pull transaction history and account balances from Plaid or Nessie:Sensitivity analysis
Understand which factors have the biggest impact on success probability:Tech stack
Drift is built with modern web technologies and high-performance computing tools:- Frontend: Next.js 14, TypeScript, Tailwind CSS, Recharts (data visualization), Three.js (3D graphics)
- Backend: Express.js API server with TypeScript
- Simulation: Python with NumPy for vectorized computations, multiprocessing for parallelization
- Banking: Plaid API (production), Capital One Nessie API (sandbox)
- AI: OpenAI GPT-4 for goal parsing, Google Gemini (alternative), ElevenLabs for voice narration
Architecture
Drift uses a monorepo structure with Turborepo for orchestration:- Frontend collects user input and displays results
- API server orchestrates data fetching and simulation execution
- Python engine runs Monte Carlo simulations and returns JSON results
- Banking APIs provide real transaction data
The Python simulation engine is called as a subprocess from Node.js, with JSON input/output for communication.
Use cases
Drift excels at answering probabilistic questions:- Retirement planning: “What’s the probability I can retire by age 60 with $2M saved?”
- Major purchases: “Can I save $100k for a house down payment in 5 years?”
- Emergency funds: “How likely am I to maintain a 6-month emergency fund?”
- What-if scenarios: “If I cut spending by $500/month, how much does that improve my odds?”
Next steps
Run your first simulation
Follow the quickstart guide to set up and run Drift locally
Understand the math
Learn how the Monte Carlo engine models uncertainty