How losalossantos/aurelio-finance works
Aurelio is a local-first wealth-management and financial-planning app: people record assets and financial activity, review portfolio and planning results, and can optionally ask an AI advisor questions or approve proposed changes. The main path runs from the browser through the API to financial records and calculations, then back to feature views. The README also describes look-through, cash flow, goals, plans, homes, debts, and analyst/confidant synthesis. Some backend feature internals were not sampled, so those branches use documented capabilities and supported directory paths; uncertain links are omitted.
Main entry points: App.tsx App shell · analytics.py Portfolio analytics · crud.py Record access · advisor.py AI advisor
Components 26
User experience
- App shell
frontend/src/App.tsx - Wealth records
frontend/src/components/Wealth.tsx - Portfolio
frontend/src/components/Portfolio.tsx - Planning views
frontend/src/components/Profile.tsx - Dashboard
frontend/src/components/Dashboard.tsx - Chat panel
frontend/src/components/ChatPanel.tsx - Analysis view
frontend/src/components/Analysis.tsx
API boundary
- API client
frontend/src/api/client.ts - FastAPI app
backend/app/main.py - Feature routes
backend/app/routers - Chat route
backend/app/routers/chat.py
Financial records
- Record access
backend/app/crud.py - Financial records
backend/app/models.py - Local database
backend/app/database.py
Financial analysis
- Position projection
backend/app/positions.py - Portfolio analytics
backend/app/analytics.py - Dated-series rules
backend/app/dated.py - Currency conversion
backend/app/fx.py - Market prices
backend/app/prices.py
AI advisor
- Chat runtime
backend/app/chat.py - AI advisor
backend/app/advisor.py - Advisor tools
backend/app/tools.py - Web search
backend/app/websearch.py
Other components
- Local user
- OpenRouter
- External rate feeds
Connections 31
- Local user → App shell: uses
README.md - App shell → Wealth records: renders
frontend/src/App.tsx - App shell → Portfolio: renders
frontend/src/App.tsx - App shell → Dashboard: renders
frontend/src/App.tsx - App shell → Planning views: renders
frontend/src/App.tsx - App shell → Chat panel: renders
frontend/src/App.tsx - App shell → Analysis view: renders
frontend/src/App.tsx - Chat panel → API client: requests via
frontend/src/components/ChatPanel.tsx - API client → FastAPI app: targets API
frontend/src/api/client.ts - FastAPI app → Feature routes: registers
backend/app/main.py - Chat route → Chat runtime: dispatches
backend/app/routers/chat.py - Feature routes → Record access: reads or writes
backend/app/routers/chat.py - Record access → Financial records: uses records
backend/app/crud.py - Local database → Financial records: maps schema
backend/app/database.py - Portfolio analytics → Record access: reads records
backend/app/analytics.py - Portfolio analytics → Position projection: uses projections
backend/app/analytics.py - Portfolio analytics → Dated-series rules: uses date rules
backend/app/analytics.py - Portfolio analytics → Currency conversion: converts values
backend/app/analytics.py - Portfolio analytics → Market prices: uses quotes
backend/app/analytics.py - Position projection → Record access: loads inputs
backend/app/positions.py - Position projection → Dated-series rules: applies date rules
backend/app/positions.py - Position projection → Currency conversion: converts values
backend/app/positions.py - Record access → Local database: persists records
backend/app/crud.py - Chat runtime → Advisor tools: uses tools
- Advisor tools → AI advisor: calls advisor
backend/app/tools.py - AI advisor → Portfolio analytics: assembles context
backend/app/advisor.py - AI advisor → Record access: reads records
backend/app/advisor.py - AI advisor → OpenRouter: requests model
backend/app/advisor.py - AI advisor → Web search: may search
backend/app/advisor.py - Currency conversion → External rate feeds: fetches rates
- Market prices → External rate feeds: fetches quotes