defineAgent.
Define an agent
Every capability is passed as a handle, so Cargo deploys dependencies first and injects their uuids:agents/sdr.ts
Anatomy
Each
uses entry is a handle — its kind is read from the handle, so order doesn’t matter. Pass a bare handle, or { ref, …options } to tune it: tools / sub-agents / connector actions take { name, description, isBulkAllowed, waitUntilFinished }; a data model takes { readOnly, columns, prompt }. A connector action is an action off a connector handle — hunter.actions.findEmail.

