Git-Bob 是 AI Skill Hub 本期精选AI工具之一。综合评分 7.5 分,整体质量较高。我们推荐使用将其纳入你的 AI 工具库,帮助提升工作效率。
Git-Bob 是一款基于 Python 开发的开源工具,专注于 AI、Github、CI 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
Git-Bob 是一款基于 Python 开发的开源工具,专注于 AI、Github、CI 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
# 方式一:pip 安装(推荐)
pip install git-bob
# 方式二:虚拟环境安装(推荐生产环境)
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install git-bob
# 方式三:从源码安装(获取最新功能)
git clone https://github.com/haesleinhuepf/git-bob
cd git-bob
pip install -e .
# 验证安装
python -c "import git_bob; print('安装成功')"
# 命令行使用
git-bob --help
# 基本用法
git-bob input_file -o output_file
# Python 代码中调用
import git_bob
# 示例
result = git_bob.process("input")
print(result)
# git-bob 配置文件示例(config.yml) app: name: "git-bob" debug: false log_level: "INFO" # 运行时指定配置文件 git-bob --config config.yml # 或通过环境变量配置 export GIT_BOB_API_KEY="your-key" export GIT_BOB_OUTPUT_DIR="./output"
git-bob uses AI to solve GitHub issues. It runs inside the GitHub CI or Gitlab runners, no need to install anything on your computer. Read more in the publication.

Under the hood it uses Anthropic's Claude or OpenAI's chatGPT or Google's Gemini or your institutional LLM service provider to understand your request, interacts with your Github/Gitlab issues and pull requests. As its discussions are conserved, you can document how things were done using AI and others can learn how to prompt for the things you did. For example, the pair-plot discussion above is available online.
There is a detailed tutorial on how to install git-bob as GitHub action to your repository. In very short, to use git-bob in your GitHub repository, you need to Copy the git-bob GitHub workflow in folder .github/workflows/ to your repository. Make sure to replace pip install -e . with a specific git-bob version such as pip install git-bob==0.16.0. If your project does not contain a requirements.txt file, remove the line pip install -r requirements.txt. Configure the LLM you want to use in the workflow files by specifying the GIT_BOB_LLM_NAME GitHub repository secret. These were tested: anthropic:claude-3-5-sonnet-20241022 openai:gpt-4o-2024-08-06 github_models:gpt-4o github_models:meta-llama-3.1-405b-instruct google:gemini-1.5-pro-002 mistral:mistral-large-2411 (uses pixtral-12b-2409 for vision tasks) deepseek:deepseek-chat e-infra_cz:llama3.3:latest configure a GitHub secret with the corresponding key from the LLM provider depending on the above configured LLM: OPENAI_API_KEY: OpenAI (gpt) ANTHROPIC_API_KEY: Anthropic (claude) GH_MODELS_API_KEY: GitHub Models Marketplace GOOGLE_API_KEY: Google AI MISTRAL_API_KEY: Mistral DEEPSEEK_API_KEY: DeepSeek KISSKI_API_KEY: KISSKI BLABLADOR_API_KEY: BLABLADOR E_INFRA_CZ_API_KEY chat.ai.e-infra.cz docs * configure GitHub actions to run the workflow on issues and pull requests. Also give write-access to the Workflow using the GITHUB_TOKEN.
When using it in your repository, you can also set a custom system message, for example for: General Data Science / Python Programming Bio-Image Analysis Giving advice on a specific repository / library Manuscript writing
Furthermore, to guide discussions, you may want to setup issue templates, e.g. General Python Programming Questions Bio-Image Analysis * Statistics and Plotting
Since version 0.10.1 git-bob has experimental support for gitlab. You find detailed instructions how to install it here.
git clone https://github.com/haesleinhuepf/git-bob.git
cd git-bob
To trigger git-bob, you need to comment on an issue or pull request with the comment trigger word (or aliases think about, review, respond):
git-bob comment
If you want to ask git-bob for a review of a pull-request, you can use the review trigger word. Also make sure mention explictly what you want to be reviewed.
git-bob review this PR. Check code quality and comments.
After some back-and-forth discussion, you can also use the solve trigger word (or aliases implement, apply) make git-bob solve an issue and send a pull-request. This trigger can also be used to modify code in pull requests.
git-bob solve
You can ask git-bob to implement a solution for testing, without sending a pull-request, using the try trigger:
git-bob try
If you have multiple API-Key for different LLMs configured, you can specify the LLM in the command using the ask <LLM-Name> to trigger command:
git-bob ask claude-3-5-sonnet-20241022 to solve this issue.
If the issue is complex and should be split into sub-issues, you can use the following command:
git-bob split
If you have two GitHub secrets TWINE_USERNAME and TWINE_PASSWORD configured, you can also use the following command to publish a new version of your library to PyPI:
git-bob deploy
All trigger words can be combined with please and/or ,, which will make no difference to calling git-bob without these words:
git-bob, please ask gemini-1.5-pro-002 to solve this issue.
A huge variety of use-cases for git-bob are thinkable. Here are some examples. Many serve purely demonstrative purposes. Some were parts of real scientific data analysis projects.
git-bob refusing to helpYou can also install git-bob locally and run it from the terminal. In this case, create a GitHub token and store it in an environment variable named GITHUB_API_KEY. Also create an environment variable GIT_BOB_LLM_NAME with the name of the LLM you want to use, e.g. "gpt-4o-2024-05-13" or "claude-3-5-sonnet-20241022" or "github_models:gpt-4o". Then you can install git-bob using pip:
pip install git-bob
You can then use git-bob from the terminal on repositories you have read/write access to. It is recommended to call it from the root folder of the repository you want to interact with.
git clone https://github.com/<organization>/<repository>
cd <repository>
git-bob <action> <organization>/<repository> <issue-number>
Available actions: review-pull-request comment-on-issue solve-issue split-issue
Here's the recommended workflow for using git-bob:
git-bob comment, or git-bob think about this (an alias for comment) to trigger git-bob making a plan.git-bob solve or git-bob implement this (an alias for solve) to trigger git-bob.If you wish to extend git-bob with custom triggers or prompt handlers, but avoid default triggers and prompt handlers, you can configure a filter in the git-bob.yml workflow file. Just overwrite this default regular expression accepting all extensions:
GIT_BOB_EXTENSIONS_FILTER_REGEXP: ".*"
If you want to only accept extensions starting with my_library, you can configure the filter like this:
GIT_BOB_EXTENSIONS_FILTER_REGEXP: "^my_library.*"
If you want to accept all extensions but not git-bob`s defaults, you can configure the filter like this:
GIT_BOB_EXTENSIONS_FILTER_REGEXP: "^(?!git_bob).*"
高效解决Github问题
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ BSD 3-Clause — 宽松协议,可商用修改分发,禁止使用原作者名称进行背书宣传。
经综合评估,Git-Bob 在AI工具赛道中表现稳健,质量良好。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | git-bob |
| 原始描述 | 开源AI工具:git-bob uses AI to solve Github-issues. It runs inside the Github CI, no need to。⭐65 · Python |
| Topics | AIGithubCI |
| GitHub | https://github.com/haesleinhuepf/git-bob |
| License | BSD-3-Clause |
| 语言 | Python |
收录时间:2026-05-30 · 更新时间:2026-05-31 · License:BSD-3-Clause · AI Skill Hub 不对第三方内容的准确性作法律背书。