#192192nd of 242 in Agent frameworks and SDKs

spacy-llm

spaCy component that runs LLM prompts for NER, text classification and more

Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.

Stars
1.4k
License
MIT
Last commit
Oct 2026
Last release
Mar 2026
Language
Python
Stars, last 29 weeks+30
6 May 2026: 1,370 stars13 May 2026: 1,372 stars20 May 2026: 1,374 stars27 May 2026: 1,376 stars3 Jun 2026: 1,377 stars10 Jun 2026: 1,378 stars17 Jun 2026: 1,378 stars24 Jun 2026: 1,378 stars1 Jul 2026: 1,378 stars8 Jul 2026: 1,380 stars15 Jul 2026: 1,380 stars22 Jul 2026: 1,380 stars29 Jul 2026: 1,382 stars5 Aug 2026: 1,383 stars12 Aug 2026: 1,384 stars19 Aug 2026: 1,385 stars26 Aug 2026: 1,387 stars2 Sept 2026: 1,388 stars9 Sept 2026: 1,388 stars16 Sept 2026: 1,388 stars23 Sept 2026: 1,389 stars30 Sept 2026: 1,389 stars7 Oct 2026: 1,391 stars14 Oct 2026: 1,392 stars21 Oct 2026: 1,395 stars28 Oct 2026: 1,395 stars4 Nov 2026: 1,396 stars11 Nov 2026: 1,396 stars18 Nov 2026: 1,398 stars25 Nov 2026: 1,400 stars

1,370 on 6 May 20261,400 on 25 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

spacy-llm adds an `llm` component to spaCy pipelines that prompts a hosted or Hugging Face model and parses the reply into structured spaCy annotations. Built-in tasks include NER, text classification, relation extraction, sentiment, summarization, entity linking and translation, configured through spaCy's config system. It targets prototyping without training data, with the option to swap in supervised components later.

Who it is for: Python developers using spaCy who want LLM-based extraction and classification

Strengths

  • Mixes LLM components with rule-based and supervised spaCy components in one pipeline
  • Ships tasks for NER, textcat, relation extraction, summarization, entity linking and translation
  • Custom tasks, parsers and models plug in through spaCy's registry
  • Map-reduce sharding splits prompts that exceed the model's context window

Weaknesses

  • README calls the package experimental; interface changes may break in minor versions
  • Requires an existing spaCy install and familiarity with its config system
  • README says supervised models usually beat LLM prompting on accuracy and efficiency in production
  • Listed hosted-model providers include Google PaLM, which may be outdated

What it needs

  • GPU optional
  • Needs spaCy, OpenAI/Cohere/Anthropic API key (for hosted models)
  • Models: OpenAI, Cohere, Anthropic, Google PaLM, Microsoft Azure AI

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS

Also in Agent frameworks and SDKs

See all 242
Also in Agent frameworks and SDKs
RankProjectScore
#190sprix-sage-routerPython router that picks continue, collaborate or hand off for in-flight A2A tasks3.6k starsMIT43 out of 100
#191cheshire-cat-ai/corePython agent framework with a web UI and REST API, built for learning3.1k starsGPL-3.043 out of 100
#193swarmEducational Python library for multi-agent handoffs on Chat Completions22.2k starsMIT41 out of 100
#194browsergymGymnasium environments for web agents, with ten browser benchmarks1.5k starscustom license41 out of 100
#195metagptPython multi-agent framework that turns one-line requirements into a software repo Live demo ↗ (opens in a new tab)71.5k starsMIT40 out of 100