Developer Guide.

The Intern is fully open to developers. Every platform capability is available via REST API. The backend is a Hono application on Cloudflare Workers — you can fork it, extend it, or self-host it.

Stack overview

Frontend: Next.js 15 (App Router) on Cloudflare Pages at https://ai-agent-apb.pages.dev. Backend: Hono v4 on Cloudflare Workers at https://the-intern-backend.vksh1cool.workers.dev (v2.4, 28 route modules). Database: Neon PostgreSQL with Drizzle ORM + Memgraph for knowledge graph. Auth: Firebase Authentication. AI: Claude (Anthropic) primary → Google Gemini fallback → OpenAI fallback. Queue: Cloudflare Queues. Sessions: Cloudflare Durable Objects.

API base URL

https://the-intern-backend.vksh1cool.workers.dev — All endpoints are prefixed with /api/. The health check at /health returns infrastructure status including database connectivity, queue availability, and Durable Object binding.

Authentication

All /api/* endpoints require Authorization: Bearer <firebase_jwt>. Get a token from Firebase Auth after login. Tokens expire after 1 hour and are refreshed automatically by the frontend auth context.