Making a agent that runs a action

Hello

Can someone tell me how i can do a agent that runs a action?

thanks

Subject: Why not the other way? - Put the Action code in an Agent and call it from the Action?

Calling the Agent from the Action is easy via @Command([RunAgent] …)