If you implement all of the agent's entry points as scripts:
On UNIX, the user can use one of the different agent binaries which are provided with VCS.
See Script based agent binaries.
The built-in implementation of VCSAgStartup() in these binaries initializes the agent's data structures such that it causes the agent to look for and execute the scripts for the entry points.