How rikkumahan/agentdate- works
agentDate turns public LinkedIn and Instagram links into evidence-grounded profiles, has profile agents shortlist and simulate dates, then ranks mutual fit for each person. The browser coordinates resumable stages and stores the run locally; API routes perform scraping and agent work. The map includes the documented gender classification, scene views, love map, and profile/date pages. Some pipeline-to-route links are documented in the README rather than visible in the sampled pipeline excerpt.
Main entry points: pipeline.ts Run coordinator · store.ts Run store · llm.ts LLM runtime · page.tsx Run dashboard
Components 21
Run workflow
- Link entry
app/page.tsx - Run coordinator
lib/pipeline.ts
Agent services
- Social scraping
app/api/scrape/route.ts - Profile analysis
app/api/analyze/route.ts - Gender classification
app/api/gender/route.ts - Agent shortlisting
app/api/shortlist/route.ts - Date simulation
app/api/date/route.ts
Results and views
- Mutual ranking
lib/rank.ts - Run dashboard
app/[run]/page.tsx - Love map
components/lovemap.tsx - Person profile
app/[run]/p/[pid]/page.tsx - Date detail
app/[run]/date/[key]/page.tsx - Date scene and transcript
components/ui.tsx - Scene rendering
components/scene.tsx
Shared runtime
- Link parser
lib/links.ts - Run store
lib/store.ts - Scrape matching and pruning
lib/prune.ts - LLM runtime
lib/llm.ts - Demo run data
public/demo.json
Other components
- Visitor
- Apify
Connections 27
- Visitor → Link entry: submits links
README.md - Link entry → Link parser: parses links
app/page.tsx - Link entry → Run store: starts run
app/page.tsx - Link entry → Run coordinator: starts pipeline
app/page.tsx - Run coordinator → Run store: updates state
lib/pipeline.ts - Run coordinator → Social scraping: posts scrape
README.md - Run coordinator → Profile analysis: posts analysis
lib/pipeline.ts - Run coordinator → Gender classification: posts classification
lib/pipeline.ts - Run coordinator → Agent shortlisting: posts shortlist
README.md - Run coordinator → Date simulation: posts dates
README.md - Social scraping → Apify: runs actors
app/api/scrape/route.ts - Social scraping → Scrape matching and pruning: matches and prunes
app/api/scrape/route.ts - Profile analysis → LLM runtime: generates profile
app/api/analyze/route.ts - Gender classification → LLM runtime: classifies person
app/api/gender/route.ts - Agent shortlisting → LLM runtime: selects dates
app/api/shortlist/route.ts - Date simulation → LLM runtime: generates turns
app/api/date/route.ts - Date simulation → LLM runtime: scores date
app/api/date/route.ts - Run dashboard → Run store: loads run
app/[run]/page.tsx - Run dashboard → Run coordinator: controls run
app/[run]/page.tsx - Run dashboard → Mutual ranking: ranks dates
app/[run]/page.tsx - Run dashboard → Love map: renders map
app/[run]/page.tsx - Person profile → Run store: loads profile
app/[run]/p/[pid]/page.tsx - Person profile → Mutual ranking: shows ranking
app/[run]/p/[pid]/page.tsx - Date detail → Run store: loads date
app/[run]/date/[key]/page.tsx - Date detail → Date scene and transcript: renders date
app/[run]/date/[key]/page.tsx - Date scene and transcript → Scene rendering: renders scene
components/ui.tsx - Run store → Demo run data: loads demo
lib/store.ts