Latest / AI & agents

Cogitator

github.com · Open source · Active

Python toolkit for chain-of-thought prompting strategies

Visit github.com ↗Share

Stars
191
Forks
6
Open issues
3
Last commit
Releases
6
Found
18 months ago

GitHub figures as of . They are context, not a ranking.

Cogitator is a beta Python toolkit that implements chain-of-thought reasoning methods, including self-consistency, tree of thoughts and graph of thoughts. It works with models from OpenAI and Ollama. It suits researchers and developers who want to compare reasoning strategies on the same models.

Repository description on GitHub: “A Python toolkit for chain-of-thought prompting 🐍”

What it does

  • Implements self-consistency, tree of thoughts and graph of thoughts
  • Works with models from OpenAI and Ollama
  • Installable from PyPI as a Python library

Good for

  • Compare chain-of-thought strategies on the same model
  • Run self-consistency sampling over an OpenAI model

Suits: Researchers comparing chain-of-thought prompting methods.

Worth knowing: The project is at beta stage.

What you can try

Read the README on GitHub and install from source.

Install

pip install cogitator

Confirmed against the package registry. Read the project’s own instructions before running anything.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw Cogitator on , when habedi0 posted it to Show HN. The oldest published release on GitHub is v0.1.0a2, dated . Cogitator had been shipping tagged releases for 12 days before it was found. 6 releases have been published in total; the latest is v0.2.1 ().

Day-7 and day-30 updates

Day 7 no new release

  • No tagged release was published in the first 7 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 54 points, 8 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 no new release

  • No tagged release was published in the first 30 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 54 points, 8 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

Releases per month, last 24 months (6 in total, busiest month 3).
  1. Repository created on GitHub: habedi/cogitator
  2. Release v0.1.0a2 (pre-release)
  3. Release v0.1.0a3 (pre-release)
  4. Release v0.1.0b1 (pre-release)
  5. Found: habedi0 posted it to Show HN. Show HN
  6. Release v0.1.1
  7. Release v0.1.2
  8. Release v0.2.1
  9. Day-7 check recorded by Kip (details)
  10. Day-30 check recorded by Kip (details)

Quick answers

When was Cogitator released?
Its first tagged release on GitHub is dated 3 May 2025. Kip found it on Show HN on 15 May 2025.
Is Cogitator open source?
Its source is public on GitHub at habedi/cogitator under the MIT licence.
What does Cogitator run on?
Library.
Is Cogitator free?
It is open source, so the code is free to read and run; check the licence for terms.
Is Cogitator still maintained?
Yes. It had a commit or release in the last 90 days as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositoryhabedi/cogitator
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-43996515. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.

Share

Similar tools

More in AI & agents

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.