CLI: Add agent command functionality (WIP)

refs #7248