Skip to content

Comments

Add car finder agent#112

Merged
shivaylamba merged 1 commit intoArindam200:mainfrom
shivaylamba:main
Dec 8, 2025
Merged

Add car finder agent#112
shivaylamba merged 1 commit intoArindam200:mainfrom
shivaylamba:main

Conversation

@shivaylamba
Copy link
Collaborator

@shivaylamba shivaylamba commented Dec 8, 2025

Add car finder agent using Scrapegraph


EntelligenceAI PR Summary

This PR adds a complete AI-powered car finder agent system that scrapes Cars.com listings and provides intelligent recommendations through a Streamlit chat interface.

  • Implemented CrewAI agent with Nebius LLM for natural language query processing and car recommendations
  • Added ScrapegraphAI integration for web scraping with automatic seed page scraping on no matches
  • Created MongoDB persistence layer with three collections, unique indexes, and upsert/query/health check functions
  • Built Streamlit UI with dark theme, API key configuration, database health monitoring, and expandable car detail cards
  • Included brand keyword extraction, price/location/keyword filtering, and anti-hallucination safeguards
  • Added comprehensive documentation, environment configuration, dependency management, and standard Python project structure

@entelligence-ai-pr-reviews
Copy link

Entelligence AI Vulnerability Scanner

Status: No security vulnerabilities found

Your code passed our comprehensive security analysis.

Analyzed 3 files in total

@entelligence-ai-pr-reviews
Copy link

Walkthrough

This PR introduces a new AI-powered car finder agent feature that scrapes used car listings from Cars.com, stores them in MongoDB, and provides intelligent recommendations through a Streamlit interface. The implementation leverages ScrapegraphAI for web scraping, CrewAI with Nebius LLM for natural language query processing, and MongoDB for data persistence with deduplication. The system includes a dark-themed chat interface where users can query for cars using natural language, with the agent performing brand extraction, price/location filtering, and providing recommendations based only on real database listings. The project includes comprehensive documentation, environment configuration, database health monitoring, and proper Python project structure with dependency management.

Changes

File(s) Summary
advance_ai_agents/car_finder_agent/README.md Added comprehensive documentation covering architecture, tech stack, project structure, setup instructions, and usage guidelines for the AI-powered car recommendation system.
advance_ai_agents/car_finder_agent/agent.py Implemented core car finder agent using CrewAI and Nebius LLM with functionality for scraping Cars.com listings, MongoDB storage with deduplication, brand keyword extraction, and AI-based car recommendations with strict anti-hallucination rules.
advance_ai_agents/car_finder_agent/app.py Created Streamlit application with dark-themed chat interface, sidebar configuration for API keys and user ID, database health monitoring, and expandable car detail cards displaying results from MongoDB queries.
advance_ai_agents/car_finder_agent/db.py Implemented MongoDB integration module with connection management, three collections (cars_listings, chat_debug, scraped_pages) with unique indexes, and functions for upserting cars, querying with filters, and health checks.
advance_ai_agents/car_finder_agent/api.env Added environment configuration file with MongoDB connection settings (URI, database name) and API key placeholders for Nebius and Scrapegraph services.
advance_ai_agents/car_finder_agent/.gitignore Added standard Python .gitignore file to exclude bytecode, build artifacts, distribution files, environment files, and virtual environments from version control.
advance_ai_agents/car_finder_agent/requirements.txt Defined project dependencies including streamlit, pymongo, python-dotenv, requests, crewai, crewai-tools, scrapegraph-py, and litellm.
advance_ai_agents/car_finder_agent/pyproject.toml Added Python project configuration for 'carsscrape' module with version 0.1.0 and Python 3.10+ requirement.
advance_ai_agents/car_finder_agent/assets/nebius.png Added Nebius branding image asset for UI display.

Sequence Diagram

This diagram shows the interactions between components:

sequenceDiagram
    Note over Developer: No component interactions to diagram
    Note over Developer: This PR only adds a .gitignore file<br/>with Python project exclusions
    Note over Developer: No code changes or architectural<br/>modifications are present
Loading

🔗 Cross-Repository Impact Analysis

Enable automatic detection of breaking changes across your dependent repositories. → Set up now

Learn more about Cross-Repository Analysis

What It Does

  • Automatically identifies repositories that depend on this code
  • Analyzes potential breaking changes across your entire codebase
  • Provides risk assessment before merging to prevent cross-repo issues

How to Enable

  1. Visit Settings → Code Management
  2. Configure repository dependencies
  3. Future PRs will automatically include cross-repo impact analysis!

Benefits

  • 🛡️ Prevent breaking changes across repositories
  • 🔍 Catch integration issues before they reach production
  • 📊 Better visibility into your multi-repo architecture

▶️AI Code Reviews for VS Code, Cursor, Windsurf
Install the extension

Note for Windsurf Please change the default marketplace provider to the following in the windsurf settings:

Marketplace Extension Gallery Service URL: https://marketplace.visualstudio.com/_apis/public/gallery

Marketplace Gallery Item URL: https://marketplace.visualstudio.com/items

Entelligence.ai can learn from your feedback. Simply add 👍 / 👎 emojis to teach it your preferences. More shortcuts below

Emoji Descriptions:

  • ⚠️ Potential Issue - May require further investigation.
  • 🔒 Security Vulnerability - Fix to ensure system safety.
  • 💻 Code Improvement - Suggestions to enhance code quality.
  • 🔨 Refactor Suggestion - Recommendations for restructuring code.
  • ℹ️ Others - General comments and information.

Interact with the Bot:

  • Send a message or request using the format:
    @entelligenceai + *your message*
Example: @entelligenceai Can you suggest improvements for this code?
  • Help the Bot learn by providing feedback on its responses.
    @entelligenceai + *feedback*
Example: @entelligenceai Do not comment on `save_auth` function !

Also you can trigger various commands with the bot by doing
@entelligenceai command

The current supported commands are

  1. config - shows the current config
  2. retrigger_review - retriggers the review

More commands to be added soon.

@shivaylamba shivaylamba merged commit 7c44102 into Arindam200:main Dec 8, 2025
1 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant