The React Framework for Visionaries.
One React app for UI, APIs, auth, and AI. Start with pages. Add route handlers, vista g auth, or vista g agent when you need them.
What you can build in one app
File-System Routing
Pages and layouts under app/ become URLs. Nested layouts, dynamic segments, and catch-all routes are built in.
React Server Components
Server Components by default. 'use client' modules in app/, components/, utils/, lib/, or src/ enter the client manifest automatically.
Streaming SSR
Progressive HTML streaming improves first paint and keeps UI responsive on slower networks.
Fullstack APIs
File-based route.ts handlers plus typed procedures (vista g api-init) with createCaller in Server Components.
Auth that ships
vista g auth writes sign-in, OAuth, fail-closed middleware, and a SessionProvider. Credentials POST; OAuth keeps callbackUrl.
AI and RAG
vista g agent scaffolds chat routes. Groq, NVIDIA NIM, OpenAI, and embedText work with one provider:model string.
CLI + Scaffolding
create-vista-app for a React starter. Then vista g auth, vista g api-init, or vista g agent without a second backend.
Deployable by Default
Works with containers and managed platforms while keeping app/runtime boundaries explicit.