How 1nsharma/hiresaathi works
HireSaathi AI is a unified enterprise workspace spanning marketing, recruitment, support, automation, app building, and integrations. A user enters through the React app, which selects a module; marketing and integration modules have additional documented or source-visible agent and tool capabilities. The repository also contains an Express API for authentication, workspace management, and domain endpoints. The sampled frontend shows mocked Composio execution and local persistence; no frontend-to-backend API calls were evidenced, so the two are not connected here. Unsampled modules are represented at their exact page or route paths, with links omitted where implementation evidence is unavailable.
Main entry points: App.tsx Page router · server.ts Express API · toolStore.tsx Tool connections · ContentStudio.tsx Content Studio
Components 34
Workspace UI
- Page router
src/App.tsx - Navigation
src/components/Sidebar.tsx - Dashboard
src/pages/Dashboard.tsx
Marketing Suite
- Brand IQ
src/pages/BrandIQ.tsx - AI Marketing
src/pages/Marketing.tsx - Content Studio
src/pages/ContentStudio.tsx - Calendar
src/pages/Calendar.tsx - Campaigns
src/pages/Campaigns.tsx - Approvals
src/pages/Approvals.tsx - Asset Library
src/pages/AssetLibrary.tsx - Analytics
src/pages/Analytics.tsx
Business Modules
- Recruitment
src/pages/Recruit.tsx - AI Support
src/pages/Support.tsx - Automation
src/pages/Automation.tsx - App Builder
src/pages/Builder.tsx
Agents & Tools
- MCP Connect
src/pages/MCPConnect.tsx - Tool connections
src/lib/toolStore.tsx - Composio tools
src/lib/composio.ts - Agent runtime
src/lib/agentRuntime.ts - Composio service
backend/src/services/composio.service.ts
Backend API
- Express API
backend/src/server.ts - Authentication routes
backend/src/routes/auth.routes.ts - Authentication
backend/src/controllers/auth.controller.ts - Workspace routes
backend/src/routes/workspace.routes.ts - Workspace management
backend/src/controllers/workspace.controller.ts - Brand routes
backend/src/routes/brand.routes.ts - Brand analysis
backend/src/controllers/brand.controller.ts - Content routes
backend/src/routes/content.routes.ts - Content API
backend/src/controllers/content.controller.ts - Agent routes
backend/src/routes/agent.routes.ts - Agent API
backend/src/controllers/agent.controller.ts - Agent orchestration
backend/src/services/agentRuntime.service.ts - AI services
backend/src/services/ai.service.ts
Other components
- Workspace user
Connections 36
- Workspace user → Page router: uses
README.md - Page router → Navigation: renders
src/App.tsx - Page router → Dashboard: selects page
src/App.tsx - Page router → Brand IQ: selects page
src/App.tsx - Page router → AI Marketing: selects page
src/App.tsx - Page router → Content Studio: selects page
src/App.tsx - Page router → Calendar: selects page
src/App.tsx - Page router → Campaigns: selects page
src/App.tsx - Page router → Approvals: selects page
src/App.tsx - Page router → Asset Library: selects page
src/App.tsx - Page router → Analytics: selects page
src/App.tsx - Page router → Recruitment: selects page
src/App.tsx - Page router → AI Support: selects page
src/App.tsx - Page router → Automation: selects page
src/App.tsx - Page router → App Builder: selects page
src/App.tsx - Page router → MCP Connect: selects page
src/App.tsx - Content Studio → Agent runtime: uses
src/pages/ContentStudio.tsx - Content Studio → Tool connections: uses
src/pages/ContentStudio.tsx - AI Marketing → Tool connections: uses
src/pages/Marketing.tsx - MCP Connect → Tool connections: uses
src/pages/MCPConnect.tsx - Tool connections → Composio tools: connects tools
src/lib/toolStore.tsx - Agent runtime → Composio tools: uses tools
src/lib/agentRuntime.ts - Express API → Authentication routes: mounts
backend/src/server.ts - Express API → Workspace routes: mounts
backend/src/server.ts - Express API → Brand routes: mounts
backend/src/server.ts - Express API → Content routes: mounts
backend/src/server.ts - Express API → Agent routes: mounts
backend/src/server.ts - Authentication routes → Authentication: dispatches
backend/src/routes/auth.routes.ts - Workspace routes → Workspace management: dispatches
backend/src/routes/workspace.routes.ts - Brand routes → Brand analysis: dispatches
backend/src/routes/brand.routes.ts - Content routes → Content API: dispatches
backend/src/routes/content.routes.ts - Agent routes → Agent API: dispatches
backend/src/routes/agent.routes.ts - Brand analysis → AI services: analyzes with
backend/src/controllers/brand.controller.ts - Agent API → Agent orchestration: invokes
backend/src/controllers/agent.controller.ts - Agent orchestration → AI services: uses
backend/src/services/agentRuntime.service.ts - Agent orchestration → Composio service: uses
backend/src/services/agentRuntime.service.ts