This project is a web-based AI agent that can perform several roles to assist with software development and business tasks.
This project is a submission for the [Name of Devpost Challenge].
- Live Demo: Link to Live Demo
- Video Walkthrough: [Link to Video Walkthrough]
Our platform connects to multiple AI services to provide a suite of tools for developers and entrepreneurs. The core of the application is a Flask-based backend that serves a user-friendly frontend. The AI functionalities are powered by Google's Vertex AI, enabling features like code generation, debugging, and content creation. The platform is designed to be easily extensible, allowing for the integration of new AI-powered tools in the future.
- Software Engineer: Generates multi-section HTML and CSS for a static website based on a structured text prompt.
- Debugger: Lints HTML and CSS code to find basic errors. Can analyze pasted code or fetch a file directly from a GitHub URL.
- Marketer: Creates promotional social media posts from a business description.
- System Analyzer: Scans a website URL for broken links and suggests search queries to find solutions.
The Software Engineer agent uses a simple, indented syntax to define the components of a website. Provide a description in the "Software-Engineer" text box, and the agent will return the HTML and CSS code in the response box below.
Example Prompt:
title: My Photography Portfolio
header: Jane Doe | Photographer
section: About Me
text: I am a professional photographer specializing in landscapes.
section: Gallery
images: 4
footer: Copyright © 2024 Jane Doe
The Debugger agent can analyze code in two ways:
- Paste Code: Paste your HTML or CSS code directly into the large text area.
- Use a GitHub URL: Paste the URL of a public file on GitHub into the smaller URL input field.
The agent will automatically fetch the code from the URL and analyze it.
Enter a full website URL (e.g., https://example.com) to scan the page for broken links.
- Python 3.x
pipfor installing Python packages
-
Clone the repository:
git clone https://github.com/GYFX35/AI-services.git cd AI-services -
Set up a virtual environment (recommended):
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install Python dependencies:
pip install -r requirements.txt
-
Create a
.envfile:- Copy the
.env.exampleto.envand fill in your API keys.
cp .env.example .env
- Copy the
-
Initialize the database:
flask init-db
-
Start the server:
flask run
-
Open your web browser: Navigate to
http://127.0.0.1:5000to access the application.