Eliminating the $177 Billion Annual Loss in Construction Operations through Autonomous AI Multi-Agent Orchestration.
π’ About Data Daur β’ πΌοΈ UI Showcase β’ π Quick Start β’ β¨ Key Features β’ ποΈ Architecture
This open-source project is proudly sponsored, engineered, and maintained by Data Daur AI & ERP Consulting.
Data Daur specializes in empowering global enterprises with tailored Artificial Intelligence, autonomous multi-agent systems, data engineering pipelines, and custom ERP integration services across Construction, Manufacturing, Logistics, and Corporate Operations.
π Website: www.datadaur.com
βοΈ Enterprise Inquiries: contact@datadaur.com
The Construction AI Agent System is a production-ready, open-source multi-agent platform designed to bridge information silos and automate operations across Construction, Manufacturing, and HR departments.
Powered by a Dynamic Intelligence Intent Layer (IntelligentIntentLayer.ts) harvesting live tool schemas, LangGraph StateGraph Workflows (v2.x), and the Issa Group Enterprise Knowledge Base & Policy Engine, the system dynamically classifies user queries ("What is our WFH policy, onboard Sarah as an engineer, order 500 steel beams, and estimate site timeline") into parallel or sequential execution tasks across specialized AI agents.
Full-screen dark mode ChatGPT-style terminal with @ tool autocomplete, voice-to-text speech input, and multi-thread session switcher.
Interactive employee directory featuring Employee IDs (EMP001), live search filtering, and CRUD management modals.
| Workforce Directory Overview | Add & Edit Employee Modal |
|---|---|
![]() |
![]() |
Real-time construction project tracking featuring Project IDs (PRJ-001), site locations, budgets, and visual progress bars.
Plant inventory management featuring SKUs (STEEL-001), stock level controls, unit costs, and live OEE performance metrics.
Multi-step StateGraph orchestration wizard for executing autonomous cross-department enterprise workflows.
Real-time floating animated alerts (success, error, info, warning) and interactive file download cards for CSV, Excel, and PDF reports.
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β π PLATFORM HIGHLIGHTS β
βββββββββββββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββ¬ββββββββββββββββββββββββββββ€
β ποΈ Construction Agent β π Manufacturing Agent β π₯ HR Agent β
β β’ Project Tracker & CRUD β β’ Inventory Tracker & SKUs β β’ Employee Directory CRUD β
β β’ Material Cost Calculator β β’ OEE Production Metrics β β’ Onboarding Checklists β
β β’ Timeline Estimator β β’ Quality Control Logging β β’ Vacation & Leave Balancesβ
β β’ OSHA Safety Checklists β β’ Equipment Maintenance β β’ Performance Trackers β
βββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββ€
β π LangGraph Workflows β π¨ Terminal & User Experience β π Reports & Exports β
β β’ Company Control Orchestrationβ β’ `@` Tool Autocomplete Menu β β’ CSV Export Generator β
β β’ 15-Step Employee Onboarding β β’ ποΈ Voice-to-Text Speech β β’ Excel Sheet Exporter β
β β’ Project Kickoff Pipelines β β’ π¬ Multi-Thread Sessions β β’ PDF Document Renderer β
β β’ Inventory Restock Trigger β β’ π Animated Toast Alerts β β’ In-Chat Download Cards β
βββββββββββββββββββββββββββββββββ΄ββββββββββββββββββββββββββββββββ΄ββββββββββββββββββββββββββββ
[ User / Web Terminal UI (React 18 + Vite) ]
β
βββββββββββββββββββββββ΄ββββββββββββββββββββββ
βΌ βΌ
β‘ Fast REST Agent Router π LangGraph Workflow Center
(Groq LLM + 429 Retry Backoff) (StateGraph Workflow Engine)
β β
ββββββββββββββββΌβββββββββββββββ ββββββββββββββββΌβββββββββββββββ
βΌ βΌ βΌ βΌ βΌ βΌ
ποΈ Construction π₯ HR π Manufacturing Kickoff Onboarding Control
Agent Agent Agent Workflow Workflow Workflow
β β β β β β
ββββββββββββββββ΄βββββββββββββββ΄ββββββββββββββ΄βββββββββββββββ΄βββββββββββββββ
β
ββββββββββββββ΄βββββββββββββ
βΌ βΌ
π MongoDB 7.5 β‘ Redis 5.11
(Text Indexes Active) (Session Token Cache)
- Bun Runtime (
>= 1.0) - Docker & Docker Compose
# Clone the open-source repository
git clone https://github.com/tayyabmughal676/Construction_AI_Agent.git
cd Construction_AI_Agent
# Install dependencies for backend and frontend
bun install
cd frontend && bun install && cd ..cp .env.example .envDefault environment parameters:
PORT=3000
MONGODB_URI=mongodb://localhost:27017/multi-ai-agency
MONGODB_DB_NAME=multi-ai-agency
REDIS_HOST=localhost
REDIS_PORT=6379
GROQ_API_KEY=your_groq_api_key_here
JWT_SECRET=super_secret_jwt_key_2026# Start MongoDB & Redis Docker containers
docker-compose up -d
# Seed database with rich enterprise demo data
bun run seed# Run both Backend API server & Frontend UI concurrently
bun run dev- Backend API:
http://localhost:3000 - Frontend UI:
http://localhost:5173 - Demo Admin Credentials:
admin@example.com/admin123 - Demo User Credentials:
user@example.com/user123
POST /api/agents/chat
curl -X POST http://localhost:3000/api/agents/chat \
-H "Content-Type: application/json" \
-H "Authorization: Bearer <YOUR_JWT_TOKEN>" \
-d '{"message": "@project_tracker list all active sites"}'POST /api/workflows/langgraph/company-control
curl -X POST http://localhost:3000/api/workflows/langgraph/company-control \
-H "Content-Type: application/json" \
-H "Authorization: Bearer <YOUR_JWT_TOKEN>" \
-d '{"context":{"message":"Onboard Sarah as engineer and check steel beam stock"}}'| Endpoint | Method | Description |
|---|---|---|
/api/auth/login |
POST |
Authenticate user & receive JWT token |
/api/agents/capabilities |
GET |
Retrieve system capabilities & active tools |
/api/agents/chat |
POST |
Execute natural language query via Intelligent Router |
/api/hr/employees |
GET/POST/PUT/DELETE |
Full CRUD operations for workforce directory |
/api/construction/projects |
GET/POST/PUT/DELETE |
Full CRUD operations for construction sites |
/api/manufacturing/inventory |
GET/POST/PUT/DELETE |
Full CRUD operations for plant inventory |
/api/workflows/list |
GET |
List available LangGraph StateGraph workflows |
/api/files/:type/:filename |
GET |
Download generated CSV, Excel, or PDF reports |
.
βββ frontend/ # React 19 + Vite + TailwindCSS Modular UI Application
β βββ src/
β β βββ types/ # Shared TypeScript type definitions
β β βββ constants/ # Department themes, icons, navigation, & suggestion chips
β β βββ services/ # Centralized API client (ApiService)
β β βββ hooks/ # Custom hooks (useAuth, useChatThreads, useSpeechRecognition, useMentionTools)
β β βββ components/ # UI Components
β β β βββ auth/ # AuthScreen (Login / Registration)
β β β βββ layout/ # Sidebar & Header layout chrome
β β β βββ chat/ # ChatTerminal, MessageItem, FileDownloadCard, ChatInput, WelcomeScreen
β β β βββ Hubs/Modals # HR, Construction, Manufacturing, Workflow, ApprovalModal, DeleteModal, Toast
β β βββ App.tsx # Declarative Root Orchestrator
β β βββ main.tsx # ToastProvider & React entry
βββ screenshots/ # UI/UX Screenshots & Gallery
βββ src/ # Elysia.js Hardened Backend Application
β βββ agents/ # Domain Agents, Registry & Dynamic Intent Layer
β βββ config/ # Logger, env validator, and capability configurations
β βββ db/ # MongoDB client, text indexes, models & Redis connection
β βββ middleware/ # Auth, RBAC, and rate limiting security middleware
β βββ routes/ # API endpoint route handlers (auth, agents, v2graph, hubs, files)
β βββ services/ # Groq LLM & LM Studio AI integration
β βββ tools/ # 16 specialized domain, communication & exporter tools
β βββ workflows/langgraph/ # LangGraph v2 MultiAgentSwarmGraph & 6 enterprise workflows
β βββ seed.ts # Enterprise database seeder
βββ test/ # 54 Automated Unit & Security Test Suites
βββ docker-compose.yml # Local MongoDB & Redis stack
βββ AGENTS.md # Agent architecture & tool specifications
βββ CHANGELOG.md # Project version release history
βββ SECURITY.md # Full Security Vulnerability Assessment & Resolution Matrix
βββ v2-work.md # 2-Phase V2 Swarm Engine roadmap
βββ README.md # Project documentation
Contributions are warmly welcomed! Please follow these steps:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Verify TypeScript compilation (
bun testandnpx tsc --noEmit) - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
Distributed under the MIT License. See LICENSE for more information.
π www.datadaur.com β’ βοΈ contact@datadaur.com
Built with β€οΈ for the Global Construction & Industrial Sector






