Module think

Module think 

Source
Expand description

Simple step-by-step reasoning tool for AGCodex

Provides transparent reasoning that’s easy for LLMs to follow and understand. Focuses on practical problem-solving with clear step-by-step breakdown.

Structs§

CodeThinkResult
Enhanced result for code-specific thinking
StepDescription
Description of a step in the thinking process
ThinkResult
Complete result from the think tool (backward compatibility)
ThinkSession
Session manager for tracking thought history and branches
ThinkStep
A single step in the reasoning process
ThinkTool
Simple think tool implementation
ThoughtData
Enhanced thought data structure inspired by MCP sequential-thinking
ToolRecommendation
Tool recommendation for a thinking step

Enums§

CodeProblemType
Code-specific problem types for better reasoning
Complexity
Complexity level for code problems
ThinkError