A Data Analyst AI Agent built in TEE (Trusted Execution Environment)
SE Insights is an advanced data analysis platform designed to address the critical challenges of data privacy, security, and cost. In today’s business environment, many company owners are reluctant to share their sensitive data with third-party data analysis providers due to the risk of data leakage. Small and Medium Enterprises (SMEs), in particular, face the dilemma of needing professional data analysis but finding it prohibitively expensive to hire full-time data scientists at an annual cost of $100,000 or more. SE Insights solves these problems by offering a secure, cost-effective, and private AI-powered data analysis solution.
The platform leverages Trusted Execution Environment (TEE) technology, ensuring that all data is processed securely and privately. With AI Agents operating within the TEE, data analysis tasks are performed without the risk of data leakage, providing business owners with reliable insights while safeguarding their sensitive information. The platform is designed to generate business reports with insights that align with the company’s goals and objectives, all while maintaining confidentiality.
SE Insights is structured into several key sections to handle various stages of the data analysis process. The ETL (Extract, Transform, Load) section is responsible for data loading and transformation. The Preprocessing section handles data normalization, scaling, and standardization. The Exploratory Data Analysis (EDA) section focuses on data visualization, helping users understand patterns and trends. Finally, the Analysis section is where Machine Learning (ML) models are applied to generate predictive, prescriptive, descriptive, and diagnostic insights from the data.
Each AI Agent in the platform utilizes a range of powerful machine learning tools, including libraries such as scikit-learn, pandas, numpy, matplotlib, seaborn, and plotly, to perform the data analysis. The AI Agent continuously assesses the state of the data and selects the most appropriate tools and techniques for analysis. Once the analysis pipeline is complete, a comprehensive report is generated that presents actionable business insights.
The platform also includes a conversational chat function, allowing business owners to interact with the report, ask questions, clarify findings, and even debate the results. This feature provides a personalized experience, much like working with a dedicated data analyst who is always available, responsive, and committed to data confidentiality.
SE Insights is designed to cater to businesses of all sizes. Every company, regardless of its industry, needs access to quality data analysis to improve performance and make informed decisions. However, confidentiality is paramount, particularly in sectors such as healthcare, government, military, and legal industries. SE Insights excels in these areas by offering secure and affordable data analysis solutions. Additionally, the platform’s competitive pricing makes it accessible to SMEs and other businesses that would otherwise struggle to afford a full-time data scientist.
Ultimately, SE Insights brings the power of AI-driven data analysis to every business, ensuring that sensitive data remains secure while providing valuable insights at an affordable price. It is a game-changing solution for businesses seeking to enhance their decision-making capabilities without compromising on privacy.
The SE Insights platform was built using a combination of cutting-edge technologies to address the key challenges of data privacy, accessibility, and cost-efficiency. At its core, the project utilizes a TEE-based architecture for secure data processing, ensuring that all sensitive data remains private, even from the platform itself. This is a fundamental element of the project, as it enables businesses to interact with the platform and analyze their data without fear of leaks or unauthorized access.
For the front-end, we used Next.js, leveraging its flexibility to build a fast and scalable user interface. Next.js was chosen for its ease of use, server-side rendering, and efficient routing capabilities, which helped us create a seamless and interactive experience for users. Tailwind CSS was used for styling, providing a responsive, customizable design that ensures a clean and intuitive user experience.
The AI analysis is powered by OpenAI’s API, which enables the platform to generate intelligent insights and natural language responses based on the uploaded data. This conversational AI is central to the platform's design, allowing users to ask questions and receive detailed, context-aware answers. The integration of OpenAI was particularly valuable because it provided sophisticated language processing capabilities, allowing the platform to generate insightful reports, conduct follow-up interactions, and maintain conversation context. We will change to a TEE powered LLM after GPU support is added to our TEE provider.
The platform also integrates several partner technologies to enhance its functionality. Walrus Testnet was used to store data securely via an HTTP API. This integration allowed us to provide a decentralized storage solution that ensured data privacy without relying on centralized servers. Similarly, we utilized the Artificial Superintelligence Alliance's uAgent framework to deploy an AI agent that operates securely within the platform. The integration with Oasis Protocol enabled us to deploy smart contracts on the Sapphire testnet, enhancing the platform’s capabilities in terms of data exchange and security.
In terms of notable technical approaches, we utilized encrypted data processing throughout the platform. All data, whether uploaded as a document or entered directly through the conversational interface, is processed in an encrypted state within the TEE, which was a significant challenge to implement but was crucial for meeting the platform’s privacy-first goals.
Additionally, we designed adaptive insight cards, which dynamically adjust based on the data and the user's queries. This feature allows users to focus on relevant insights while hiding unnecessary information. This adaptability helps make the platform more intuitive and user-friendly. The system also includes source citations, providing transparency by linking to reputable external sources, ensuring that the insights generated by the AI are not only informative but also credible.