GitHub Tool
Let your LLM agent search GitHub for itself
- tool
If you're using this pack to build a coding assistant, a research agent, or anything else that benefits from knowing what actually exists on GitHub - a repo, an issue, a specific piece of code - GitHub Tool wraps that lookup as something the LLM can call on its own. Same pattern as this pack's Wikipedia and DuckDuckGo tools: it doesn't do anything by itself, it packages a capability into a description the agent decides whether to invoke.
Inputs and output
This is one of the sparsest nodes in the whole pack. is_enable is the only required field - the usual toggle for pulling the tool out of an agent's available set. The only other field, git_api_key, is optional, and that optionality is the whole story of this node: without a key, you're hitting GitHub's API on its unauthenticated rate limit, which is low and shared across everyone on the same IP; with a personal access token supplied, you get GitHub's much higher authenticated rate limit. If you're only doing the occasional lookup, skip the key. If this tool is going to get called repeatedly in an automated pipeline, get a token - a read-only, minimally-scoped one is plenty for search and lookup use.
Output is a single tool string, wired into an LLM/agent node's tool-list input the same as every other tool node in this pack.
Where it fits
Pair this with a coding-focused agent built on this pack's tool-calling and Workflow Tool nodes, and you get something that can actually check "does this library exist," "what does this repo's README say it does," or "is there an open issue about this" instead of answering from stale training data. It's a small, focused capability - search and read, not write - which keeps the failure modes contained: there's no git_api_key scope here that would let an agent push code or open issues on your behalf, just read access to public GitHub data.
Installing it
Standard pack install:
- ComfyUI Manager: search "comfyui_LLM_party", install, restart ComfyUI.
- Manual:
cd ComfyUI/custom_nodes && git clone https://github.com/heshengtao/comfyui_LLM_party, thenpip install -r requirements.txtinside your ComfyUI Python environment, restart.
Nothing GPU-heavy here - this is a thin API-search wrapper, so it's a fast, lightweight piece of the install regardless of which branch you're on.
Common issues
The most likely problem is rate limiting, and it's quiet about it - GitHub's unauthenticated API limit is easy to hit if your agent is calling this tool repeatedly in a loop or across several workflow runs in a short window, and the failure looks like the tool suddenly stopped returning useful results rather than throwing an obvious "you're rate limited" error every time depending on how the pack surfaces it. If lookups that worked earlier in a session start failing later in the same session, check whether you're on the unauthenticated tier before assuming something's broken - adding git_api_key is usually the actual fix.
Treat your token like any other credential: a personal access token pasted directly into a node is stored in plain text as part of the workflow, same as an OpenAI key in this pack's other nodes - if you're going to share the workflow JSON, strip credentials out first or route them through config.ini instead of the node field.
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| is_enable | BOOLEAN | true | — |
| git_api_keyopt | STRING | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| tool | STRING | — |