Your AI Brain - A context-aware personal assistant that manages notes, tasks, and provides proactive daily briefings.
- Conversational AI: Natural language chat with context awareness
- Notes: Capture and semantically search notes
- Tasks: Smart task management with priorities
- Daily Briefing: AI-generated morning summaries
- Memory: Persistent context across sessions
cd backend
# Create virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
# Set up environment
cp .env.example .env
# Edit .env and add your OpenAI API key
# Run the server
uvicorn app.main:app --reloadAPI will be available at http://localhost:8000
cd frontend
npm install
npm run devFrontend will be available at http://localhost:3000
| Endpoint | Description |
|---|---|
POST /chat |
Send a message to the AI |
GET /chat/history |
Get conversation history |
POST /notes |
Create a note |
GET /notes |
List all notes |
GET /notes/search?query=... |
Semantic search |
POST /tasks |
Create a task |
GET /tasks |
List all tasks |
GET /tasks/today |
Get today's tasks |
PATCH /tasks/{id}/complete |
Complete a task |
GET /briefing |
Get daily briefing |
βββ backend/
β βββ app/
β β βββ main.py # FastAPI app
β β βββ config.py # Settings
β β βββ models/ # Pydantic schemas
β β βββ routers/ # API endpoints
β β βββ services/ # AI & memory
β β βββ db/ # SQLite + Vector DB
β βββ requirements.txt
βββ frontend/
βββ (Next.js app)
| Variable | Description |
|---|---|
OPENAI_API_KEY |
Your OpenAI API key |
DEBUG |
Enable debug mode |
MIT