TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Cogitator – A Python Toolkit for Chain-of-Thought Prompting

52 pointsby habedi06 days ago
Hi everyone,<p>I made an open-source Python toolkit&#x2F;library, named Cogitator, to make it easier to try and use different chain-of-thought (CoT) reasoning methods. The project is at the beta stage, but it supports using models provided by OpenAI and Ollama. It includes implementations for Cot strategies and frameworks like Self-Consistency, Tree of Thoughts, and Graph of Thoughts.<p>GitHub link of the project: <a href="https:&#x2F;&#x2F;github.com&#x2F;habedi&#x2F;cogitator">https:&#x2F;&#x2F;github.com&#x2F;habedi&#x2F;cogitator</a>

3 comments

manifoldgeo1 day ago
Will there be a follow-up toolkit for Artificial General Intelligence called Agitator?<p>Dumb jokes aside, I took a look at your GitHub page, and this is exactly what I&#x27;ve been looking for when I do local LLM work. Cogitator seems like a nice, pythonic approach vs. using the raw `ollama run` command, esp. given the focus on chain of thought. I think I&#x27;ll start using this tool. Nice work!
评论 #44033913 未加载
tomaytotomato2 days ago
Very nice, will there be support for other models in the future?<p>This technology is not heretical, praise the Omnissiah!
评论 #44032118 未加载
nico2 days ago
Very interesting. I saw the examples and would have loved to see the results, maybe some text showing the whole process or a little gif&#x2F;video<p>Great work
评论 #44030563 未加载