Nectar AI Facility Agent
MCP server that provides live facility data access and operational tools, enabling the AI agent to query sensor readings, HVAC status, energy usage, alerts, and execute confirmed maintenance actions.
README
Nectar AI Facility Agent
An autonomous AI facility operations assistant built for the Nectar Intelligent Facilities Platform challenge.
The system allows facility operators to interact naturally through voice and enables the agent to understand requests, route them to the appropriate workflow, retrieve facility knowledge using RAG, access live facility information through MCP tools, reason over multiple sources, safely perform operational actions, and respond through voice.
1. Problem Statement
Facility operators often need to investigate issues by checking multiple sources of information such as:
- Building temperature
- HVAC asset status
- Sensor readings
- Energy consumption
- Active alerts
- Equipment relationships
- Maintenance procedures
- Troubleshooting documentation
A conventional chatbot can answer questions but cannot reliably investigate operational problems using live facility data and internal documentation.
This project addresses that problem by combining:
Voice AI + LLM Routing + RAG + MCP + Agentic Reasoning + Tool Calling + Controlled Actions + Text-to-Speech
The goal is to provide an autonomous facility operations assistant rather than a simple question-answer chatbot.
2. Objectives
The system is designed to:
- Receive natural language or voice input.
- Convert speech to text.
- Understand user intent.
- Route the request to the appropriate agent workflow.
- Retrieve information from facility documentation.
- Query live facility data through MCP tools.
- Combine multiple sources of information.
- Reason about facility conditions.
- Safely execute operational actions after confirmation.
- Convert the final response back to speech.
- Maintain conversational interaction.
- Provide grounded responses and avoid unsupported claims.
3. High-Level Architecture
USER
|
Voice / Text
|
v
Speech-to-Text
|
v
FastAPI API
|
v
Agent / LLM Router
|
+---------------+----------------+
| | |
v v v
RAG MCP General
Agent Tools LLM
| |
v v
Facility Docs Live Facility
Knowledge Base Data
| |
+-------+-------+
|
v
Reasoning Layer
|
v
Decision / Response
|
+-------+--------+
| |
v v
MCP Action Answer
| |
v v
Maintenance Request Text-to-Speech
|
v
Voice Response
Technology Stack
Backend
Python
FastAPI
Uvicorn
Agent Orchestration
LangGraph
LLM-based routing
Agentic workflow
LLM
Google Gemini
RAG
LangChain
ChromaDB
HuggingFace Embeddings
Semantic retrieval
MCP
Model Context Protocol
MCP Server
MCP Client
Facility operation tools
Voice
SpeechRecognition
Browser Speech Recognition / Speech-to-Text
Browser Text-to-Speech
Frontend
HTML
CSS
JavaScript
Testing
Pytest
Conclusion
The Nectar AI Facility Agent demonstrates an autonomous AI workflow for intelligent facility operations.
The system combines:
Speech-to-Text
Text-to-Speech
LLM reasoning
Intelligent routing
RAG
Vector search
MCP
Tool calling
Synthetic facility data
Multi-step reasoning
Controlled operational actions
Confirmation-based safety
Automated testing
Conclusion
The Nectar AI Facility Agent demonstrates an autonomous AI workflow for intelligent facility operations.
The system combines:
Speech-to-Text
Text-to-Speech
LLM reasoning
Intelligent routing
RAG
Vector search
MCP
Tool calling
Synthetic facility data
Multi-step reasoning
Controlled operational actions
Confirmation-based safety
Automated testing
Conclusion
The Nectar AI Facility Agent demonstrates an autonomous AI workflow for intelligent facility operations.
The system combines:
Speech-to-Text
Text-to-Speech
LLM reasoning
Intelligent routing
RAG
Vector search
MCP
Tool calling
Synthetic facility data
Multi-step reasoning
Controlled operational actions
Confirmation-based safety
Automated testing
The key objective is to demonstrate how an AI agent can move beyond simple question answering and autonomously investigate facility problems using both organizational knowledge and live operational data while maintaining safety around operational actions.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
E2B
Using MCP to run code via e2b.