Execute bash commands directly in Ona Agent conversations using the ! prefix for immediate results and context sharing.
!
prefix to execute bash commands directly within Ona Agent conversations. This provides immediate command execution and automatically adds the output to the conversation context, making it a powerful tool for sharing specific information with the agent.
Running bash commands with ! prefix in Ona Agent
!
followed by a command in the chat interface, Ona Agent executes the command immediately and includes both the command and its output in the conversation context.
!pwd
to confirm your location!env
to see available variables!which commandname
!echo $PATH
!pwd
and !ls
to explore your environment