Mindket

ColGrep-Agent-2B

Newversion 1 · updated

Overview

A 2.5B-parameter model that finds the files and line ranges relevant to a bug report or question about a code repository, by searching and reading the repo. Runs locally through ColGrep.

ColGrep-Agent-2B is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.

At a glance

You need
  • Homebrew, or Cargo, or the card's installer scripts
  • About 2.5 GB for the default model file
  • A GPU is optional but speeds things up
Runs in
  • The colgrep command line
  • macOS and Linux with Homebrew, or Windows with PowerShell
  • Cargo, to build ColGrep from source
  • Larger coding agents that call colgrep --agent
Start with
brew install lightonai/tap/colgrep && colgrep --install-agent

Platform

macOSOperating system
LinuxOperating system
WindowsOperating system

About

What it is

ColGrep-Agent-2B is a small code-localization agent from LightOn. Given a bug report, a feature request or a question about a repository, it finds the files and line ranges that matter.

It alternates between searching with ColGrep and opening files in a terminal that cannot change anything, then reports the precise spots. It is based on MiniCPM5-2B and is meant to take repository exploration off larger coding agents.

Who it suits

Developers and coding-agent builders who want to find the right code quickly, and who prefer a small local model over sending a whole repository to a big one.

IndustryWho uses itHow they use itExample
SoftwareDevelopersLocate code for a bug or questionFinding where retries are configured
AI toolingCoding-agent buildersHand repository search to a small helperA larger agent that delegates code lookup
Engineering teamsMaintainersTriage issues fasterPointing an issue at the likely files

You can skip it if you do not work with code repositories, or if you want a model that writes code rather than finds it.

Where to use it

It runs locally through the ColGrep command line on macOS, Linux and Windows, with GPU acceleration when available. It needs no Python environment, inference server or API key.

  • The colgrep command line
  • macOS and Linux with Homebrew, or Windows with PowerShell
  • Cargo, to build ColGrep from source
  • Larger coding agents that call colgrep --agent
Use caseWhoWhat they get back
Issue localizationMaintainersFile paths and line ranges for a bug report
Question answering about codeDevelopersLocations in the repo that answer the question
Delegated searchAgent buildersCompact results for a bigger model to use

How to set it up

You install ColGrep once and let it fetch the model. The install-agent step downloads a Q8_0 GGUF file of about 2.5 GB, checks that it loads and prepares a prompt cache.

  • Homebrew, or Cargo, or the card's installer scripts
  • About 2.5 GB for the default model file
  • A GPU is optional but speeds things up
  1. Install ColGrep with Homebrew or Cargo, using one of the commands below.
  2. Run the install-agent step, which the same commands include.
  3. Index your repository once with colgrep init.
brew install lightonai/tap/colgrep && colgrep --install-agent
cargo install colgrep && colgrep --install-agent
cd /path/to/project
colgrep init

How to use it

Ask a question in plain language with colgrep --agent. After the first index, searches notice changed files and update the index before answering. Results come as path, start line and end line.

colgrep --agent "where does the agent decide which GPU backend llama.cpp uses"
ToolWhat it does
colgrep --install-agentDownloads and prepares the default model
colgrep initIndexes the current repository
colgrep --agentRuns the agent on a question and returns code locations

Example

On ColGrep's own code, the card asks where the agent decides which GPU backend llama.cpp uses. In the shown session on an M3 Pro, the agent made 9 turns and 2 searches and returned 5 locations in 21.7 seconds.

For newcomers and experts

If you are new, install ColGrep, index a small project and ask one concrete question. The answer is a list of files and line numbers you can open yourself.

If you know the field, the agent was trained with reinforcement learning to search with ColGrep and read files through a read-only terminal. It loops over searches and reads, then calls finish with the final locations, which fits a larger agent's tool loop.

  1. Index the repository with colgrep init
  2. Ask a question with colgrep --agent
  3. Agent searches and reads files
  4. Agent finishes with path and line ranges

Good to know

The output follows a path, start line and end line format, so scripts and other agents can use it directly. The card shows tool results omitted for readability in its sample session.

  • License: Apache 2.0
  • Cost to run: none named, and no API key is needed
  • Data it reaches: the repository you index and ask about, plus the model file it downloads
  • Not for: writing code, since it only locates relevant code

README and files

README

ColGrep-Agent-2B

A 2.5B-parameter model that finds the files and line ranges relevant to a bug report or question about a code repository, by searching and reading the repo. Runs locally through ColGrep.

Made by lightonai on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.

About

What it is: ColGrep-Agent-2B is a small code-localization agent from LightOn. Given a bug report, a feature request or a question about a repository, it finds the files and line ranges that matter.

It alternates between searching with ColGrep and opening files in a terminal that cannot change anything, then reports the precise spots. It is based on MiniCPM5-2B and is meant to take repository exploration off larger coding agents.

Who it suits: Developers and coding-agent builders who want to find the right code quickly, and who prefer a small local model over sending a whole repository to a big one.

Industry | Who uses it | How they use it | Example
Software | Developers | Locate code for a bug or question | Finding where retries are configured
AI tooling | Coding-agent builders | Hand repository search to a small helper | A larger agent that delegates code lookup
Engineering teams | Maintainers | Triage issues faster | Pointing an issue at the likely files

You can skip it if you do not work with code repositories, or if you want a model that writes code rather than finds it.

