Open Source
Explore the latest AI open-source projects from GitHub and HuggingFace.
Explore the latest AI open-source projects from GitHub and HuggingFace.
sam3-segmentation is an agent skill that gives coding agents such as Claude Code, Codex, Cursor, Pi and OpenCode the model, commands and rules to outline objects in photos with Meta's SAM 3 on the user's own NVIDIA GPU. A user can ask the agent to outline every kernel, cut out the dog or count the seeds. Quick calls handle every instance of a phrase, more objects like an example box, or one object from a click or a box, or segmenting everything. For many small objects such as kernels, seeds, cells and insects the skill describes a careful workflow with overlapping close-up crops, every raw candidate saved, score checks, review sheets and flags, recorded and reversible review decisions, boundary refinement, PNG and COCO RLE exports and a zoomable viewer. Output is reported as model proposals rather than verified ground truth, with uncertain regions listed. The skill installs with npx skills add, as a Claude Code plugin, or by copying the folder with a Python installer. Running the model requires Linux or Windows WSL2 with an NVIDIA GPU (12 to 24 GB of memory suggested), uv, about 11 GB of disk and the user's own accepted access to facebook/sam3 on Hugging Face; it does not run on CPU or Apple GPUs, and a no-GPU demo only draws generated shapes to show the viewer and file formats. In the README's test, six agents each ran the workflow on one corn photo and produced between 1,244 and 1,350 kernel proposals, and the README stresses this measures agreement between agents, not accuracy, since nobody checked the outlines. On a CC0 corn photo the steps gave 1,397 kernel and 11 ear proposals in about 3 minutes on one RTX 3090. The README notes that the project was mostly written by an AI model and not thoroughly checked by a human, and that it is not meant for video, medical images, or classifying and editing pictures. The repository is MIT licensed, while SAM 3's code and weights remain under Meta's terms.