Broker

Broker is a key component in the Canso AI Agentic System that facilitates orchestration between the AI Agents and the Canso Task Server. It acts as an intermediary, receiving tasks from AI Agents and distributing them across task workers for processing.

Role of the Broker

Note: Currently, only Redis is supported as a message broker. Support for RabbitMQ and Kafka will be added in future releases.

Setting up the Broker

To set up the task server, define a YAML file:

broker:
  type: redis
  name: my-redis

The table below explains the configuration attribues:

Attribute
Description
Example

type

Type of broker

redis

name

Name of the broker instance

agent-task-broker

Run the gru command to to set up the Broker:

gru component setup --cluster-name <cluster-name> --config-file config.yaml

Tool Tips

Last updated

Was this helpful?