Nano Banana Pro
Agent skill for nano-banana-pro
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Sign in to like and favorite skills
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
npm run dev - Starts Vite development servernpm run build - Creates optimized build in dist/npm run lint - Runs ESLint with React and React Hooks rulesnpm run preview - Serves production build locallyThis is a React-based AI tutoring application using OpenAI's Realtime API with a multi-agent architecture. The app provides interactive math/science tutoring through voice conversations with visual feedback.
@openai/agents-realtime for real-time AI interactionssrc/agents/tutor/ with specialized roles:
greeterAgent: Welcome and session initializationintroGiverAgent: Concept introduction with visual elementsquestionReaderAgent: Question presentation and handlingstepTutorAgent: Step-by-step tutoring guidancebrainStormerAgent: Interactive brainstorming sessionscloserAgent: Session conclusion and summaryProblem data loaded from JSON files (hard1.json - hard4.json) containing:
Agents communicate through global window functions:
window.handleStepCompletion(): Updates progress trackingwindow.handleVisualFeedback(): Shows illustrations/hints/success messageswindow.handleIntroVisual(): Displays concept introductionsOPENAI_API_KEY and OPENAI_API_URL in env.jsAgents are conditionally chained based on
isConceptIntroductionEnabled flag in problem data:
The brainStormer agent can be used as an alternative initial agent for more exploratory learning sessions.