How chaitanyareddykarri/ryvix works
Ryvix is a tenant-scoped software and infrastructure operations platform. Its main coding workflow runs from a user task through isolated workspace changes and checks, preview/diff review, and approved PR and release steps. Separate capabilities provide persisted, retrieval-augmented chat; reviewed learning; server telemetry and approved operations; and Gmail/WhatsApp channels. The README documents these product flows, while sampled source confirms selected chat, repository-context, workspace, and device-protocol behavior. Several listed subsystems were not sampled, so their links rely on README statements rather than inspected call sites.
Main entry points: chat/route.ts Chat API · tasks/route.ts Task API · repository-worker.ts Workspace worker · app Ryvix UI
Components 24
Web and tenant API
- Ryvix UI
web/app - Task API
web/app/api/tasks/route.ts - Chat API
web/app/api/chat/route.ts - Servers API
web/app/api/servers/route.ts
Coding workflow
- Task repository
backend/src/repositories/task.repository.ts - Repository job store
backend/src/services/repository-job-store.ts - Workspace worker
services/src/workspace/repository-worker.ts - Repository context
services/src/workspace/repository-context.ts - Isolated workspace
services/src/workspace/docker-workspace.manager.ts - Preview and diff
web/app/api/workspace/[sessionId]/preview/route.ts - PR and release
backend/src/services/pr.service.ts
Chat and learning
- Chat context
ai/src/context/context-builder.ts - Repository chat context
web/utils/repository-chat-context.ts - Repository knowledge
backend/src/services/repository-knowledge.ts - Conversation store
backend/src/services/conversation-store.ts - Reviewed learning
backend/src/services/experience-store.ts
Server operations
- Device agent
agent/cmd/ryvix-agent/main.go - Telemetry ingestion
backend/src/services/device-protocol.ts - Security analysis
ai/src/local-security-engine.ts - Approved operations
backend/src/services/server-command-store.ts
Channels and notifications
- Gmail channel
backend/src/connectors/gmail.connector.ts - WhatsApp assistant
backend/src/services/whatsapp-assistant.ts - Email notifications
services/src/communication/email-notifications.ts
Other components
- User
Connections 23
- User → Ryvix UI: uses
README.md - Ryvix UI → Task API: submits tasks
README.md - Task API → Repository job store: creates jobs
web/app/api/tasks/route.ts - Repository job store → Workspace worker: claims jobs
README.md - Workspace worker → Repository context: builds context
README.md - Workspace worker → Isolated workspace: runs workspace
README.md - Isolated workspace → Preview and diff: provides preview
README.md - User → Preview and diff: reviews diff
README.md - User → PR and release: approves release
README.md - User → Chat API: asks
README.md - Chat API → Chat context: sanitizes context
web/app/api/chat/route.ts - Chat API → Conversation store: persists conversation
web/app/api/chat/route.ts - Chat API → Repository chat context: loads repository context
web/app/api/chat/route.ts - Repository chat context → Repository knowledge: searches knowledge
web/utils/repository-chat-context.ts - Chat API → Reviewed learning: retrieves lessons
web/app/api/chat/route.ts - Device agent → Telemetry ingestion: reports telemetry
README.md - Servers API → Device agent: enrolls device
README.md - Telemetry ingestion → Security analysis: analyzes events
- User → Approved operations: approves operations
README.md - Gmail channel → Task API: proposes tasks
README.md - User → WhatsApp assistant: chats opt-in
README.md - WhatsApp assistant → Task API: requests coding tasks
README.md - PR and release → Email notifications: sends approved results
README.md