Skip to content

Hawkings232/Prism

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PrisM - AI-Powered Product Strategy Platform

PrisM is an intelligent product management platform that uses a multi-agent AI system to help teams explore, validate, and execute product ideas from concept to launch.

🌟 Features

  • Multi-Agent Workflow System: 14 specialized AI agents across 5 workflow categories
  • Interactive Strategy Graph: Visual workflow representation with real-time agent execution
  • JIRA Integration: Automatic project and ticket creation when nodes are approved
  • Feature Management: Create, track, and iterate on product features
  • Branch Exploration: Run parallel variations of agent outputs for deeper insights
  • Convergence Analysis: Synthesize multiple perspectives into actionable recommendations

🏗️ Architecture

Agent Workflows

  1. Project & Ideation

    • Idea Brainstormer
    • Market Sizing Estimator
    • Scenario Planner
    • Needs & Goals Mapper
  2. Requirements & Development

    • Story Refinement Agent
    • Backlog Prioritization Agent
  3. Customer & Market Research

    • Competitor Analysis Agent
    • Industry Trends Synthesis Agent
  4. Prototyping & Testing

    • Test Case Generator Agent
    • Design Iteration Agent
  5. Go-to-Market Execution

    • GTM Strategy Agent
    • Release Notes Agent
    • Stakeholder Communication Agent

🛠️ Tech Stack

Backend

  • FastAPI: Modern Python web framework for building APIs
  • OpenAI: LLM integration via NVIDIA API endpoints
  • JIRA REST API v3: Project and issue management integration
  • Pydantic: Data validation and settings management
  • Python 3.x: Core programming language

Frontend

  • React 18: UI framework
  • TypeScript: Type-safe JavaScript
  • Vite: Fast build tool and dev server
  • ReactFlow: Interactive node-based graph visualization
  • Tailwind CSS: Utility-first CSS framework
  • shadcn/ui: Beautifully designed component library
  • Auth0: Authentication and authorization

Infrastructure

  • File-based Storage: JSON-based feature persistence
  • Environment Variables: Secure credential management

🚀 Getting Started

Prerequisites

  • Python 3.8+
  • Node.js 18+
  • pnpm (or npm)
  • NVIDIA API key
  • JIRA account (optional, for integration features)

Environment Setup

Create a .env file in the project root:

NVIDIA_API_KEY=your_nvidia_api_key_here
JIRA_BASE_URL=https://your-instance.atlassian.net
JIRA_EMAIL=your-email@example.com
JIRA_API_TOKEN=your_jira_api_token

To generate a JIRA API token:

  1. Visit https://id.atlassian.com/manage-profile/security/api-tokens
  2. Click "Create API token"
  3. Copy and paste into .env

Backend Setup

cd backend
pip install -r requirements.txt
python -m uvicorn app.main:app --reload

The API will be available at http://localhost:8000

Frontend Setup

cd frontend
pnpm install
pnpm run dev

The frontend will be available at http://localhost:5173

📖 Usage

Creating a Feature

  1. Navigate to the Feature Dashboard
  2. Click "Create a new feature"
  3. Enter a feature name and problem statement
  4. A JIRA project is automatically created (if configured)
  5. Navigate to the strategy graph to begin exploration

Running Agents

  1. Select an agent node in the graph
  2. Provide input based on the agent's requirements
  3. Click "Run" to execute the agent
  4. Review the structured output
  5. Optionally run branch explorations for variations

Approving & JIRA Integration

  1. Review agent outputs in the graph
  2. Mark nodes as "approved" when satisfied
  3. JIRA tickets are automatically created for approved nodes:
    • Story Refinement → User Stories
    • GTM Strategy → GTM tasks
    • Backlog Prioritization → Prioritized tasks

Pipeline Execution

Run complete workflows end-to-end:

  • Project & Ideation: Generate and validate ideas
  • Requirements & Development: Refine stories and prioritize backlog
  • Customer & Market Research: Analyze competition and trends
  • Prototyping & Testing: Generate tests and iterate designs
  • Go-to-Market Execution: Plan launch and communicate
  • Full Strategy Pipeline: Run all agents sequentially

🔌 API Endpoints

Features

  • GET /v1/features - List all features
  • POST /v1/features - Create a new feature (with JIRA project)
  • GET /v1/features/{id} - Get feature details
  • PATCH /v1/features/{id} - Update feature (triggers JIRA ticket creation on approval)

Agents

  • GET /v1/agents/graph - Get agent graph structure
  • POST /v1/agents/query - Query a single agent
  • POST /v1/agents/branch-converge - Converge branch explorations
  • POST /v1/agents/converge - Synthesize all agent outputs

Pipelines

  • GET /v1/pipelines - List available pipelines
  • POST /v1/pipelines/run - Execute a pipeline workflow

🎯 Key Innovations

  1. On-Demand JIRA Projects: Automatically creates JIRA projects per feature for organized tracking
  2. Intelligent Context Propagation: Each agent receives feature context for better responses
  3. Branch & Converge Pattern: Explore multiple variations and synthesize insights
  4. Real-Time Notifications: Toast notifications for JIRA project/ticket creation
  5. Visual Workflow Editor: Interactive graph showing agent relationships and execution flow

📁 Project Structure

Prism/
├── backend/
│   ├── app/
│   │   ├── main.py              # FastAPI application & agent logic
│   │   └── data/
│   │       └── features.json    # Feature storage
│   └── requirements.txt         # Python dependencies
├── frontend/
│   ├── src/
│   │   ├── components/          # Reusable UI components
│   │   ├── pages/               # Page components
│   │   ├── lib/                 # Utilities & API client
│   │   └── types/               # TypeScript type definitions
│   ├── package.json
│   └── vite.config.ts
├── .env                         # Environment variables
└── README.md

🤝 Contributing

This project was built for HackUTD 2025. Contributions, issues, and feature requests are welcome!

📝 License

MIT License - see LICENSE file for details

🙏 Acknowledgments

  • Built with NVIDIA AI APIs
  • Powered by OpenAI's language models
  • Integrated with Atlassian JIRA
  • UI components from shadcn/ui
  • Graph visualization by ReactFlow

HackUTD 2025 | Built with ❤️ by Team PrisM

About

PrisM is a dynamic generative product lifecycle canvas, where each node captures a product’s state, data, insights, and requirements, while the connections visualize the flow of logic and decision-making.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors