Skip to content

Add MinimalConsole for cleaner CLI output#494

Draft
kovtcharov wants to merge 2 commits intomainfrom
kalin/cli
Draft

Add MinimalConsole for cleaner CLI output#494
kovtcharov wants to merge 2 commits intomainfrom
kalin/cli

Conversation

@kovtcharov
Copy link
Collaborator

Summary

  • Introduces MinimalConsole as the default output handler for all agents, replacing the verbose AgentConsole
  • Suppresses agent internals (thoughts, goals, plans, step numbers) — shows tool calls as spinners with brief result summaries
  • Adds global --verbose flag to opt into full AgentConsole output when needed
  • Removes redundant _create_console() overrides from Blender, Code, Docker, and Jira agents (now inherit cleanly from base)

Files changed (9)

File Change
agents/base/console.py New MinimalConsole class (+354 lines)
agents/base/agent.py verbose param, updated _create_console() priority chain
agents/chat/agent.py Pass verbose through config
agents/code/cli.py --verbose flag for gaia-code
cli.py Global --verbose flag, removed duplicate flags from subcommands
agents/{blender,code,docker,jira}/agent.py Removed redundant _create_console() overrides

Test plan

  • gaia chat — verify minimal output (no thoughts/goals/plans, spinners for tools)
  • gaia chat --verbose — verify full AgentConsole output
  • gaia-code --verbose — verify verbose mode in code agent
  • gaia chat --silent — verify SilentConsole still works
  • gaia jira, gaia docker, gaia blender — verify they inherit MinimalConsole correctly

🤖 Generated with Claude Code

Introduces MinimalConsole that suppresses agent internals (thoughts, goals,
plans, step numbers) and shows tool calls as spinners with brief result
summaries. Adds global --verbose flag to opt into full AgentConsole output.
Removes redundant _create_console() overrides from individual agents.
@github-actions github-actions bot added agents Agent system changes cli CLI changes labels Mar 11, 2026
…tion

- Add verbose/trace/max_steps to excluded_params preventing crash on gaia prompt
- Wire verbose through BlenderAgent, JiraApp, DockerApp to their agents
- Fix MinimalConsole: add download methods, match signatures with AgentConsole
- Add None guards on print_warning/print_streaming_text for all consoles
- Fix SilentConsole stale print_file_modified signature
- Remove dead hasattr(args, "verbose") checks from jira/docker handlers
- Remove unused AgentConsole import from BlenderAgent
- Update docs: cli.mdx, console.mdx, agent-system.mdx, spec/console.mdx,
  guides/chat.mdx, guides/code.mdx with MinimalConsole and --verbose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent system changes cli CLI changes documentation Documentation changes jira Jira agent changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants