Metadata-Version: 2.4
Name: fabricatio-thinking
Version: 0.1.4.dev0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Typing :: Typed
Requires-Dist: fabricatio-core
Summary: An extension of fabricatio, provide capablitities for thinking.
Author-email: Whth <zettainspector@foxmail.com>
License-Expression: MIT
Requires-Python: >=3.12, <3.15
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Homepage, https://github.com/Whth/fabricatio
Project-URL: Repository, https://github.com/Whth/fabricatio
Project-URL: Issues, https://github.com/Whth/fabricatio/issues

# `fabricatio-thinking`

[MIT](https://img.shields.io/badge/license-MIT-blue.svg)
![Python Versions](https://img.shields.io/pypi/pyversions/fabricatio-thinking)
[![PyPI Version](https://img.shields.io/pypi/v/fabricatio-thinking)](https://pypi.org/project/fabricatio-thinking/)
[![PyPI Downloads](https://static.pepy.tech/badge/fabricatio-thinking/week)](https://pepy.tech/projects/fabricatio-thinking)
[![PyPI Downloads](https://static.pepy.tech/badge/fabricatio-thinking)](https://pepy.tech/projects/fabricatio-thinking)
[![Bindings: PyO3](https://img.shields.io/badge/bindings-pyo3-green)](https://github.com/PyO3/pyo3)
[![Build Tool: uv + maturin](https://img.shields.io/badge/built%20with-uv%20%2B%20maturin-orange)](https://github.com/astral-sh/uv)

An extension of fabricatio.

---

## 📦 Installation

This package is part of the `fabricatio` monorepo and can be installed as an optional dependency using either pip or uv:

```bash
pip install fabricatio[thinking]
# or
uv pip install fabricatio[thinking]
```

For a full installation that includes this package and all other components of `fabricatio`:

```bash
pip install fabricatio[full]
# or
uv pip install fabricatio[full]
```

## 🔍 Overview

Provides structured thinking and reasoning capabilities for fabricatio agents, implementing a version-controlled thought
process that enables iterative analysis, revision, and branching of ideas. It supports complex problem-solving through
systematic thought progression with built-in revision and branching mechanisms.

## 🧩 Key Features

- **Sequential Thinking Process**: Step-by-step reasoning with version control for thought progression
- **Thought Revision**: Ability to revise and improve previous thoughts for better outcomes
- **Branching Support**: Create and manage thought branches for exploring alternative approaches
- **Version Control System**: Built-in VCS for tracking thought evolution and managing complex reasoning
- **Configurable Depth**: Adjustable maximum steps for thinking processes with automatic termination
- **Structured Thought Modeling**: Pydantic-based models for consistent thought representation and validation

## 🔗 Dependencies

Core dependencies:

- `fabricatio-core` - Core interfaces and utilities

No additional dependencies required.

## 📄 License

MIT – see [LICENSE](../../LICENSE)


