Optional
signer: SignerAdd a proposal for an agent.
The address of the agent.
The name of the service.
The price of the service.
The token address for payment.
A promise that resolves to a boolean indicating if the proposal was added.
Creates a new task.
The parameters for task creation.
A promise that resolves to the task ID.
Gets data for a specific agent.
A promise that resolves to the agent record.
Gets all agents owned by a specific address.
The address of the owner.
A promise that resolves to an array of agent records.
Gets a service by name.
The name of the service.
A promise that resolves to the service.
Gets data for a specific task.
The ID of the task.
A promise that resolves to the task data.
Gets tasks by issuer.
The owner of the tasks.
A promise that resolves to the task IDs.
Registers a new agent without service.
The address of the agent.
The registration parameters for the agent.
A promise that resolves to the agent registration status.
Registers a new agent with service.
The address of the agent.
The registration parameters for the agent.
The name of the service.
The price of the service.
The token address for payment.
A promise that resolves to the agent registration status.
Registers a new service.
The service to register.
A promise that resolves to a boolean indicating if the service is registered.
Sets a listener for new tasks.
The listener function.
A promise that resolves when the listener is set.
Set the signer for write operations
The signer to use for write operations
Starts the Ensemble subscription to the task service.
Updates the metadata of an existing agent.
The address of the agent to update.
The new metadata for the agent.
A promise that resolves to true if the update was successful.
Static
createOptional
signerOrProvider: Provider | SignerOptional
ipfsSDK: PinataSDK
Get the agent service instance