Skip to content
Back to Projects
In ProgressAI / ML

500Agents

AI Persona Simulation Platform

500Agents is a research-grade AI persona simulation platform that enables product teams, researchers, and enterprises to gather nuanced perspectives from 500 diverse simulated personas across configurable demographic criteria. Rather than relying on a single LLM, the platform distributes generation work across five providers simultaneously — Groq (30 RPM, 1000 RPD), Cerebras (30 RPM, unlimited RPD), Mistral (60 RPM, unlimited RPD), DeepSeek (30 RPM, unlimited RPD), and Google Gemini (15 RPM, 250 RPD) — with intelligent quota management and automatic failover when any provider hits its limit.

The quota management system, backed by Upstash Redis, tracks per-provider rate limits in real-time and routes new requests to available providers. Personas are processed in batches of 20 via Server-Sent Events (SSE) streaming, giving users live progress visibility as each batch completes. Vercel Cron Jobs reset daily quotas at 00:00 UTC automatically. The authentication system uses JWT with access/refresh token rotation stored securely, implemented via the jose library.

The analytical reporting engine transforms raw persona responses into structured intelligence: sentiment scores, theme frequency analysis, demographic breakdowns, representative quotes, and chart-ready data (sentiment distribution, theme frequency histograms). Supabase PostgreSQL persists the full data hierarchy — users, billing plans, research questions, persona responses, and generated reports — with a v1-v4 migration system. Vitest provides the test coverage that makes this reliability possible at scale.

Key Highlights

  • 5 LLM providers (Groq, Cerebras, Mistral, DeepSeek, Gemini) with quota management and auto-failover
  • SSE streaming for real-time persona processing progress updates
  • Analytical reports with sentiment analysis, theme extraction, and demographic breakdown
  • JWT auth with access/refresh token rotation and secure session management
  • Upstash Redis for distributed queue management, rate limiting, and caching
  • Supabase PostgreSQL for persistent data (users, questions, personas, reports)
  • Cron-based daily quota reset via Vercel Cron Jobs

Technologies

Next.js 16SupabaseUpstash RedisGroqCerebrasMistralDeepSeekGeminiVitestVercelSSEJWT
View on GitHub

Screenshots

5Screenshot coming soon
5Screenshot coming soon
5Screenshot coming soon

Related Projects