Skip to content

Latest commit

 

History

History
130 lines (82 loc) · 2.48 KB

File metadata and controls

130 lines (82 loc) · 2.48 KB

Second Brain

Authors:

🔗 Quick Demo: https://second-brain-a3.vercel.app/

Second Brain is an AI-powered reasoning platform that helps users explore possible career and life futures before making major decisions.

Unlike traditional questionnaires or generic AI chatbots, the platform discovers user goals, identifies hidden tradeoffs, and generates interactive scenario graphs that allow users to compare multiple paths, explore consequences, and ask dynamic "what-if" questions.

Architecture Diagram

Product Screenshot

Landing Page

Users describe a career or life decision in natural language to begin the simulation process.


Scenario Graph

The Scenario Graph visualizes multiple possible futures, tradeoffs, risks, and branching outcomes generated by the AI reasoning engine.


What-If Expansion

Users can select any node and ask custom what-if questions to dynamically generate new branches and future possibilities.

Getting Started

Backend Setup

git clone https://github.com/veyra34/Second-Brain.git
cd backend

Create environment variables:

cp .env.example .env

Add:

DATABASE_URL=your_database_url
OPENROUTER_API_KEY=your_openrouter_key

Install dependencies:

python -m venv .venv

source .venv/bin/activate

Windows:

.venv\Scripts\activate

Install packages:

pip install -r requirements.txt

Run backend:

python main.py

Frontend Setup

cd frontend
npm install

Create:

NEXT_PUBLIC_API_URL=http://localhost:8000

Run:

npm run dev