How can I Enable/Disable Agent by CAPI command line utility?

I am a new Notes C API programer.How can I download Noteapi directory?

How can I start/stop agent by C API command line utility?

Please advise. Thanks.