← All video transcripts

Trinity Roles & Permissions Explained: Platform Roles, Agent Access, and Approval Relationships

Description on YouTube

This episode explains Trinity’s roles and permissions, outlining three layers: platform roles, access to a specific agent, and a user’s relationship to an agent for approvals and notifications. It breaks down four platform roles (admin, creator, operator, user), noting admins have full control, creators can build and manage agents, operators can use the operator interface and access API/MCP tools but cannot create or configure agents, and users are limited to Workspace with no operator or API/MCP access. It then distinguishes agent-level roles (owner, shared-with, admin), highlighting that shared users lack visibility into container logs and activity timelines and are blocked from key controls like scheduling, credentials, sharing, and deleting. Finally, it covers agent relationships (primary, approver, collaborator, viewer), default notification/approval routing, escalation to owner then admin when unset, and three common rules about how layers interact. 00:00 Roles Overview 01:39 Platform Roles Explained 02:15 Operator UI and Visibility 03:12 Agent Creation and API Access 04:08 Admin User Management 04:51 Agent Access Levels 05:40 Sharing Limits and Credentials 06:38 Where to Share Agents 07:08 Relationships and Notifications 08:43 Approvals and Escalation 10:30 Common Rules and Gotchas 12:15 Wrap Up and Next Steps Connect with me: Twitter/X: https://x.com/evyborov LinkedIn: https://www.linkedin.com/in/eugenevyborov/ Substack: https://eugenevyborov.substack.com/ Try Trinity (free, open source): Platform: https://trinity.ability.ai GitHub: https://github.com/Abilityai/trinity Docs: https://docs.ability.ai

Full transcript

Source: YouTube auto-captions, language en. 2,124 words. Each timestamp links to that point in the video.

[0:00]Today I want to cover a topic that I've been asked about for quite a long time, and this is specifically about roles and permissions within the Trinity platform. It is quite a comprehensive and complex topic for a good reason because we need to be able to define how a user using the platform relates to the platform as well as how it relates to the individual agents that could be shared in between different people within the organization, and also what role is this agent playing within the work structure of the organization as an essentially an

[0:36]employee of this organization and how it collaborates with other teammates, human teammates, and other agents as well. Now, there are three different types of the roles and we're going to talk about them separately. The first one is the platform roles over here, and they talk about how a user relates to the platform itself. Like there is an administrator for the platform and operator and creator and etc. And we'll talk about how they are different. The next one that you are seeing under number two over here is how the person

[1:10]is relating to an agent. And again, it could be someone who created this agent, the owner, or someone who this agent was shared with or just the admin as well. And the last one is about who this person to an agent. Like what are their relationships in between them and that is very important for specifically use cases around approval chains and notifications and collaborations, collaborators, and stuff like that. Let's start with the platform roles. As you can see with the platform roles, we

[1:42]essentially have four of them over here. It's admin, creator, operator, and user. Admin is created when you essentially just set up the platform for the first time and you are the user who set it up and you are the admin. You have the most rights and permissions of anybody. You can chat with any agents, can manage them, you can do pretty much anything within the system. Now, when you add users and you invite those users into the platform, you can say whether those users are going to have a role of a creator, operator, or a user. they are different in what they can do.

[2:15]The very obvious difference over here is the operator user interface, which is the main kind of work charty thing that you are seeing in Trinity. This is where admins and operators go in order to manage the agents. This is not intended to be used by the end users of those agentic systems, but, you know, this is where operators live. As you can see over here, for user it is not available, but for operator, creator, and admin it is available and they can go there and see what's going on. They will however only see the agents that they either created or that

[2:50]are shared with them. I mean, admin can see everything, but the other types of users can only see the agents that they either created or that were shared with them. We'll talk about that in the next section over here. Now, again, a user or external client which doesn't have an account here can run tasks and schedules with an agent. If we go down here and we switch to building specific agents, you can see that only creator and admin can create agents, configure, share, delete them, so do any sort of operations with the

[3:24]agent itself. Operator cannot do that. And if we scroll down over here and talk about specifically API and MCP connections, we can see again that users cannot access API or MCP tools, only operators and creators and admins can do that. Essentially the logic is that users are locked into a workspace and that's the whole idea that users should only be using those agents through the workspace

[3:57]and have no access to the operator surfaces. There are some admin endpoints as well within the API and those can obviously only called by admins. Now, in terms of running the platform and actually doing things like adding new users or managing them or white listing them and things like that, that can only be done by admins over here, not even by operators. And there are some more advanced settings that only admin rights can provide.

[4:29]And that includes different kind of keys and deletions of the retention logs and usage sharing and other admin things like that. Right. So, how does someone get a role? I think it's important. It's in the admin settings again in access user management. That's quite easy to configure. Now, let's switch to the next one. Access to one agent. Now, I'm talking how you as a user relate to an agent. Now, you can be an owner of the agent. That's the most obvious one, right? You

