Feature Friday #23: Agent say!

Posted by Nick Anderson
August 16, 2024

You have probably heard of cowsay, but have you heard of agentsay?

Just in case you haven’t seen the greatness of cowsay, here is an example:

command
cowsay "Gee, I wish I was a cf-agent!"
output
 _______________________________
< Gee, I wish I was a cf-agent! >
 -------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||

If you look in core/contrib you will find agentsay among other goodies.

It’s a Python script. You can use it to make an agent say something.

command
python3 agentsay.py "Happy Friday!"
output
/-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\
|                               |
|         HAPPY FRIDAY!         |
|                               |
|             ● ● ●             |
|             ● ● ●             |
|                               |
|         ●   ● ● ●   ●         |
|         ●   ● ● ●   ●         |
|         ●   ● ● ●   ●         |
|         ●           ●         |
|             ● ● ●             |
|             ●   ●             |
|             ●   ●             |
|             ●   ●             |
|                               |
\-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-/

Happy Friday! 🎉