MySQL_AI_Agent — Gemini Agents | Neura Market
    Neura MarketNeura Market/Gemini
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityDeepSeekDeepSeek
    CoPilotCoPilotStable DiffusionStable DiffusionMidjourneyMidjourney
    View All Directories
    OverviewRulesPromptsMCPsAgentsBlogVideosGuidesCoursesCommunityGemsExtensionsTrendingGenerate
    GeminiAgentsMySQL_AI_Agent
    Back to Agents
    MySQL_AI_Agent

    MySQL_AI_Agent

    nvhnam April 7, 2025
    3 copies 0 downloads

    An intelligent MySQL AI Agent system that translates natural language into SQL queries and provides insightful responses — powered by Streamlit, LangChain, Gemini, and MySQL.

    Agent Definition
    # 🧠 MySQL AI Agent
    
    A lightweight AI-powered agent that understands and interacts with MySQL databases through natural language. Built to support developers, analysts, and students in exploring and querying databases using plain English — no manual SQL writing required.
    
    ---
    
    ## 🚀 Features
    
    - 🔍 Natural Language Interface: Ask questions in plain English and get meaningful answers back.
    - 📊 Database Insights: Retrieve data summaries, visualize results (line, bar, pie charts), and explore tables effortlessly.
    - 🔄 Multi-query Support: Handles follow-up questions and context-aware dialogue.
    - 🧠 LLM-Powered Responses: Uses Google Gemini + LangChain to return human-friendly explanations instead of raw query outputs.
    - ⚙️ Customizable Schema: Connect to your own MySQL database with ease.
    - 💬 Conversational UI: Clean chat interface for seamless interaction.
    
    ---
    
    ## 🛠️ Tech Stack
    - 🧪 Programming Language: Python
    - 🧠 AI Framework: LangChain + Gemini
    - 📊 Database: MySQL
    - 🌐 Frontend/UI: Streamlit
    
    ---
    
    ## 📦 Setup Instructions
    1. Clone the repository
    <pre>
    git clone https://github.com/nvhnam/MySQL_AI_Agent.git
    cd to the project
    </pre>
      
    2. Install dependencies
    <pre> pip install -r requirements.txt </pre>
    
    3. Configure Environment
    - Create a folder named .streamlit in the project root (if it doesn't already exist):
    <pre> mkdir .streamlit </pre>
    
    - Inside the .streamlit folder, create a file named secrets.toml and add your credentials:
    <pre>
    gemini_key = "your_gemini_api_key"
    default_db_uri = "mysql+pymysql://username:password@host:port/database_name"
    </pre>
      > 💡 Make sure to replace the values with your actual Claude API key and MySQL connection URI.
    
    4. Run the app
    <pre> streamlit run app.py </pre>
    
    ---
    
    ## 🤝 Contributing
    I'm happy to hear your thoughts or ideas! Feel free to contact me with your ideas or collaboration.
    
    Reach me at:
    
    - 📧 Email: [email protected]
    - 👨‍💻 Portfolio: https://nguyenviethoangnam.vercel.app/
    ---
    
    ## ⭐ Support the Project
    If you fi

    Tags

    agentic-ailangchainmysqlpythonragstreamlit

    Comments

    More Agents

    View all
    research

    NotebookLM

    Google's AI-powered research notebook that ingests your documents and becomes an expert on your content. Generates audio overviews, study guides, FAQs, and interactive discussions from uploaded sources.

    G
    Google
    browser

    Project Mariner (Browser Agent)

    Google DeepMind's experimental AI agent that can navigate websites, fill forms, and complete multi-step browser tasks autonomously. Uses Gemini's multimodal understanding to interact with web interfaces.

    G
    Google DeepMind
    multimodal

    Project Astra (Multimodal Agent)

    Google DeepMind's universal AI assistant prototype that can see, hear, and respond in real-time through your device camera and microphone. Demonstrates the future of multimodal AI interaction.

    G
    Google DeepMind
    enterprise

    Gemini Enterprise Agent Platform

    Google Cloud's enterprise platform for building, deploying, and managing AI agents powered by Gemini. Supports multi-agent orchestration, tool integration, and enterprise governance.

    G
    Google Cloud
    research

    Gemini Deep Research Agent

    Gemini's agentic research capability that autonomously browses the web, synthesizes information from dozens of sources, and produces comprehensive research reports on any topic.

    G
    Google
    canvas

    Gemini Canvas Agent

    Interactive coding and content creation agent that generates, previews, and iterates on code, documents, and interactive applications in a side panel. Supports HTML/CSS/JS, Python, and more.

    G
    Google

    Stay up to date

    Get the latest Gemini prompts, rules, and resources delivered to your inbox weekly.

    Neura Market LogoNeura Market

    Discover the best AI prompts, plugins, and resources for Gemini and more.

    Content Types

    • Rules
    • Prompts
    • MCPs
    • Agents
    • Guides

    Platforms

    • ChatGPT Directory
    • Claude Directory
    • Gemini Directory
    • Cursor Directory
    • Grok Directory
    • Perplexity Directory
    • DeepSeek Directory
    • CoPilot Directory
    • Stable Diffusion Directory
    • Midjourney Directory
    • All Directories

    Resources

    • Blog
    • Documentation
    • Help Center
    • Marketplace

    Legal

    • Privacy Policy
    • Terms of Service

    © 2026 Neura Market. All rights reserved.

    |

    Not affiliated with any AI platform vendors.