A React context object of type AgentContext or null, typically provided by an AgentProvider at a higher level in the component tree.
An object containing the following hooks:
Each hook is designed to be used within components that are descendants of an AgentProvider, ensuring access to the necessary agent-related context.
Throws:
To use these hooks, ensure your components are wrapped in an AgentProvider
that you've set up to supply the AgentContext
.
This context provides the necessary agent functionalities and state management capabilities required by the hooks.
This function facilitates the use of contextually provided agent functionalities, such as managing the agent's state, authentication state, and user principal.