Back to AI Q&A
What should I do if Hermes Agent doesn't want to enter TUI by default?

What should I do if Hermes Agent doesn't want to enter TUI by default?

AI Q&A Admin 68 views

If the Hermes Agent defaults to the TUI every time, and you want to go back to the classic CLI and check if the HERMES_TUI=1 is set in the shell configuration. The official TUI documentation states that setting this environment variable will make the machine prefer the TUI; When you cancel it, running hermes directly returns to the classic CLI.

How to turn off the default TUI

  1. Run echo $HERMES_TUI, and if the output is 1, the environment variable takes effect.
  2. Open ~/.bashrc, ~/.zshrc, or your shell profile to delete or comment on export HERMES_TUI=1.
  3. Perform source ~/.bashrc or reopen the terminal.
  4. Run the hermes to confirm that you are in the classic CLI.

It is still possible to use TUI temporarily

When the default value is turned off, run the hermes --tui directly when the TUI is needed. This is more flexible than the long-term enforced default: classic CLI for everyday remote, low-compatibility terminals, and TUI when interacting locally and looking at rich panels.

The two interfaces share sessions and configurations, so you don't have to worry about history being broken after switching. What really needs to be paid attention to is whether the terminal supports TTY and full rendering.

Recommended Tools

More