Skip to content

Reasoning Modes

Logician supports multiple structured reasoning strategies. Choose the mode that fits your task complexity.

Available reasoners

ReasonerBest forDescription
cotSimple tasksStandard chain-of-thought
auto_cotModerate tasksAutomatic reasoning depth selection
reflexionComplex debuggingSelf-reflection and revision
totArchitecture decisionsTree of Thoughts exploration
ssrCode generationSelf-subjective reasoning
gotMulti-step problemsGraph of Thoughts
best_of_nQuality-critical tasksMultiple attempts, best result
in_context_cotFew-shot learningDemonstrations in context
self_consistencyAmbiguous tasksMajority vote across attempts

Configuration

json
{
  "reasoning": {
    "mode": "reflexion",
    "maxIterations": 10,
    "temperature": 0.7
  }
}

Reasoning depth

The thinkingLevel setting controls how deeply the agent reasons:

LevelDescription
lowQuick responses, minimal reasoning
mediumBalanced reasoning and speed
highDeep analysis, more iterations
fullMaximum reasoning depth

Switching at runtime

Change reasoning mode during a session:

/reasoning mode tot
/reasoning depth high

When to use each

  • Simple fixescot or auto_cot
  • Bug investigationreflexion
  • Architecture changestot or got
  • Critical codebest_of_n
  • Ambiguous requirementsself_consistency

MIT License