Describe the bug
Managed agents created in Community 1 automatically appear in Community 2 and Community 3 with the same name, instructions, environment variables, and full configuration. This is a tenant isolation breach — agents and their sensitive configurations should be scoped only to the community where they were created.
Steps to reproduce
- Configure Buzz desktop client with multiple communities (e.g., wss://community1.communities.buzz.xyz, wss://community2.communities.buzz.xyz, wss://community3.communities.buzz.xyz).
- Switch to Community 1 and create a new managed agent named "TestAgent" with custom instructions
- Configure the agent with environment variables, backend settings, and other metadata
- Switch to Community 2
- Observe that "TestAgent" appears in Community 2 with identical configuration
- Switch to Community 3
- Observe that "TestAgent" appears in Community 3 with identical configuration
Expected behavior
- Agent created in Community 1 should exist only in Community 1
- Switching to Community 2 should show a different (likely empty) set of agents
- An agent from Community 1 should not be accessible, visible, or executable from Community 2 or Community 3
- Each community maintains its own isolated set of managed agents
- The agent's sensitive data (instructions, environment variables, credentials) is not exposed across tenant boundaries
Root cause
Managed agents are stored in a single local file (managed-agents.json) that is not scoped by community. When the desktop client loads agents, it reads this single file for all communities equally, causing agent definitions to be visible
wss://community1.communities.buzz.xyz
Describe the bug
Managed agents created in Community 1 automatically appear in Community 2 and Community 3 with the same name, instructions, environment variables, and full configuration. This is a tenant isolation breach — agents and their sensitive configurations should be scoped only to the community where they were created.
Steps to reproduce
Expected behavior
Root cause
Managed agents are stored in a single local file (
managed-agents.json) that is not scoped by community. When the desktop client loads agents, it reads this single file for all communities equally, causing agent definitions to be visiblewss://community1.communities.buzz.xyz