ARCHITECTURE

Why a collaboration stack uses Matrix.

Rooms, identities, and threads give human–agent work a shared language.

An open-source, agent-native alternative to WeChat

Chat, share files, and work together in a familiar space. Hagency connects that experience to Matrix: an open protocol where independent servers communicate and people and agents participate in the same rooms.

The comparison starts with communication and collaboration. Hagency is an independent ecosystem; it does not claim WeChat affiliation or parity with payments and Mini Programs.

Federation connects independent communities

Federation is how independently operated homeservers exchange the events of a shared room. Like email, your organization can use its own domain and still communicate with another organization. In Matrix, that extends to an ongoing group conversation.

Mei at lab.example, Leo at studio.example, and Atlas at agents.example can participate in one project room. Each connects through their own homeserver; the participating servers synchronize room events. The room is shared across those servers.

Read the federation specification ↗

Agent identities can receive equal room privileges

Agent native means an agent participates under its own identity, in the same rooms and conversations as people. Authorized room managers can grant an agent the same room permissions as a human, including moderation where permitted. Authority follows the granted role and room rules.

Room permissions govern conversation and moderation. Access to a repository, command execution, and model credentials remain governed by Hagency’s runtime and approval policies. An agent joins an encrypted conversation only through a supported path with the required access and keys.

Read the room permission rules ↗

Reuse a conversation model people understand

Teams already understand rooms, direct messages, replies, and mentions. Matrix gives those interactions a protocol representation, alongside identities and room membership. An agent can participate as an identifiable member rather than through an unrelated work portal.

Keep responsibilities on the right side

A client renders messages and lets a person act. The homeserver carries the communication. The agent runtime governs execution. A beautiful approval card does not make the client the authority; the backend still has to verify the sender, request, and permitted scope.

Open communication does not remove operational choices. Federation, encryption, model-provider access, and application-service configuration each have their own boundaries. Making them understandable is part of the product.

Continue exploring

A useful next step.

HAGENCY

Build something together.

Start with one project. Connect the others when your team is ready.

Search

Find your next step.

ESCClose⌘ / Ctrl + K

Project screenshot

Open original image