by @nguyenthienthanh
Load agent definitions on-demand to reduce context usage. Only loads full agent when needed.