Agent
Method
This is a method of the Session class in the session module.Create an agent with session context.
Signature
Parameters
Agent name
Agent role
Agent instructions
List of tools for the agent
Enable memory for the agent
Knowledge sources for the agent **kwargs: Additional agent parameters
Returns
Configured Agent instance
Exceptions
ValueError
ValueError
If this is a remote session (use chat() instead)

