qmetrics.net

Graph of Thoughts

LLM framework for graph-of-thought reasoning

Graph of Thoughts models problems as graphs of operations executed by a configured large language model, including CoT- and ToT-like workflows.

Overview

Graph of Thoughts is a Python framework that implements the Graph of Thoughts research approach for tackling elaborate tasks with large language models. It represents a problem as a Graph of Operations that the runtime executes step by step with an LLM as the engine.

The design is meant to be flexible: you can encode newer graph-style reasoning pipelines and also reproduce patterns similar to chain-of-thought or tree-of-thought setups within the same abstraction. A controller layer orchestrates operations, and modules documented in the project explain how to extend or replace pieces of the pipeline.

After installing the package from PyPI or editable source, you connect a configured LLM backend following the controller setup notes. Quick-start examples include sorting lists with simpler and more advanced graph configurations, producing output graphs you can inspect for scoring or error counts.

Shipped examples walk through additional problems described in the associated paper, each with its own instructions. Paper experiment assets can be re-run or replotted from a dedicated directory when you only need to review published results.

Key features

  • Graph of Operations execution
  • Pluggable LLM controller
  • Chain-of-thought style graphs
  • Tree-of-thought style graphs
  • Example sorting benchmarks
  • Documented modular architecture

Use cases

  • Research on structured LLM reasoning
  • Comparing CoT and GoT pipelines
  • Prototype complex LLM workflows

Tags

Similar software

TensorFlow

End-to-end machine learning platform and tooling ecosystem

TensorFlow is a machine learning platform with Python and C++ APIs, optional GPU packages, and companion libraries for data, training, deployment, and visualization.

★ 201.8k⟳ todayApache-2.0

Transformers

Shared model definitions for multimodal ML workloads

Transformers is a Python library that defines pretrained text, vision, audio, and multimodal models once in PyTorch for shared inference and training across the ecosystem.

★ 169.4k⟳ todayApache-2.0

RAGFlow

Open-source RAG engine and agent context platform

RAGFlow ingests heterogeneous documents, builds retrievable knowledge, and supports agent workflows with citations. It can run on your own hardware with Docker or a from-source server stack.

★ 94.8k⟳ todayApache-2.0

Headroom

Local LLM context compression library and proxy

Headroom shrinks tool outputs, logs, JSON, and chat history before LLM calls to cut input tokens while preserving retrievable originals. It offers a Python library, proxy, MCP tools, and agent wrappers.

★ 81k⟳ yesterdayApache-2.0

Unsloth

Local desktop workspace to run and fine-tune AI models

Unsloth is a desktop application to chat with, fine-tune, and serve LLMs, diffusion, audio, and embedding models on your own hardware with optional agent integrations.

★ 80.4k⟳ todayApache-2.0

Models

TensorFlow reference models and modeling utilities collection

The TensorFlow Model Garden hosts implementations of models and modeling solutions for TensorFlow, installable via pip as tf-models-official.

★ 77.6k⟳ 11 days agoApache-2.0