method
set_agent v =
call_method_void sv
"agent"
[sv_of_string v]