📚 API ReferenceHooksuseNameReturns the agent's name, prioritizing the registry name over the agent's default name.View source code.Edit on GitHubPrevioususeKvNextuseNumMessages