[5:02]just created it and you know, essentially you can do whatever you like with that within the limitations that administrator prescribe. You can be someone who this agent is shared with. And this is a very interesting role over here because it does have a lot of the same permissions as the owner, but not all of them. And of course, there is an admin and it's the same kind of admin that we are talking about over here. This is an overlap in terms of if admin was an admin in the system, then it's also an admin on all of the agents and so it can do pretty much everything plus even more

[5:37]of what owner of the agent can do. So, let's look at the differences where the owner is different from the person that this agent is shared with. First of all, what we're seeing over here is the container log and activity timeline that are not visible to the shared person. And we also have a whole bunch of limitations over here with ability to read the chat history and seen how the tasks have run and also managing credential files. This managing credential files for agents is quite

[6:11]important because again, person who it is shared with does not have permissions to to do that. However, owner can inject credentials and do things like that. Now, in terms of the control over agents, as you can see over here, almost everything is blocked for for the person that it is shared with. I'm talking about enabling, disabling, schedule, or changing the settings, or managing credentials, or sharing or deleting them. And obviously, admin can do all of that stuff.

[6:42]Now, in order to share an agent, the person needs to already have an account within within the organization, within Trinity, and yeah, only then it can be shared. And this sharing is happening on the agent page within the settings people section. So we can open one of the agents and take a look at that one. Settings, people, and this is where you define who this agent is shared with. And now the last, but definitely not the least, is the relationship to an agent. And I want to stop over here for just a

[7:18]second because this part is crucial when you are actually designing the structure of the organization itself. And when you're defining in Canon, who are the people responsible for different departments and who are the people who are working with these particular agents. And then when agent has its say primary person, that's the person that it goes to when it needs different kind of approvals and that it consults with. So that part is very important for the proper functioning of the actual business processes within the organization. We have four different kinds of relationships over here,

[7:51]primary, approver, collaborator, and viewer. That goes in the kind of descending permissioning layers order. And what you can see that the primary person over here, which you can set again in the people section of the settings for an agent, you can set a primary person. You can primary person is already set over here, so you can set prover, collaborator, reviewer because there's only one primary person per agent. Now, the primary person is where most of the notifications are going by default. And again, primary person is a role in

[8:24]relation to an agent rather than a specific person in relation to an agent. So the person can change over here, obviously. The agent knows that, hey, I have my primary primary. It is configured to be this particular individual. So this is where I'm sending my notification or approval request. So by default, if there is a gated skill, the approval goes to a primary person. If there is a configuration in the Canon, the approval goes to the primary person. However, there could be configurations that say that it needs to

[8:57]go to a specific approver rather than a primary person. Example can be if we switch over here to Trinity, you can see that on the skill stop, we can configure that a particular skill execution requires an approval. And over here, by default, it's primary contact. But I can also select an approver for this agent approval approver is not configured. Hence, you know, it's nothing to select over here. But in the same way, you can do that also in Canon role definitions, and you can have approvals going to approver rather than

[9:30]a primary primary person, which means that you essentially can have different people approving different functions of a particular agent. Now, it's important to say over here that if primary person and approvers approvers are not set on an agent, the approvals will go to the owner of the agent and then to the admin. That's kind of default escalation procedure. Now, when an agent is asking for credentials, which can happen especially in workspace, it's going to be asking directly, give me a credential to a particular thing. Here is the input

[10:04]where you can put that, and it will then store it in the credential vault. Now, that goes only to the primary person, whoever is responsible for this for this agent. Now these two, the primary and the approver, carry most of the weight. Collaborator and viewer are to be developed more in the future, but as of right now, this is just guys who are working alongside the agent. Can ask it questions and things like that, but are not involved in the approval chains. Now let's take a look at these three rules that people usually get wrong. Assigned is not the same as allowed in.

[10:39]What it means is that if you set someone as a primary person, if this person doesn't have access to this agent, they won't be able to do anything. So the platform level access is critical. Well, platform level access to let user into the platform and then access to an agent to give user access to this particular agent, and only then you can set them as a primary or whatever it is. This rule two over here, which is pretty confusingly written by AI, essentially means that agents have their own API keys and MCP keys, and what agent can do

[11:13]is not defined by what owner of the agent can do. So they have their own kind of limitations in terms of the access. And the rule number three is the layers mix freely. So that means, which is actually like probably one of the typical use cases, a workspace only user is easily the agent's primary, and they don't have to ever see what's going on in the operator interface, but at the same time they can act on an agent and approve the requests sent by an agent

[11:47]and even provide credentials. If there's an admin accessing the MCP with their own key, they have a lot more power and permissions within this MCP than an agent that has, you know, similar MCP key, but is very limited to what what they can do. On this page there's a little bit more information about the agents and API keys and the difference between the personal key and the agent key and other but we're not going to stall on that today. So, either way, if you need more info, feel free to go into documentation

[12:21]page and read this guide or just ask the agent, as always, in the corner of documentation page or in the corner of Trinity. Otherwise, let me know if you have any questions or if something doesn't make sense and remember to like and subscribe.