Working agent with output plugin code