The agents don't have access to the XPages application instance in memory and thus cannot reuse the connections/OSGi drivers.
Now, you can load the JDBC drivers in agents but you won't get access to the connections pool and it will probably perform poorly.