How reodite/reogent works
Reodite is a conversational campus-information and student-planning application. A student enters through the chat workspace; the chat API authenticates and validates the request, then streams an agent response that can use registered campus-data tools and persist the exchange. Separate tool workspaces support course lookup, prerequisite exploration, maps and routes, calendars, degree planning, and schedules. The README documents Postgres, Meilisearch, and multiple LLM providers. Some feature routes and integrations are unsampled, so links to them are included only where the README or indexed references support them.
Main entry points: chat/route.ts Chat endpoint · search.ts Campus search · courses/route.ts Course search API · schedule/route.ts Saved schedules
Components 22
Chat and agent
- Chat workspace
src/components/chat/chat-panel.tsx - Chat endpoint
app/api/chat/route.ts - Agent streaming
src/server/agent/stream.ts - Campus tools
src/server/modules/index.ts - LLM adapters
src/server/llm/index.ts
Campus information
- Course lookup
src/components/course-lookup/course-lookup-pane.tsx - Course search API
app/api/courses/route.ts - Campus map
src/components/map/campus-map.tsx - Walking routes
app/api/route/route.ts - Campus calendar
app/api/calendar/route.ts
Student planning
- Prerequisite explorer
src/components/prereq-tree/prereq-tree-pane.tsx - Degree planner
src/components/degree-planner/degree-planner-pane.tsx - Schedule planner
src/components/schedule-planner/schedule-planner-pane.tsx - Saved schedules
app/api/schedule/route.ts - Pulse community
src/components/pulse/pulse-feed.tsx
Identity and data
- JWT authentication
src/server/auth.ts - Chat sessions
src/server/sessions/store.ts - Campus search
src/server/search.ts - Postgres
- Meilisearch
Other components
- Student
- LLM providers
Connections 26
- Student → Chat workspace: asks questions
- Chat workspace → Chat endpoint: sends chat
- Chat endpoint → JWT authentication: authenticates
app/api/chat/route.ts - Chat endpoint → Agent streaming: streams through
app/api/chat/route.ts - Chat endpoint → Campus tools: loads tools
app/api/chat/route.ts - Agent streaming → LLM adapters: generates with
- LLM adapters → LLM providers: calls model
- Chat endpoint → Chat sessions: persists exchanges
app/api/chat/route.ts - Campus tools → Campus search: queries datasets
- Campus search → Meilisearch: searches indexes
- Student → Course lookup: explores courses
- Course lookup → Course search API: searches courses
- Course search API → JWT authentication: authenticates
app/api/courses/route.ts - Course search API → Campus search: queries courses
app/api/courses/route.ts - Student → Campus map: explores campus
- Campus map → Walking routes: requests route
- Student → Campus calendar: views dates
- Campus calendar → Campus search: reads event indexes
app/api/calendar/route.ts - Student → Prerequisite explorer: checks prerequisites
- Student → Degree planner: plans degree
- Student → Schedule planner: builds schedule
- Schedule planner → Saved schedules: saves schedule
- Saved schedules → JWT authentication: authenticates
app/api/schedule/route.ts - Saved schedules → Postgres: stores schedule
- Student → Pulse community: shares feedback
- Chat sessions → Postgres: stores sessions