local-rag-study-buddy — DeepSeek Agents | Neura Market
    Neura MarketNeura Market/DeepSeek
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityDeepSeekDeepSeek
    CoPilotCoPilotStable DiffusionStable DiffusionMidjourneyMidjourney
    View All Directories
    OverviewRulesPromptsMCPsAgentsBlogVideosGuidesCoursesCommunityTrendingGenerate
    DeepSeekAgentslocal-rag-study-buddy
    Back to Agents
    local-rag-study-buddy

    local-rag-study-buddy

    S3annnyyy May 18, 2025
    1 copies 0 downloads

    Local AI RAG agent built using Langgraph, DeepSeek R1 and Ollama

    Agent Definition
    # StudyBuddy: Local RAG Agent built with Deepseek R1 and Langgraph
    I built a corrective AI RAG agent using LangGraph and DeepSeek R1 model running on Ollama. This agent acts like a study buddy, designed to help students summarize their notes and answer their queries.
    ![rag_demo_2 (1)](https://github.com/user-attachments/assets/481c0589-5938-44bd-add1-dc0bba187bca)
    
    # RAG Architecture
    ![image](https://github.com/user-attachments/assets/9fa3b5b3-ac08-4e2c-9ab1-ece947ef0b41)
    
    # How to run
    Ensure you have Python `3.10.9` or higher, pip `24.0` or higher installed.
    
    ### Clone repository
    ```
    git clone https://github.com/S3annnyyy/local-rag-study-buddy.git
    cd local-rag-study-buddy 
    ```
    
    ### Configuring environment.
    1. Obtain Tavily API Key by creating free-tier account from [Tavily AI](https://tavily.com/)
    2. Create `.env,local` file under the root folder in this manner:
    ```
    TAVILY_API_KEY=XXX
    ```
    3. Create virtual environment in root folder
    ```
    python -m venv .venv
    ```
    4. Activate environment by running `.venv/Scripts/Activate.ps1` for Windows Powershell or `source .venv/bin/activate` for MacOs/Linux 
    5. Install [ollama](https://www.ollama.com/) and download deepseek-R1 model by running the following in command prompt: (You can choose bigger models)
    ```
    ollama pull deepseek-r1:1.5b
    ollama run deepseek-r1:1.5b
    ~Should take about 5 minutes unless your laptop trashy af 
    ```
    
    ### Install dependencies with:
    ```
    pip install -r requirements.txt
    ```
    
    Once it's done start up by running this command in the terminal:
    ```
    streamlit run app.py
    ```
    
    # Visualizing workflow with LangGraph Studio
    ![rag_workflow](https://github.com/user-attachments/assets/de997d3d-86b5-4d9d-b0d6-e1af3c035e1a)
    1. Sign up for an account [here](https://smith.langchain.com/) and create an API key
    2. Add API key to `.env.local`
    ```
    LANGSMITH_API_KEY=lsv2_***
    ```
    3. Run the following commands
    ```
    pip install -U "langgraph-cli[inmem]"
    langgraph dev
    ```
    4. An interface will popup and you can test the worklow throug

    Tags

    aideepseek-r1langchainlanggraphollamapythonrag

    Comments

    More Agents

    View all
    hybrid-model-workflow

    hybrid-model-workflow

    HAL 分层混合模型工作流 — 强模型(Claude)负责理解/拆解/验收,低成本模型(DeepSeek)负责检索/提取/清洗。Hermes Agent skill。

    P
    ph4ble
    1
    Dynamic-Review-Agent

    Dynamic-Review-Agent

    An LLM agent fine-tuned on DeepSeek for spaced repetition, dynamically integrating knowledge points based on the Ebbinghaus forgetting curve.

    1
    1838177
    1
    StellarOS-Watch

    StellarOS-Watch

    基于 STM32F103 构建的端到端 AI 智能手表生态。自研“零重定位”原生机器码动态加载引擎与页面栈式 UI 框架;集成生产级 OTA 回滚保护机制与高带宽(921600 baud)串口协议栈。通过 Node.js 中继实现 DeepSeek AI 语义控制及 ASRPRO 语音全双工交互,是一个集成了分布式计算、现代存储管理与 AI Agent 的嵌入式全栈工程。

    C
    chenshuang888
    1
    UAVagent1.0deepseek

    UAVagent1.0

    A Meta-Agent-Driven Self-Evolving Multi-Agent System for UAV Detection and Tracking

    S
    StarlitPupils
    2
    hermes-goai-agent

    hermes-go

    One command to run Hermes AI Agent with a browser UI. Zero prerequisites. 一行命令,AI 就位。

    L
    LAI-755
    1
    Agent

    Agent

    网页应用Agent,接入DeepSeek、Mimo等模型

    C
    Cosmos-815
    1

    Stay up to date

    Get the latest DeepSeek prompts, rules, and resources delivered to your inbox weekly.

    Neura Market LogoNeura Market

    Discover the best AI prompts, plugins, and resources for DeepSeek and more.

    Content Types

    • Rules
    • Prompts
    • MCPs
    • Agents
    • Guides

    Platforms

    • ChatGPT Directory
    • Claude Directory
    • Gemini Directory
    • Cursor Directory
    • Grok Directory
    • Perplexity Directory
    • DeepSeek Directory
    • CoPilot Directory
    • Stable Diffusion Directory
    • Midjourney Directory
    • All Directories

    Resources

    • Blog
    • Documentation
    • Help Center
    • Marketplace

    Legal

    • Privacy Policy
    • Terms of Service

    © 2026 Neura Market. All rights reserved.

    |

    Not affiliated with any AI platform vendors.