PARAS KOSAMBE

Data Science

Back to projects
03 / AI/ML

Paras Arts AI Data Agent

An AI-powered data agent that enables natural-language analysis of Paras Arts business data stored in MongoDB through a controlled tool-based architecture.

Paras Arts AI Data Agent
01

Overview

Paras Arts AI Data Agent is a restricted AI-powered assistant designed to interact with and analyze structured business data from the Paras Arts platform. The agent allows natural-language questions about data such as orders, artworks, services, testimonials, FAQs, messages, and newsletter records. Instead of giving the AI unrestricted database access, the system uses predefined tools and controlled operations to retrieve and analyze permitted information. The project combines generative AI, backend APIs, database querying, and tool-based agent architecture to demonstrate how AI agents can be safely integrated with real-world application data.

02

Problem

Analyzing application data directly through database queries can require technical knowledge and can become time-consuming when users need quick answers to business questions.

03

Solution

The Paras Arts AI Data Agent provides a natural-language interface for querying and analyzing permitted business data. A controlled tool layer sits between the AI model and MongoDB, restricting what information the agent can access and what operations it can perform.

04

Features

  1. 01Natural-language data queries
  2. 02AI-powered business data analysis
  3. 03MongoDB data integration
  4. 04Tool-based agent architecture
  5. 05Controlled database access
  6. 06Order data analysis
  7. 07Artwork data analysis
  8. 08Services analysis
  9. 09Testimonials and FAQ analysis
  10. 10Newsletter and message analysis
  11. 11FastAPI backend
  12. 12CORS-enabled API
  13. 13Restricted data exposure
  14. 14No arbitrary database operations
  15. 15No unrestricted deletion operations
  16. 16Structured AI responses
05

Technologies

PythonGoogle GeminiFastAPIMongoDBPyMongoREST APITool Calling / Agentic AICORSEnvironment VariablesGit & GitHub
07

Development details

The agent was developed using Python with FastAPI as the backend API layer and MongoDB as the data source. The AI model interacts with the database through a predefined set of tools rather than receiving unrestricted database access. The system separates the AI reasoning layer, API layer, database inspection, and tool functions. Access restrictions were implemented to prevent the agent from exposing sensitive administrative information, customer contact details, addresses, image URLs, or performing arbitrary database deletion and modification operations.

08

Key learnings

  • Building AI agents with Python
  • Working with Gemini models
  • Agentic AI architecture
  • Tool calling and function-based AI workflows
  • Connecting AI systems with MongoDB
  • Building APIs using FastAPI
  • Designing restricted database access
  • AI security and data-access boundaries
  • Environment variable management
  • CORS configuration
  • Separating AI logic from backend services
  • Working with real-world application data
  • Designing safer AI-powered data assistants