Spaces:
Runtime error
Runtime error
A newer version of the Gradio SDK is available:
6.2.0
metadata
title: AI Development Agent
emoji: π
colorFrom: blue
colorTo: indigo
sdk: gradio
sdk_version: 4.44.1
app_file: app.py
pinned: false
license: mit
short_description: AI Agent with RAG, Fine-tuning, and JIRA integration.
tags:
- building-mcp-track-enterprise
π€ AI Development Agent
A comprehensive AI-powered software development agent that automates the workflow from requirement analysis to JIRA task creation, leveraging RAG (Retrieval Augmented Generation), Fine-tuned Models, and MCP (Model Context Protocol).
π Overview
This project implements an intelligent agent capable of:
- Analyzing Requirements: Understanding user inputs for new software features.
- Generating Specifications: Using RAG to retrieve relevant context and generate detailed product specs.
- Providing Domain Insights: Consulting fine-tuned models for industry-specific compliance and best practices.
- Managing JIRA Workflows: Automatically searching for existing epics, creating new ones, and breaking them down into user stories.
- Visual Dashboard: A modern web interface to track the entire process in real-time.
ποΈ Architecture
The system consists of two main components:
1. Dashboard (Frontend & Backend)
- Tech Stack: FastAPI, WebSocket, Vanilla JS, CSS Glassmorphism
- Role: User interface, workflow orchestration, real-time logs
- Port: 8000
2. MCP Server (Integration Hub)
- Tech Stack: Gradio, Python, JIRA API, ChromaDB (ready)
- Role: Centralized API for RAG, Fine-tuning, and JIRA operations
- Port: 7860
graph LR
User[User] -->|Requirement| Dashboard[Web Dashboard]
Dashboard -->|HTTP Request| MCP[Gradio MCP Server]
MCP -->|Query| RAG[RAG System]
MCP -->|Query| FT[Fine-tuned Model]
MCP -->|API| JIRA[JIRA Cloud]
JIRA -->|Epics/Stories| MCP
MCP -->|JSON Response| Dashboard
β¨ Key Features
- π§ Intelligent RAG: Retrieves context from documentation to generate accurate specs.
- π― Domain Expertise: Fine-tuned models provide specific insights (Insurance, Finance, etc.).
- π Smart JIRA Integration:
- Deduplication: Checks for existing epics before creating new ones.
- Auto-Hierarchy: Creates Epics and automatically adds User Stories.
- ADF Support: Handles Atlassian Document Format for rich text descriptions.
- β‘ Real-time Feedback: WebSocket-based dashboard updates.
π Quick Start
Prerequisites
- Python 3.10+ (Recommended: 3.11 or 3.12 due to Gradio/Python 3.13 compatibility)
- JIRA Account (for real integration)
Installation
Clone the repository
git clone <repo-url> cd mcp-hackSetup MCP Server
cd mcp python3 -m venv venv source venv/bin/activate pip install -r requirements.txt # Fix for Python 3.13 if needed pip install audioop-ltsSetup Dashboard
cd ../dashboard python3 -m venv venv source venv/bin/activate pip install -r requirements.txt
Configuration
Create a .env file in mcp/ with your credentials:
# JIRA Configuration
JIRA_URL="https://your-domain.atlassian.net"
JIRA_EMAIL="your-email@example.com"
JIRA_API_TOKEN="your-api-token"
JIRA_PROJECT_KEY="PROJ"
# RAG & Fine-tuning
RAG_ENABLED="true"
VECTOR_DB_PATH="./data/vectordb"
FINETUNED_MODEL_PATH="./models/insurance-model"
Running the System
Terminal 1: MCP Server
cd mcp
source venv/bin/activate
python mcp_server.py
Terminal 2: Dashboard
cd dashboard
source venv/bin/activate
python server.py
Access the dashboard at http://localhost:8000
π Project Structure
/
βββ dashboard/ # Web Interface
β βββ server.py # FastAPI Backend
β βββ app.js # Frontend Logic
β βββ index.html # UI Structure
β βββ style.css # Styling
β
βββ mcp/ # Integration Server
β βββ mcp_server.py # Gradio Server
β βββ requirements.txt # Dependencies
β βββ .env.example # Config Template
β
βββ finetune/ # Fine-tuning Guides
β βββ 01-data-preparation.md
β βββ ...
β
βββ docs/ # Documentation
βββ agentdesign.md # System Design
π€ Contributing
Contributions are welcome! Please read our contributing guidelines and submit pull requests to the main branch.
π License
MIT License