By default, agents handle requests for all integration profiles. To configure agents to execute workloads for a specific profile, deploy separate agents to each of your environments or VPCs, and set the agent tags variable to a comma separated list of key-value pairs in the form profile:<PROFILE_NAME>. Some examples include:
Copy
Ask AI
# Execute APIs for the production profile"profile:production"# Execute APIs for both the development and staging profiles"profile:development,profile:staging" # Execute APIs for all profiles (default)"profile:*"
To configure agent tags, set the following variable depending on your deployment method.
Terraform
Helm
Docker
Copy
Ask AI
superblocks_agent_tags = "profile:<VALUE>"`
Copy
Ask AI
superblocks: #(...) agentTags: "profile:<VALUE>"
When running the agent with Docker Compose, set SUPERBLOCKS_AGENT_TAGS along with other required environment variables.