Skip to content

Pratheek11/personalized-agents-using-llama3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🧠 Electron + LangChain + LLaMA 3 Personal Assistant

This project is a local AI-powered personal assistant that:

  • Uses LLaMA 3 (via Ollama) as the local LLM
  • Integrates with LangChain agents to summarize Gmail and Google Calendar
  • Has a desktop UI built with Electron
  • Uses FastAPI as the backend API server
  • Returns responses in Markdown format for rich UI rendering

βš™οΈ Architecture Overview

    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”         β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
    β”‚  Electron  β”‚  ─────▢ β”‚  FastAPI   β”‚
    β”‚  Frontend  β”‚         β”‚  Backend   β”‚
    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜         β””β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”˜
                                 β”‚
                 β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”‚
                 β”‚ LangChain  β”‚β—€β”€β”˜
                 β”‚ Agents     β”‚
                 β””β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”˜
                      β”‚
               β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
               β”‚ LLaMA 3 LLMβ”‚
               β”‚ via Ollama β”‚
               β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ› οΈ Features

  • πŸ”Œ Local-only LLM via Ollama
  • πŸ“… Summarize today's Google Calendar events
  • πŸ“¬ Summarize unread Gmail emails
  • 🧠 LangChain agents with tool calling
  • πŸ’¬ Frontend sends prompt β†’ backend handles agent logic β†’ returns Markdown summary

πŸ–₯️ Frontend (Electron)

cd frontend
npm install
npm start

🧠 Local LLM

ollama run llama3

πŸ’Ύ Backend (FastAPI)

cd backend
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt

uvicorn app.main:app --reload

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors