Skip to content

Addyk-24/DeepRetrieval

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

20 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

DeepRetrieval

Project Overview

DeepRetrieval is a minimal, production-oriented implementation of a Retrieval-Augmented Generation (RAG) agent exposed through a Model Context Protocol (MCP) server, built without using any external systems.

✨ Key Features

  • 🧠 Custom RAG Pipeline

    • Document chunking
    • TF-IDF / classical vector search
    • Context injection into prompts
  • πŸ”Œ MCP Server (JSON-RPC)

    • Fully compliant MCP tool server
    • Stdio-based transport
  • πŸ›  Agentic Tool Calling

    • Explicit tool routing
    • Deterministic execution
    • No hidden orchestration
  • πŸ” Local & Web Search Tools

    • Local document search
    • Optional web search integration
  • βš™οΈ Zero Framework Dependency

  • 🧱 Use of ollama that is local llm use for seamless streaming of queries

User Query
    ↓
Agent Controller
    ↓
Tool Router
    β”œβ”€β”€ Document Search Tool (TF-IDF)
    β”œβ”€β”€ Web Search Tool
    └── Utility Tools
    ↓
Context Composer
    ↓
LLM (Answer strictly from provided context)

πŸ† Why This Project Matters

Most production AI systems do not rely on public agent frameworks. This project demonstrates how to build:

  • Reliable agents

  • Transparent reasoning

  • Auditable tool execution

  • Vendor-neutral architectures

β€”all from scratch.

alt text

Example

  1. Built from scratch - No LangChain dependency shows deep understanding
  2. Proper architecture - Clean separation: chunking, embedding, retrieval, inference
  3. Working semantic search - Similarity scores (0.83, 0.74, 0.71) show it's finding relevant content
  4. Database integration - Vector storage with proper indexing
  5. Token-aware chunking - Smart overlap strategy preserves context

πŸ‘€ Author

Aditya Katkar

About

end-to-end information synthesis agent designed for high-precision, context-aware question answering and document analysis.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors