Skip to main content

EggNest

Monte Carlo retirement simulation with real tax calculations.

eggnest.co | app.eggnest.co

What is EggNest?

EggNest is a retirement planning simulator that runs thousands of Monte Carlo simulations to show you the probability distribution of outcomes—not just a single "expected" result. Unlike other calculators, EggNest uses PolicyEngine to calculate actual federal and state taxes, giving you accurate after-tax projections.

Features

  • Monte Carlo Simulation: 10,000+ scenarios showing the range of possible outcomes
  • Real Tax Calculations: Federal + state income tax via PolicyEngine-US (not estimates)
  • Social Security Optimization: Model different claiming ages (62-70)
  • Spouse Support: Joint simulation with mortality modeling
  • Annuity Comparison: Compare guaranteed income vs. portfolio withdrawals
  • What-If Scenarios: Quickly explore spending and savings changes

Architecture

eggnest/
├── app/                     # React frontend (app.eggnest.co)
│   └── src/
│       ├── components/      # Wizard, SimulationProgress
│       ├── pages/           # SimulatorPage
│       └── lib/api.ts       # API client with SSE streaming
├── web/                     # Landing page (eggnest.co)
│   └── src/pages/           # HomePage, ThesisPage
├── api/                     # Python FastAPI backend
│   └── eggnest/
│       ├── simulation.py    # MonteCarloSimulator (vectorized NumPy)
│       ├── tax.py           # PolicyEngine-US integration
│       └── models.py        # Pydantic models
└── supabase/                # Database migrations

Development

Backend (Python/FastAPI)

cd api
uv venv && uv pip install -e ".[dev]"
uv run uvicorn main:app --reload --port 8000

Frontend (React/Vite)

cd app
npm install
npm run dev  # Runs on port 5174

Landing Page

cd web
npm install
npm run dev  # Runs on port 5173

Stack

  • Frontend: React 19 + Vite + TypeScript + Plotly
  • Backend: Python + FastAPI + NumPy + PolicyEngine-US
  • Database: Supabase (Postgres + Auth)
  • Hosting: Vercel (frontend) + Modal (API)
  • Tax Engine: PolicyEngine-US

License

MIT

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

eggnest-0.1.0.tar.gz (223.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

eggnest-0.1.0-py3-none-any.whl (35.7 kB view details)

Uploaded Python 3

File details

Details for the file eggnest-0.1.0.tar.gz.

File metadata

  • Download URL: eggnest-0.1.0.tar.gz
  • Upload date:
  • Size: 223.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for eggnest-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d3da467f686c0a99de27cd80fc58fe60a24dab257305490a28fed15c687c6e15
MD5 64c3399eb7ccc1a2b8f99b55a95a105c
BLAKE2b-256 e069997d34924e615baf9e4de8369fc4df0b89512cf50080d71daddd07b20aea

See more details on using hashes here.

File details

Details for the file eggnest-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: eggnest-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 35.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for eggnest-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d092db124f2ed56f2b8711a94a1d02d969a08730f6de56359ec26ceeeff1554e
MD5 3711814462f37e2ebc6589026b694a33
BLAKE2b-256 dd87f1366e445f6ecb760c56323979b401b5a40c06190cd1ebe31e597f327004

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page