jina-ai/thinkgpt
ThinkGPT implements Chain of Thoughts techniques to augment LLMs with memory, self-refinement, and reasoning primitives.

ThinkGPT is a Python library that implements agent techniques to extend LLM capabilities beyond their default limits. It provides building blocks including memory systems for learning from experience, self-refinement for improving model-generated content, knowledge compression for fitting more context into limited windows, and inference primitives for higher-order reasoning. The library integrates with DocArray and supports natural language conditions for expressively defining agent logic.