You'll need the following accounts:
Required:
- OpenRouter - AI model provider
- OpenAI - AI model provider
- XAI - AI model provider for agent mode
- E2B - Sandbox environment for secure code execution in agent mode
- Convex - Database and backend
- WorkOS - Authentication and user management
Optional:
- Amazon S3 - File storage (alternative to Convex storage)
- Perplexity - Web search functionality
- Jina AI - Web URL content retrieval
- Redis - Stream resumption
- Upstash Redis - Rate limiting
- PostHog - Analytics
- Stripe - Payment processing
git clone https://github.com/hackerai-tech/hackerai.gitcd hackeraipnpm installpnpm run setupThis runs both Next.js and Convex dev servers:
pnpm run devOr run them separately in two terminals:
pnpm run dev:next
pnpm run dev:convex