A sophisticated AI-powered application that analyzes complex topics from multiple perspectives, plays devil's advocate, and provides comprehensive moral reasoning with real-time web research capabilities.
- Multi-Perspective Analysis: Get viewpoints from various perspectives
- Devil's Advocate: AI challenges each position with counterarguments
- Stakeholder Analysis: Identifies all parties affected by ethical decisions
- Interactive Chat: Ask follow-up questions and dive deeper into specific aspects
- Real-time Reading Suggestions: Find relevant articles, research papers, and resources from across the web using Serper Google Search API
- Argument Tree: Visualize the argument tree of the topic
- Node.js 18+ and npm
- A Groq API key (get one at Groq Console)
- A Serper API key (get one at Serper.dev) for readinpg suggestions
-
Clone the repository
git clone https://github.com/hridaya423/lattice.git cd lattice -
Install dependencies
npm install
-
Set up environment variables Create a
.env.localfile in the root directory:GROQ_API_KEY=your_groq_api_key_here SERPER_API_KEY=your_serper_api_key_here
-
Run the development server
npm run dev- Open your browser Navigate to http://localhost:3000
Some AI was used in the making of this project, mainly by copilot/cursor suggestions/autocomplete, some bug fixes, and the logo.