Live AI Agents Web Dev Accessibility

AI Research Workspace

An internship capstone for exploring research ideas with a streaming AI assistant, structured topic analysis, and an interactive research graph — combining a Next.js app with accessibility, motion, WebGL, testing and production deployment work.

Next.js React TypeScript Vercel AI SDK OpenRouter Three.js Playwright
AI Research Workspace home page with its animated shader hero and Open Assistant button

Overview

What it does

A streaming assistant that can call a structured research-analysis tool, a 3D topic explorer for an example research graph, and accessible component demos.

Current scope

The assistant and visual demos work today. Workspaces, sources, saved items, history and settings are navigation scaffolds — conversations live in memory, not a persistent database.

Built as

An internship capstone, developed with AI coding assistants in Cursor/Codex and reviewed through code review, tests and browser runs.

Chat runs through the Vercel AI SDK to OpenRouter (Qwen) on the server; the API key never reaches the client. The model can call analyzeResearchTopic, whose Zod-validated output renders as a result card. The /api/chat route enforces body-size, message and per-instance burst limits before any model work.


Key Features

Streaming assistant

Multi-turn context, Stop with partial-answer preservation, smart auto-scroll and Jump to latest; model output is rendered as plain text.

Structured analysis tool

Zod-validated input and output with progress states and a readable card: readiness score, complexity, key questions and next steps.

Resilient states

Example prompts, slow-response skeletons, network and mid-stream failures, quota errors, Retry, and route error boundaries.

3D topic explorer

Orbit and zoom, node selection, DOM details and list controls, Reset view, and a WebGL fallback; loaded only on demand.

Research Signal Field

Custom GLSL fullscreen hero that pauses offscreen and draws a static frame under reduced motion.

Accessibility & testing

Skip link, visible focus, hand-built Modal/Tabs/Disclosure; Vitest + RTL and Playwright across Chromium, Firefox and WebKit in GitHub Actions CI.


Tech Stack

AI Research Workspace technology stack
Application Next.js 16.4 App Router, React 19.3, TypeScript
Styling / UI Tailwind CSS 4, Lucide, selected Radix/shadcn primitives
AI Vercel AI SDK 7, @ai-sdk/react, OpenRouter provider, Zod 4
Graphics Raw WebGL1/GLSL hero; Three.js, React Three Fiber and Drei
Tests Vitest 5, React Testing Library, Playwright
Deployment Vercel; GitHub Actions on Node.js 22