All agents are required to have both a @agent and @on decorator to be registered with the blocks push command.
@agent(name="my-agent")
@on("github.pull_request_comment")
def agent(event):
    pass
The order of the decorators can be interchanged.
For the full list of supported arguments, see @agent and @on decorators.