PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Chain Of Thought Python Packages

Python packages with the GitHub topic chain-of-thought. Sorted by monthly downloads, with stars and forks.
Kiln-AI
kiln-ai

Build, Evaluate, and Optimize AI Systems. Includes evals, RAG, agents, fine-tuning, synthetic data generation, dataset management, MCP, and more.

5K 5K 394
codelion
optillm

Optimizing inference proxy for LLMs

3K 4K 394
Kiln-AI
kiln-server

Build, Evaluate, and Optimize AI Systems. Includes evals, RAG, agents, fine-tuning, synthetic data generation, dataset management, MCP, and more.

2K 5K 394
ENDEVSOLS
longguard

In-flight circuit breaker & loop recovery for LangGraph, LangChain, OpenAI & Anthropic agents. Catches reasoning loops, prevents runaway LLM costs with budget hard caps, and auto-injects Reflect & Pivot prompts.

653 7 1
sunnybedi990
reasonchain

A modular AI reasoning library for creating intelligent agents with advanced reasoning pipelines, memory management, and seamless LLM integration.

627 6 0
nicolay-r
bulk-chain

A no-string API framework for deploying schema-based reasoning into third-party apps

514 23 2
CotaAI
cota

Build domain AI assistants with annotated dialogue examples - 通过标注对话示例,低成本构建可靠智能体

330 31 0
habedi
cogitator

A Python toolkit for chain-of-thought prompting 🐍

271 191 6
Kreflux
openkreflux

OpenKreflux: Resilient multi-provider inference and chain-of-thought verification engine

240 2 0
zjunlp
easyinstruct

[ACL 2024] An Easy-to-use Instruction Processing Framework for LLMs.

196 407 36
mlchrzan
pairadigm

Concept-Guided Chain-of-Thought (CGCoT) pairwise annotation tool for systematic text evaluation using LLMs. Generate breakdowns, compare items, compute scores, and validate against human judgments. Supports Ollama, Hugging Face, Google Gemini, OpenAI, and Anthropic models.

183 10 0
rudrasatani13
cot-redteam-agent

Red-team visible LLM reasoning — refusal quotes aren't success. Adaptive TUI, CI scan, OWASP tags, mock provider, proof-of-action agent lane.

181 2 2
kyegomez
the-compiler

Seed, Code, Harvest: Grow Your Own App with Tree of Thoughts!

156 144 17
DaoyuanLi2816
tracedistill

Distill teacher chains-of-thought into a LoRA adapter via a strict boxed-answer format contract + two-phase Train→Nudge (silver-medal NVIDIA Nemotron reasoning recipe, as a tested library).

148 85 17
Kernel-Dirichlet
cotarag

Agentic-AI framework w/o the headaches

142 9 0
saikoushiknalubola
thinkrouter

Cut LLM reasoning-token costs by 60% with one line of code

130 3 0
agencyenterprise
promptinject

PromptInject is a framework that assembles prompts in a modular fashion to provide a quantitative analysis of the robustness of LLMs to adversarial prompt attacks. 🏆 Best Paper Awards @ NeurIPS ML Safety Workshop 2022

117 528 58
JPickard1
brad-enrichment

Chain of Thought Gene Enrichment Report Generation

115 2 0
KazKozDev
prompt-playoff

Prompt optimization and benchmarking for local LLMs: picks the right prompt technique for your task and measures it on Ollama. DSPy-compatible.

82 2 0
terraprompt
fragaria

Fragaria is a powerful and flexible Chain of Thought (CoT) reasoning API that leverages various Language Model (LLM) providers and incorporates Reinforcement Learning (RL) techniques to solve complex problems and answer intricate questions.

73 21 1
LseKit
lsekit-sequentialthinking

Multi-step sequential thinking MCP server powered by large language models — structured reasoning with self-MoA and iterative thinking modes

61 1 0
Kiln-AI
kiln-studio

Build, Evaluate, and Optimize AI Systems. Includes evals, RAG, agents, fine-tuning, synthetic data generation, dataset management, MCP, and more.

5 5K 394
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology