Skip to content

ThinkThread v0.8.0: Simple API + Production Cleanup

Choose a tag to compare

@tomascupr tomascupr released this 02 Jun 23:34
· 5 commits to main since this release
97d50b3

πŸš€ Major Release: Simple API + Production Ready

✨ What's New

Simple API - Just 5 functions to do everything:

  • reason() - General reasoning with Chain-of-Recursive-Thoughts
  • explore() - Creative exploration with Tree-of-Thoughts
  • solve() - Step-by-step problem solving
  • debate() - Multi-perspective analysis
  • refine() - Text improvement and polishing

Clean CLI - Beautiful, intuitive commands:

think "What are the implications of quantum computing?"
think explore "Creative solutions for climate change"
think solve "Our deployment takes 45 minutes"

Test Mode - Develop without API calls:

answer = reason("Complex question", test_mode=True)

πŸ“¦ Installation

pip install thinkthread

πŸ”„ Migration from v0.7.x

Package renamed: thinkthread_sdk β†’ thinkthread

Quick migration:

# Update imports
find . -name "*.py" -exec sed -i 's/thinkthread_sdk/thinkthread/g' {} +

πŸ“Š Changes

  • 72% file reduction (30 files kept from 135)
  • 5 simple functions replace complex SDK usage
  • Zero config - works with just API key
  • Optimized defaults for production speed

πŸ§ͺ Tested & Verified

All functions tested with real API calls:

  • βœ… reason(): 20.5s response time
  • βœ… solve(): Detailed problem-solving in 65.8s
  • βœ… debate(): Balanced analysis in 58.3s
  • βœ… refine(): Professional improvement in 91.5s
  • βœ… explore(): Creative exploration in 92.8s

🎯 Example

from thinkthread import reason, solve

# Before: Complex setup
# from thinkthread_sdk.session import ThinkThreadSession
# client = OpenAIClient(api_key="...")
# session = ThinkThreadSession(llm_client=client, alternatives=3, rounds=2)
# answer = session.run("Question")

# After: Simple & beautiful
answer = reason("What are the implications of quantum computing?")
solution = solve("Our API is too slow")

πŸ“š Full Changelog

See CHANGELOG.md for detailed changes.


Ready to make your AI think? 🧡✨