How mrx-tech18/robot-ai works
This is an AI-assisted virtual office and executive-workspace product. Users sign in or enter a demo, then work with an office of specialist employees through command/chat, email and calendar workflows, tasks, approvals, history, and integrations. The React application calls a server API; that server coordinates workspace state, AI assistance, and connector operations. The graph preserves the documented-by-code product areas and shared domain logic. Evidence is limited to the supplied excerpts and SOURCE INDEX; edges without direct support are omitted.
Main entry points: App.tsx Application shell · server.ts HTTP API and orchestration · AuthScreen.tsx Sign-in and demo · api.ts API client
Components 25
Workspace experience
- Application shell
src/App.tsx - Sign-in and demo
src/components/AuthScreen.tsx - Virtual office
src/components/VirtualOfficeView.tsx - Dashboard
src/components/DashboardView.tsx - Command center
src/components/CommandCenterView.tsx - Employee workspaces
src/components/EmployeeWorkspaceView.tsx - Task management
src/components/TaskManagementView.tsx - Approval center
src/components/ApprovalCenterView.tsx - Automation history
src/components/AutomationHistoryView.tsx - Integration settings
src/components/IntegrationsView.tsx
API and workflows
- API client
src/lib/api.ts - HTTP API and orchestration
server.ts - Specialist AI
server/ai.ts - Webhook transport
server/webhookRequest.ts
Integrations
- Connector operations
server/connectors.ts - Connector persistence
server/connectorsRepo.ts - Connector controls
src/components/connectors/ConnectorModals.tsx
Workspace state
- Workspace data
server/db.ts - Cloud user data
server/firestore.ts - Relational schema
src/db/schema.ts - Postgres access
src/db/index.ts
Shared domain logic
- Office workflow rules
src/shared/officeLogic.ts - Connector rules
src/shared/connectorLogic.ts
Other components
- Workspace user
- Firebase authentication
src/lib/firebase.ts
Connections 28
- Workspace user → Sign-in and demo: signs in
src/components/AuthScreen.tsx - Sign-in and demo → Firebase authentication: authenticates
src/components/AuthScreen.tsx - Sign-in and demo → API client: registers session
src/components/AuthScreen.tsx - Application shell → API client: loads workspace
src/App.tsx - Application shell → Sign-in and demo: renders
src/App.tsx - Application shell → Virtual office: renders
src/App.tsx - Application shell → Dashboard: renders
src/App.tsx - Application shell → Command center: renders
src/App.tsx - Application shell → Employee workspaces: renders
src/App.tsx - Application shell → Task management: renders
src/App.tsx - Application shell → Approval center: renders
src/App.tsx - Application shell → Automation history: renders
src/App.tsx - Application shell → Integration settings: renders
src/App.tsx - Integration settings → API client: manages connections
src/components/IntegrationsView.tsx - Integration settings → Connector controls: renders controls
src/components/IntegrationsView.tsx - API client → HTTP API and orchestration: sends API requests
src/lib/api.ts - HTTP API and orchestration → Workspace data: reads and updates
server.ts - HTTP API and orchestration → Cloud user data: loads user profile
server.ts - HTTP API and orchestration → Specialist AI: requests assistance
server.ts - HTTP API and orchestration → Connector operations: routes connector work
server.ts - HTTP API and orchestration → Webhook transport: posts webhook
server.ts - Connector operations → Connector persistence: loads and records
server/connectors.ts - Connector operations → Connector rules: applies rules
server/connectors.ts - Connector persistence → Postgres access: queries database
server/connectorsRepo.ts - Postgres access → Relational schema: binds schema
src/db/index.ts - HTTP API and orchestration → Office workflow rules: uses workflow rules
server.ts - Webhook transport → Office workflow rules: validates target
server/webhookRequest.ts - HTTP API and orchestration → Connector persistence: loads dashboard
server.ts