← 开源
zamalali

DeepGit

Deep research agent to help you find the best GitHub repositories 🕵️!

ApplicationsResearch & knowledgePython
在 GitHub 打开
增长势头
+024 小时新增 Star0.0%
921
Star
99
Fork
+1
本周
3
贡献者
创建于 2024-12-16 · 更新于 2026-10-15 · 今日第 12627 名
主要开发者
zamalalizamal-db

zamalali/DeepGit 排名第 12,627,有 921 个星标。

同类别比较

zamalali/DeepGit 排名第 12,627,此处有 8 个同类条目;edwardhdlu/q-trader 排名第 12,622。

同类别比较
名称排名指标
Dicklesworthstone/claude_code_agent_farm12,611
语言:
Shell
星标数:
922
分叉数:
108
简介:
Orchestration framework for running 20+ Claude Code agents in parallel: automated bug fixing, best-practices sweeps, lock-based coordination, and real-time tmux monitoring
conversationai/perspectiveapi12,612
星标数:
922
分叉数:
118
简介:
Perspective is an API that uses machine learning models to score the perceived impact a comment might have on a conversation. See https://developers.perspectiveapi.com for more information.
woheller69/whoBIRD12,618
语言:
Kotlin
星标数:
922
分叉数:
45
简介:
Identify bird sounds in real time with this Android version of BirdNET. Bird sound recognition for more than 6,000 species worldwide.
edwardhdlu/q-trader12,622
语言:
Python
星标数:
921
分叉数:
341
简介:
Deep Q-learning driven stock trader bot
blueberrycongee/Lumina-Note12,648
语言:
TypeScript
星标数:
918
分叉数:
95
简介:
Lumina Note - A modern Markdown note-taking app with live preview, bidirectional links, and AI assistant
Shy2593666979/AgentChat12,652
语言:
Python
星标数:
917
分叉数:
114
简介:
AgentChat 是一个基于 LLM 的智能体交流平台,内置默认 Agent 并支持用户自定义 Agent。通过多轮对话和任务协作,Agent 可以理解并协助完成复杂任务。项目集成 LangChain、Function Call、MCP 协议、RAG、Memory、HITL、Skill、Milvus 和 ElasticSearch 等技术,实现高效的知识检索与工具调用,使用 FastAPI 构建高性能后端服务。
SkywalkerDarren/chatWeb12,653
语言:
Python
星标数:
917
分叉数:
135
简介:
ChatWeb can crawl web pages, read PDF, DOCX, TXT, and extract the main content, then answer your questions based on the content, or summarize the key points.
williamfzc/chat-gpt-ppt12,657
语言:
Go
星标数:
917
分叉数:
86
简介:
Use ChatGPT (or other backends) to generate PPT automatically, all in one single file.
关键参数与规格
关键参数与规格
参数值
语言Python
类别Applications
子类别Research & knowledge
关键词Deep Research
星标数921
分叉数99
贡献者3
创建日期2024-12-16
更新日期2026-10-15
1 天星标数0
7 天星标数1
排名12,627
上次排名3,264
排名变化-9,363
7 天星标排名10,441
上次 7 天星标排名10,491
7 天星标排名变化50
总星标排名11,854
上次总星标排名11,825
总星标排名变化-29
国家Germany
README 摘录

DeepGit Find gold in the GitHub haystack. **DeepGit** is an agentic research engine for GitHub. Instead of collapsing your question into a handful of keywords, it keeps the full intent, searches across keyword, topic, and semantic angles, judges every candidate on real evidence, and reads the actual source of the close calls before it answers. You get the repo you actually meant, including the hidden gems a plain search would bury. A genuinely agentic pipeline that spends effort only where

it is uncertain (typically **2 LLM calls**, escalating to real code-reading only for contested picks), persistent **semantic recall** that gets smarter the more you use it, and a first-class **MCP server** so your AI assistant can call DeepGit directly. | | **Agentic and adaptive** | A zero-cost confidence gate decides whether the fast answer is trustworthy. Only when it is not does DeepGit read real code, re-judge, and reflect. | | **Semantic recall that compounds** | Every repo it sees is embedded

into a local vector index (LanceDB + fastembed, CPU-only). Flagship repos whose descriptions omit the obvious words (e. ) still surface, and recall improves with every search you run. | | **Real constraints, enforced** | Name a language (say "a C++ JSON library") or imply a hardware limit, and DeepGit treats it as a hard constraint. A C library never wins a C++ query, and a GPU-only tool never tops a plain "fast X" ask. | | **MCP-native** | One command turns DeepGit into an

MCP server for Claude Desktop, Cursor, or VS Code. Jump to setup | | **Finds hidden gems** | Ranking is by genuine fit, not stars. A small, well-matched repo can and does win. It does the cheap thing first and only escalates when the evidence is genuinely contested. ** One LLM call turns your request into a plan: search angles, GitHub topics, hard *must-haves*, soft *nice-to-haves*, and *anti-patterns*. ** Batched GitHub GraphQL search across keyword queries **and** star-sorted topic

