返回排行榜

sourcebot-dev/sourcebot

TypeScriptsourcebot.dev

Sourcebot is a self-hosted tool that helps humans and agents understand your codebase.

code-searchcode-intelligencesourcebotfair-source
Star 增长趋势
Star
3.6k
Forks
324
周增长
Issues
96
1k2k3k
2024年9月2025年4月2025年12月2026年7月
制品库npmnpm install sourcebot
README

Sourcebot is a self-hosted tool that helps you understand your codebase.

  • Ask Sourcebot: Ask questions about your codebase and have Sourcebot provide detailed answers grounded with inline citations.
  • Code search: Search and navigate across all your repos and branches, no matter where they’re hosted.

Try it out in our public demo!

https://github.com/user-attachments/assets/ed66a622-e38f-4947-a531-86df1e1e0218

Features

Sourcebot Features

Ask Sourcebot

Ask Sourcebot gives you the ability to ask complex questions about your codebase in natural language.

It uses Sourcebot's existing code search and navigation tools to allow reasoning models to search your code, follow code nav references, and provide an answer that's rich with inline citations and navigable code snippets.

https://github.com/user-attachments/assets/8212cd16-683f-468f-8ea5-67455c0931e2

Search across all your repos/branches across any code host platform. Blazingly fast, and supports regular expressions, repo/language search filters, boolean logic, and more.

https://github.com/user-attachments/assets/3b381452-d329-4949-b6f2-2fc38952e481

Code Navigation

IDE-level code navigation (goto definition and find references) across all your repos.

https://github.com/user-attachments/assets/e2da2829-71cc-40af-98b4-7ba52e945530

Built-in File Explorer

Explore every file across all of your repos. Modern UI with syntax highlighting, file tree, code navigation, etc.

https://github.com/user-attachments/assets/31ec0669-707d-4e03-b511-1bc33d44197a

Deploy Sourcebot

Sourcebot can be deployed in seconds using Docker Compose. Visit our docs for more information.

  1. Download the docker-compose.yml file
curl -o docker-compose.yml https://raw.githubusercontent.com/sourcebot-dev/sourcebot/main/docker-compose.yml
  1. In the same directory as the docker-compose.yml file, create a configuration file. The configuration file is a JSON file that configures Sourcebot's behaviour, including what repositories to index, language model providers, auth providers, and more.
echo '{
    "$schema": "https://raw.githubusercontent.com/sourcebot-dev/sourcebot/main/schemas/v3/index.json",
    // Comments are supported.
    // This config creates a single connection to GitHub.com that
    // indexes the Sourcebot repository
    "connections": {
        "starter-connection": {
            "type": "github",
            "repos": [
                "sourcebot-dev/sourcebot"
            ]
        }
    }
}' > config.json
  1. Update the secrets in the docker-compose.yml and then run Sourcebot using:
docker compose up
  1. Visit http://localhost:3000 to start using Sourcebot

To configure Sourcebot (index your own repos, connect your LLMs, etc), check out our docs.

[!NOTE] Sourcebot collects anonymous usage data by default to help us improve the product. No sensitive data is collected, but if you'd like to disable this you can do so by setting the SOURCEBOT_TELEMETRY_DISABLED environment variable to true. Please refer to our telemetry docs for more information.

Build from source

[!NOTE] Building from source is only required if you'd like to contribute. If you'd just like to use Sourcebot, we recommend checking out our self-hosting docs.

If you'd like to build from source, please checkout the CONTRIBUTING.md file for more information.

相关仓库
Graphify-Labs/graphify

Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.

PythonPyPIMIT Licenseclaude-codegraphrag
graphify.com
93.3k9k
zilliztech/claude-context

Code search MCP for Claude Code. Make entire codebase the context for any coding agent.

TypeScriptnpmMIT Licenseagentagentic-rag
github.com/zilliztech/claude-context/tree/master/docs
12.2k902
sourcegraph/sourcegraph-public-snapshot

Code AI platform with Code Search & Cody

GoGo ModulesOthersourcegraphcode-search
sourcegraph.com
10.3k1.4k
sweepai/sweep

Sweep: AI coding assistant for JetBrains

Jupyter NotebookOtheraicode-assistant
sweep.dev
7.7k465
MinishLab/semble

Fast and Accurate Code Search for Agents. Uses ~98% fewer tokens than grep+read

PythonPyPIMIT Licenseagentscode-search
minish.ai/packages/semble/introduction/
5.7k236
exa-labs/exa-mcp-server

Exa MCP for web search and web crawling!

TypeScriptnpmMIT Licensecode-searchcodesearch
exa.ai/docs/reference/exa-mcp
4.8k360
openrewrite/rewrite

Automated mass refactoring of source code.

JavaMavenApache License 2.0javaast
docs.openrewrite.org
3.6k545
Genivia/ugrep

🔍 ugrep 7.8 file pattern searcher -- a user-friendly, faster, more capable grep replacement. Includes a TUI, Google-like Boolean search with AND/OR/NOT, fuzzy search, hexdumps, searches (nested) archives (zip, 7z, tar, pax, cpio), compressed files (gz, Z, bz2, lzma, xz, lz4, zstd, brotli), pdfs, docs, and more

C++BSD 3-Clause "New" or "Revised" Licensegrepunicode
ugrep.com
3.2k140
cocoindex-io/cocoindex-code

A super light-weight embedded code search engine CLI (AST based) that just works - improves speed and efficiency for coding agent 🌟 Star if you like it!

PythonPyPIApache License 2.0agentscode-search
cocoindex.io
2.5k203
yoanbernabeu/grepai

Semantic Search & Call Graphs for AI Agents (100% Local)

CMIT Licenseaiclaude-code
yoanbernabeu.github.io/grepai/
1.8k148
yinwang0/pysonar2

PySonar2: a semantic indexer for Python with interprocedual type inference

JavaMavenApache License 2.0pythonindex
1.4k499
kantord/SeaGOAT

local-first semantic code search engine

PythonPyPIMIT Licenseaicode-search
kantord.github.io/SeaGOAT/
1.3k92