agent: Support key listing with seperator