sweeps, so flagship repos that keyword search misses still show up. ** Everything seen is upserted into a local vector index, and near-neighbours from the accumulated corpus are pulled in. ** Activity, health, license, tests/CI, and relevance narrow the field to a shortlist at zero LLM cost. ** One batched, evidence-grounded ranking over compact cards (README + signals), enforcing the language and hardware hard constraints. If the top picks are contested, DeepGit reads their **real source, tests, and manifests**, re-judges

from that code, and a skeptical **reflection critic** reviews the final order. Hard query: it spends more, because it needs to. The numbers below are the held-out set: 12 unseen queries with the adaptive controller on. 833 | | Wrong pick at #1 (lower is better) | 0% | | Avg LLM calls per query | 2. 0 | Run it yourself: Each run writes a full per-case report to . Configure your GitHub token and an LLM provider via a file (or environment variables): The

extra (LanceDB + fastembed) is optional. Without it DeepGit still runs on keyword + topic search. With it you get compounding semantic

常见问题

记录了多少星标和分叉?

zamalali/DeepGit 有 921 个星标和 99 个分叉。

仓库排名是多少?

zamalali/DeepGit 排名第 12,627。

记录的语言和类别是什么?

zamalali/DeepGit 有 921 个星标,语言为 Python,类别为 Applications。

哪个仓库排名最接近?

zamalali/DeepGit 与 edwardhdlu/q-trader 比较,后者排名第 12,622,有 921 个星标。

README

DeepGit

Find gold in the GitHub haystack.

DeepGit is an agentic research engine for GitHub. Instead of collapsing your question into a handful of keywords, it keeps the full intent, searches across keyword, topic, and semantic angles, judges every candidate on real evidence, and reads the actual source of the close calls before it answers. You get the repo you actually meant, including the hidden gems a plain search would bury.

What's new: a ground-up rebuild. A genuinely agentic pipeline that spends effort only where it is uncertain (typically 2 LLM calls, escalating to real code-reading only for contested picks), persistent semantic recall that gets smarter the more you use it, and a first-class MCP server so your AI assistant can call DeepGit directly.


Why DeepGit

Intent-first, not keyword-first Your full request is preserved as hard requirements, soft preferences, and anti-patterns the judge checks against. No lossy tag reduction.
Agentic and adaptive A zero-cost confidence gate decides whether the fast answer is trustworthy. Only when it is not does DeepGit read real code, re-judge, and reflect. Effort matches uncertainty.
Semantic recall that compounds Every repo it sees is embedded into a local vector index (LanceDB + fastembed, CPU-only). Flagship repos whose descriptions omit the obvious words (e.g. apache/kafka) still surface, and recall improves with every search you run.
Real constraints, enforced Name a language (say "a C++ JSON library") or imply a hardware limit, and DeepGit treats it as a hard constraint. A C library never wins a C++ query, and a GPU-only tool never tops a plain "fast X" ask.
MCP-native One command turns DeepGit into an MCP server for Claude Desktop, Cursor, or VS Code. Jump to setup
Finds hidden gems Ranking is by genuine fit, not stars. A small, well-matched repo can and does win.

Quickstart

git clone https://github.com/zamalali/DeepGit.git
cd DeepGit
python -m venv venv && source venv/bin/activate    # Windows: venv\Scripts\activate
pip install -e ".[semantic]"                        # the semantic extra is optional but recommended

export GITHUB_API_KEY=ghp_xxx                        # a PAT with public-repo read access

Search from the terminal:

deepgit search "a fast, embeddable key-value store in Go"

Or from Python:

from deepgit import search, search_structured

# Markdown report
print(search("type-safe form validation for React with great TypeScript support"))

# Structured result you can program against
result = search_structured("a library to parse and diff PDFs in Python")
print(result.top.repo, result.top.fit_score)   # e.g. "pymupdf/PyMuPDF" 0.92

How it works

DeepGit is an adaptive agent, not a fixed pipeline. It does the cheap thing first and only escalates when the evidence is genuinely contested.

  1. Understand the intent. One LLM call turns your request into a plan: search angles, GitHub topics, hard must-haves, soft nice-to-haves, and anti-patterns.
  2. Gather widely (0 tokens). Batched GitHub GraphQL search across keyword queries and star-sorted topic sweeps, so flagship repos that keyword search misses still show up.
  3. Semantic recall (0 tokens). Everything seen is upserted into a local vector index, and near-neighbours from the accumulated corpus are pulled in. Recall compounds across every search.
  4. Prefilter on free signals. Activity, health, license, tests/CI, and relevance narrow the field to a shortlist at zero LLM cost.
  5. Judge the shortlist (1 LLM call). One batched, evidence-grounded ranking over compact cards (README + signals), enforcing the language and hardware hard constraints.
  6. Escalate only if uncertain. A confidence gate decides. If the top picks are contested, DeepGit reads their real source, tests, and manifests, re-judges from that code, and a skeptical reflection critic reviews the final order.

