habedi/cogitator

A Python toolkit for chain-of-thought prompting 🐍

46
/ 100
Emerging

Implements six peer-reviewed CoT strategies (Self-Consistency, Tree of Thoughts, Graph of Thoughts, and others) with unified sync/async APIs across multiple LLM providers including OpenAI, Ollama, and OpenRouter. Features Pydantic-validated structured output and includes a benchmarking framework for evaluating strategies on datasets like GSM8K and StrategyQA.

184 stars. Available on PyPI.

Maintenance 6 / 25
Adoption 10 / 25
Maturity 24 / 25
Community 6 / 25

How are scores calculated?

Stars

184

Forks

5

Language

Python

License

MIT

Last pushed

Dec 13, 2025

Commits (30d)

0

Dependencies

6

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/prompt-engineering/habedi/cogitator"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.