Where to use it: It runs locally through the ColGrep command line on macOS, Linux and Windows, with GPU acceleration when available. It needs no Python environment, inference server or API key.

  • The colgrep command line
  • macOS and Linux with Homebrew, or Windows with PowerShell
  • Cargo, to build ColGrep from source
  • Larger coding agents that call colgrep --agent
Use case | Who | What they get back
Issue localization | Maintainers | File paths and line ranges for a bug report
Question answering about code | Developers | Locations in the repo that answer the question
Delegated search | Agent builders | Compact results for a bigger model to use

How to set it up: You install ColGrep once and let it fetch the model. The install-agent step downloads a Q8_0 GGUF file of about 2.5 GB, checks that it loads and prepares a prompt cache.

  • Homebrew, or Cargo, or the card's installer scripts
  • About 2.5 GB for the default model file
  • A GPU is optional but speeds things up
  1. Install ColGrep with Homebrew or Cargo, using one of the commands below.
  2. Run the install-agent step, which the same commands include.
  3. Index your repository once with colgrep init.
brew install lightonai/tap/colgrep && colgrep --install-agent
cargo install colgrep && colgrep --install-agent
cd /path/to/project
colgrep init

How to use it: Ask a question in plain language with colgrep --agent. After the first index, searches notice changed files and update the index before answering. Results come as path, start line and end line.

colgrep --agent "where does the agent decide which GPU backend llama.cpp uses"
Tool | What it does
colgrep --install-agent | Downloads and prepares the default model
colgrep init | Indexes the current repository
colgrep --agent | Runs the agent on a question and returns code locations

Example: On ColGrep's own code, the card asks where the agent decides which GPU backend llama.cpp uses. In the shown session on an M3 Pro, the agent made 9 turns and 2 searches and returned 5 locations in 21.7 seconds.

For newcomers and experts: If you are new, install ColGrep, index a small project and ask one concrete question. The answer is a list of files and line numbers you can open yourself.

If you know the field, the agent was trained with reinforcement learning to search with ColGrep and read files through a read-only terminal. It loops over searches and reads, then calls finish with the final locations, which fits a larger agent's tool loop.

Index the repository with colgrep init
Ask a question with colgrep --agent
Agent searches and reads files
Agent finishes with path and line ranges

Good to know: The output follows a path, start line and end line format, so scripts and other agents can use it directly. The card shows tool results omitted for readability in its sample session.

  • License: Apache 2.0
  • Cost to run: none named, and no API key is needed
  • Data it reaches: the repository you index and ask about, plus the model file it downloads
  • Not for: writing code, since it only locates relevant code

On Hugging Face, 13 November 2026

  • Task: text generation
  • Library: transformers
  • Parameters: 2.5B
  • Weights: about 5 GB in BF16; about 1.3 GB at 4-bit (estimate)
  • Formats: Safetensors
  • Downloads in the last 30 days: 1,141
  • Likes: 38
  • License: apache-2.0
  • Languages: en
  • Based on: openbmb/MiniCPM5-2B
  • Quantized versions: 6
  • Tags: transformers, safetensors, llama, text-generation, code, code-search, tool-use, reinforcement-learning, colgrep, conversational

Links

Get the model

Download its files with Hugging Face's command line:

pip install -U huggingface_hub
hf download lightonai/colgrep-agent-2B

Then follow the usage in its model card. Nothing in this kit runs by itself.

Files
README.md  5 KB

1 file, 5 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-13

Compare with similar

Listed Hugging Face models in the same category that share the most tags with this one.

ProductDownloads, last 30 daysLikesParametersLicenseLast change
ColGrep-Agent-2B This page1,141382.5Bapache-2.0
Sabi-NoemaShares reinforcement-learning · tool-use · text-generation1,8105527.4Bapache-2.0
Terminal-RSI-27BShares reinforcement-learning · code · text-generation2,5363327.8Bapache-2.0
Maincoder-1BShares reinforcement-learning · code · text-generation4511011Bapache-2.0
mSlideOnShares code-search · code · safetensors70616339Mapache-2.0
SlonikShares reinforcement-learning · code · text-generation05—apache-2.0
Numbers as Mindket last read them, from 2026-11-12 to 2026-11-13.

Reviews

No ratings yet

Write a review

No reviews yet.

More from Mindket

See all from Mindket

Bonsai-27B-GGUF

lmstudio-community · Kit

A GGUF conversion of the 27B Bonsai model for LM Studio, with a 3.80 GB Q1_0 language file and a 0.93 GB BF16 vision projector. Tested for text, vision and par…

New

Runs DeepSeek-V4.1-Flash-1017 as a 2.9 bits-per-weight EXL3 quantization, a 196 GiB copy for people serving large models on their own hardware. Perplexity stay…

New

MusicGen Small

facebook · Kit

Generates short music clips from a text description or an audio prompt, in the small checkpoint of facebook's MusicGen. It suits developers and music hobbyists…

New

Similar in Developer

See all in Developer

Lexnet

alpindale · Kit

Tags every character of C source code for syntax highlighting with a tiny neural network of about 984 weights, run through a small C program. For developers an…

New

FLUX.2 Klein LoRA Studio

prithivMLmods · Kit

Try a set of LoRAs for the FLUX.2 Klein image model in a Gradio app that runs in your browser or on your own computer. Made for people who make or test AI imag…

New

anaksor-ocr

Sokheng · Kit

Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…

New