Typical query: 2 LLM calls. Hard query: it spends more, because it needs to.


Ways to run

Command What it does
deepgit search "..." One-off search from the terminal
deepgit mcp Run the MCP server (see below)
from deepgit import search Use it as a library

Benchmarks

DeepGit ships a reproducible benchmark suite under bench/. The numbers below are the held-out set: 12 unseen queries with the adaptive controller on.

Metric Value
Hit@1 75%
Hit@3 92%
MRR 0.833
Wrong pick at #1 (lower is better) 0%
Avg LLM calls per query 2.0

Run it yourself:

python -m bench.run_bench --heldout      # held-out set (unseen queries)
python -m bench.run_bench                # core set
python -m bench.run_bench --edge         # robustness / edge cases

Each run writes a full per-case report to _bench_report.md.


Installation and setup

Requirements: Python 3.11+ and a GitHub token.

git clone https://github.com/zamalali/DeepGit.git
cd DeepGit
python -m venv venv && source venv/bin/activate    # Windows: venv\Scripts\activate
pip install -e ".[semantic]"

Configure your GitHub token and an LLM provider via a .env file (or environment variables):

GITHUB_API_KEY=ghp_xxx

# Pick one LLM provider:
LLM_PROVIDER=groq            # groq | openai | anthropic | vertex_ai
GROQ_API_KEY=...
# For Vertex AI instead: set VERTEX_PROJECT and GOOGLE_APPLICATION_CREDENTIALS

The [semantic] extra (LanceDB + fastembed) is optional. Without it DeepGit still runs on keyword + topic search. With it you get compounding semantic recall.


Run with Docker

DeepGit ships a Dockerfile. The image bundles both the deepgit CLI and the deepgit-mcp server, and by default starts the MCP server over HTTP so agents can call it.

# Build
docker build -t deepgit .

# Run the MCP server over HTTP on port 8080
docker run --rm -p 8080:8080 -e GITHUB_API_KEY=ghp_xxx deepgit

Run a one-off CLI search instead of the server:

docker run --rm -e GITHUB_API_KEY=ghp_xxx deepgit \
  deepgit search "a fast, embeddable key-value store in Go"

Persist the semantic index across runs by mounting a volume at /data:

docker run --rm -p 8080:8080 \
  -e GITHUB_API_KEY=ghp_xxx \
  -v deepgit-data:/data \
  deepgit

Pass your LLM provider credentials the same way (for example -e LLM_PROVIDER=groq -e GROQ_API_KEY=...), or point at a local .env with --env-file .env.


Use DeepGit as an MCP server

DeepGit ships a first-class Model Context Protocol server, so you can call it directly from Claude Desktop, Cursor, VS Code, Windsurf, or any MCP-compatible client. Your assistant gets a repository-research superpower with zero glue code.

Tools exposed

Tool Returns Use it for
check_setup() Config status JSON Call first. Instant check that your token, LLM creds, and semantic layer are wired up (runs no search).
find_repositories(intent, limit=5) Ranked Markdown report Everyday "find me the best repo for X". Fast, reads code only when uncertain.
find_repositories_json(intent, limit=8) Structured JSON (repo, url, fit_score, verdict, why, risks + telemetry) Programmatic use and building on top of the results.
deep_research(intent) Markdown report High-stakes comparisons. Always reads real code and reflects.

Install

pip install -e .            # installs the `deepgit-mcp` entry point
# optional: persistent semantic recall (LanceDB + fastembed)
pip install -e ".[semantic]"

Set a GitHub token (a classic or fine-grained PAT with public-repo read access):

export GITHUB_API_KEY=ghp_xxx        # Windows PowerShell: $env:GITHUB_API_KEY="ghp_xxx"

Run it

deepgit-mcp                          # stdio transport (for local clients)
# or over HTTP:
MCP_TRANSPORT=streamable-http PORT=8080 deepgit-mcp
# equivalently:
deepgit mcp --transport streamable-http --port 8080

Wire it into a client

Add DeepGit to your client's MCP config (example for Claude Desktop, claude_desktop_config.json, or VS Code / Cursor mcp.json):

{
  "mcpServers": {
    "deepgit": {
      "command": "deepgit-mcp",
      "env": {
        "GITHUB_API_KEY": "ghp_xxx"
      }
    }
  }
}

That is it. Ask your assistant "use DeepGit to find a high-performance message broker for pub/sub in Go" and it will call the tool and return a ranked, evidence-backed answer.


Contributing

Issues and pull requests are welcome. If DeepGit surfaced the wrong repo for a query, that is a great bug report. The query and the expected repo are exactly what make the benchmark stronger.

License

Released under the MIT License.

排名相邻
同类项目