[PR #333] [CLOSED] feat: Add --show-thinking flag to CLI (#311) and Show Tool Outputs in a Collapsible Pane #326 #612

Closed
opened 2026-02-16 09:16:32 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/deepagents/pull/333
Author: @dayal-arnav05
Created: 11/7/2025
Status: Closed

Base: masterHead: feature/show-thinking-cli-311


📝 Commits (2)

  • 3706747 feat: Add --show-thinking flag to CLI (#311)
  • 4759f9a feat: Add Ctrl+O toggle for tool output visibility

📊 Changes

5 files changed (+57 additions, -7 deletions)

View changed files

📝 libs/deepagents-cli/deepagents_cli/config.py (+8 -1)
📝 libs/deepagents-cli/deepagents_cli/execution.py (+14 -3)
📝 libs/deepagents-cli/deepagents_cli/input.py (+17 -0)
📝 libs/deepagents-cli/deepagents_cli/main.py (+10 -2)
📝 libs/deepagents-cli/deepagents_cli/ui.py (+8 -1)

📄 Description

Add support for displaying agent reasoning/thinking process in the CLI.

Changes:

  • Add --show-thinking command-line flag to main.py
  • Extend SessionState with show_thinking field in config.py
  • Display reasoning blocks in dim style when flag is enabled in execution.py
  • Update help documentation and examples in ui.py

When enabled with --show-thinking, the agent's reasoning blocks from LangChain content blocks are displayed in real-time as dim text, providing transparency into the agent's thought process.

Resolves #311


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/deepagents/pull/333 **Author:** [@dayal-arnav05](https://github.com/dayal-arnav05) **Created:** 11/7/2025 **Status:** ❌ Closed **Base:** `master` ← **Head:** `feature/show-thinking-cli-311` --- ### 📝 Commits (2) - [`3706747`](https://github.com/langchain-ai/deepagents/commit/3706747f9acf6fb1aaea7c30b23fa281521faa43) feat: Add --show-thinking flag to CLI (#311) - [`4759f9a`](https://github.com/langchain-ai/deepagents/commit/4759f9ac5a0be1a21e33f6178a181901e66eb5bf) feat: Add Ctrl+O toggle for tool output visibility ### 📊 Changes **5 files changed** (+57 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `libs/deepagents-cli/deepagents_cli/config.py` (+8 -1) 📝 `libs/deepagents-cli/deepagents_cli/execution.py` (+14 -3) 📝 `libs/deepagents-cli/deepagents_cli/input.py` (+17 -0) 📝 `libs/deepagents-cli/deepagents_cli/main.py` (+10 -2) 📝 `libs/deepagents-cli/deepagents_cli/ui.py` (+8 -1) </details> ### 📄 Description Add support for displaying agent reasoning/thinking process in the CLI. Changes: - Add --show-thinking command-line flag to main.py - Extend SessionState with show_thinking field in config.py - Display reasoning blocks in dim style when flag is enabled in execution.py - Update help documentation and examples in ui.py When enabled with --show-thinking, the agent's reasoning blocks from LangChain content blocks are displayed in real-time as dim text, providing transparency into the agent's thought process. Resolves #311 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 09:16:32 -05:00
yindo closed this issue 2026-02-16 09:16:32 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/deepagents#612