SecretAgent

Overview
Portfolios
Pipeline
Run History
Total Portfolios
Completed
Total AUM
Avg Pipeline Time
Issues
0

Analysis Pipeline

Step 1
📄
File Upload
PDF / XLSX / CSV
~2s
Step 2
🤖
AI Extraction
Claude parses holdings from file
~15s
Parallel AI Agents
📈
Equities
~12s
🏦
Fixed Income
~10s
🔮
Alternatives
~11s
Step 4
🧠
Consolidation
Claude final report
~8s
Step 5
💾
Save
Persist to Supabase
~1s

Drop a portfolio file here or browse

PDF, XLSX, CSV, JSON — max 5MB

Uploading...
PortfolioSourceValueStatusCreatedActions
Loading…

Pipeline Architecture

1. File Upload — Client uploads PDF/XLSX/CSV via /auth/integrated-portfolio/upload-file

2. AI Extraction — Claude analyzes the uploaded file and extracts holdings, allocations, and metadata. Falls back to internal parser if needed. ~10-20s depending on file complexity.

3. Parallel AI Analysis — Three specialist agents analyze simultaneously via asyncio.gather():

  • Equities Agent — Stock analysis, sector allocation, risk metrics (alpha, beta, Sharpe)
  • Fixed Income Agent — Bond analysis, duration, convexity, credit quality, yield curve
  • Alternatives Agent — Real estate, private equity, commodities, hedge funds, crypto

4. Consolidation — Final Claude call merges all analyses into a unified report with recommendations. ~8-10s.

5. Persist — Results saved to Supabase with full audit trail.

Total pipeline: ~40-60 seconds end-to-end.

Loading…