Trinity: Secure Infrastructure for Autonomous AI Agents at Scale
- Published:
- Length: 9:22
- Channel: Eugene Vyborov
- Video: https://www.youtube.com/watch?v=SWpNphnuPpQ
- YouTube video id: SWpNphnuPpQ
Description on YouTube
Landing: https://trinity.ability.ai/ Github https://github.com/abilityai/trinity Most AI chatbots wait for prompts. Trinity agents work autonomously - scheduled to run on their own time, calling specialized agents when needed, and producing results without constant human oversight. In this demo, I walk through Trinity - a secure in-house infrastructure for running autonomous Claude Code and Gemini CLI agents at scale. This platform orchestrates multiple AI agents that can work independently or collaborate with each other to accomplish complex multi-stage business processes. **You will learn:** - How to build sovereign agentic systems that operate autonomously - Why containerized, sandboxed environments are critical for AI agent deployment - How agents collaborate through centralized credential management and MCP servers - The architecture behind running business-critical processes with AI agents - How version control and monitoring work for autonomous agent systems **What makes Trinity different:** - Agents run on schedules, not prompts - they operate autonomously when needed - Centralized credential management keeps sensitive data secure - GitHub-based version control for agent configurations - Real-time monitoring and observability dashboard - Visual collaboration tracking between agents - Granular permission system controls which agents can communicate - Shared folder infrastructure for file exchange between agents
Full transcript
[0:00]I will show you today something that might just simply change the way you look at the agentic systems and how you use them. I want to present Trinity. It is a secure in-house infrastructure for running autonomous AI agents at scale. The platform orchestrates Claude Code and Gemini CLI agents that can work independently or collaborate with each other to accomplish complex multi-stage business processes. Unlike chatbots that wait for prompts, Trinity agents operate autonomously, scheduled to run on their own time, calling on other specialized agents when needed, and producing results without constant human oversight, unless this
[0:33]oversight is necessary, of course. >> [snorts] >> The platform handles the operational complexity. It has centralized credential management, GitHub-based version control for agent configurations, real-time monitoring and observability, and a visual dashboard showing agent collaboration in action. Whether you are automating research pipelines, content workflows, or business operations, Trinity provides the industrial-grade foundation for AI that actually gets work done. So, take a look at the demo, and follow for more demos after that, and let me know if you're interested to explore this platform further. Thanks.
[1:07]Okay, folks. So, I want to show you Trinity, which is basically an orchestration tool and the running environment for the sovereign agentic systems that are based on the Claude Code and Gemini CLI and similar other systems that are basically like file management-level AI agents. I built this Trinity system because I I was running a lot of these agents in parallel, and they were developing more and more autonomous kind of functionality, and I needed a platform where I can run it in a safe, secure, containerized fashion. That's what I had to build. That's what I want to show you today.
[1:39]First of all, what you see on the screen over here, it's a dashboard, and you can see there's a bunch of agents over here. You may be familiar with some of them, with Corbin, Cornelius, Ruby, and others. This is our actual uh system that runs internally for us. Each of these agents has a responsibility. For example, Ruby is my content and social media manager, and Corbin is my business manager, and Cornelius is the knowledge base and source of truth as a company. The point here is that every last one of them is actually a Docker image running individually, and within that we have a Claude Code agent in this
[2:11]instance that runs in the Yolo mode, basically dangerously skipping the permissions. And that allows me to actually start building up autonomous functionality into those agents. And we're talking about business over here. This is our business management system, and this is where we're developing processes internally that run different parts of that. In this example, let's look at Ruby, for example. Ruby is my social media manager. Let's read. There's an info tab on Ruby to see what it is. It's a multi-platform content production and distribution agent for social media with a ton of integrations, H and with
[2:44]GoFile, Metricool, and other a lot of other stuff. It So, it has a developed infrastructure with different sub-agents, and it also has different commands. For example, we may want to generate an image or create a video or create new posts after talking to another agent to get insights, or research Twitter, find Twitter replies that are potentially good for us to reply to. And, of course, plenty of other capabilities, which I'm not going to dive into right now. But, the point is like this thing is running in the enclosed sandbox environment, and is configured in a way to be stable and
[3:19]reliable. So, again, the whole idea of this infrastructure is that I will have a system with a centralized place for credential management, for templates, for keys. I will have a centralized MCP server that allows access to this infrastructure to other agents or to themselves in order to manage them from the business logic standpoint. At the end of the day, the objective of this system is to create autonomous agents that accomplish the entire processes. So, let's look at one of the examples of what this can be and how this can work.
[3:51]For Ruby, we already have some tasks that we run with that, and basically everything that we make system do is a task, and there is a bunch of them. This is an example of a scheduled one, as you can see there. Respond with a short joke. So, the next thing I wanted to show you is the terminal over here, where basically can connect to Claude Code itself through the web terminal, if we want to, you know, have a conversation with that. And let's give it a second. So, as you can see, the terminal launched, and I can I can talk to it.
[4:23]It sometimes can be to respond because it's not as responsive as the real terminal you would expect, but if the system is set up correctly, you wouldn't need to come here too often. So, all right, it's responding. Let's move on. And on the credential side, there is a whole credential management thing. [clears throat] You can define credentials in the centralized location across the system by an admin, and then you can add them to an agent, and even apply to an agent directly, which injects this credential into the agent. There's also sharing functionality. Like, if I want to share this agent with any of my colleagues, basically, if this
[4:57]person logs in with this email, they will have access to this agent and will be able to operate with that basically in a full capacity. As you can see, it was shared with Christina. Now, she will have access to that. And we can switch to permissions. So, yeah, over here, I can set up how this agent is allowed to collaborate. For example, I do want it to have access to Cornelius, cuz that's where the knowledge sits. But, for example, I don't want to have it in the source of truth or even in ability AI website at this point, cuz this is managing my own account. So, what it means really is that when the agent doesn't have a
[5:29]permission to other agents, it won't be able to call this agent with the MCP server, and it will also not share folders between themselves. There's a separate section for the folder sharing, which we'll get to now. And the basic idea behind the shared folders is that agents would be able to just simply put the files in on the infrastructure level, the specific folders will be shared between the agents, which basically allows to exchange files and have shared files between them. Which I think is kind of cool. Even though in Ruby, I'm still using integration with Google Drive directly for large files, rather than the shared
[6:02]folders, but that's based on the use case. Now, this whole agent, and basically every agent, if you'd like, can be running from the GitHub repository. So, yeah, Git over here serves as a sort of version control for the agent. You can directly from here push to the repository or pull changes from out of there. There's a conflict resolution mechanism behind that, but the idea is that you shouldn't really have conflicts if you're managing this agent from within one system. But, it's not always the case, right? And on the file stack, we can see all the different files over here that are actually on the instance.
[6:36]So, there you go. In this system, you can, first of all, create, update, and manage those agents, but you can also monitor their performance. You can see all of the executions that happened, if they errored out, if they did it. You would also see if agents are calling on each other, like back and forth. Maybe I can show you on my local host, cuz I had some executions there as well. On each of them, you can click and see the execution details. Like, this one was an analysis of the knowledge base, and it can show you exactly what tools it called, what it did, what was the process. And if you want to nerd out and
[7:09]dig into that and understand what's happening there, you can. There's also a telemetry of CPU and memory on each of the agents, so you know what's going on there. You can change the settings and the size of the instance if you want to. You can specify what kind of memory and CPU you want. The only couple of things that you need to configure here is Anthropic API key and even that you don't have to use, because once you set up the agents, you can go ahead and set up your subscription in the web terminal. And then, for the GitHub personal access token, this is necessary if you want to
[7:41]to install agents that are based in your enclosed GitHub, and if you want to have this GitHub functionality. Then, there is a bit of a Trinity prompt instrument, where you can insert any instructions, and they will be automatically injected into all the agents. Then, there is a section where you can add emails for other folks to access, and they will be able to log in into the system with the code only if they're added to this whitelist. That's the whole principle behind this sovereign system that you kind of control. There is also a demo feature experimental for the SSH access that allows me to basically use the MCP to
[8:16]get direct SSH access to an agent with ephemeral keys and things like that. On this demo, I will not show you how to work through the MCP. That's going to be the next one, but I hope that gave you an overview what the platform is about, what the logic is behind that, and I hope it makes sense for you. You have this sovereign family of agents that are talking to each other and running autonomously, and it's very easy to create, support, and maintain these agents and develop them as you go, which gives you crazy flexibility in terms of what can be done and how
[8:49]quickly that can be done. Yeah. So, hope you like it. If you have interest in working with this platform, developing this platform, or using this platform in your organization, or whatever is the way you want to engage, let me know. Happy to walk you through that, and maybe even you would become one of our clients, one of the first ones who are going to adopt Trinity as a platform. You can just subscribe to my YouTube channel and keep track of how this system is developing, because it is in active development and getting better every day. Thank you.