What is the Tegra Agent
serversLearn what the Tegra Agent is, the principles behind it, what the vault is and how the launcher, the relay and the agent connect.tegra agent agent what is vault relay self-hosted server host a server security tegradenThe Tegra Agent is a small program you install on a Linux machine of your own: an old PC, a home server or a VPS. It runs your Minecraft servers on that machine, and you control everything from the Tegra launcher, on any computer.
You install it with a single command, pair it with the launcher and you’re set: creating servers, installing mods, making backups and inviting friends become a few clicks away. No monthly fee and no relying on someone else’s hardware.
Principles
Section titled “Principles”Before seeing how the pieces fit, it helps to understand the ideas behind the agent. They explain why everything works the way it does. Terms in bold are explained in the glossary.
1. The server is yours, on your machine
Section titled “1. The server is yours, on your machine”The heavy lifting happens on your machine, not on a rented server. Worlds, mods and backups stay with you. The agent is the engine running there; the launcher is the dashboard you control it from.
Why: you use hardware you already have, pay no monthly fee and are not locked into any service. If you ever stop using Tegra, the server files are still on your machine.
2. Nothing comes in: the agent calls out
Section titled “2. Nothing comes in: the agent calls out”The agent never waits for incoming connections. It opens an outgoing connection to the Tegra relay itself and listens there. When you click something in the launcher, the request goes to the relay, and the agent picks it up from there.
Why: a machine at home usually has no public address, and opening ports on your router exposes your whole network. Because the agent calls out, you don’t need to open any port to control your servers, and nobody outside can knock on the agent’s door.
3. Only you hold the key: the vault
Section titled “3. Only you hold the key: the vault”This is the most important idea.
What the vault is. The vault is a locked place inside the launcher that holds the keys that control your servers. It opens with your servers password, which only you know. Tegra does not store that password and cannot see or reset it.
What the vault does. Every command that leaves the launcher, such as starting a server or installing a mod, is signed with a key from the vault and sealed before it leaves your computer. When you pair the agent, it learns to recognize your signature. From then on it only obeys commands signed by you, and only it can open the seal.
Why we use a vault. The Tegra relay sits between you and your machine. Without the vault, whoever controlled the relay would control your machine. With it, even if someone broke into Tegra’s servers, or someone inside Tegra tried, they could not read your commands or make up a new one: your signature would be missing. That is why Tegra says it cannot access your servers. It is not a promise; it is how the system is built.
Three levels of care. Not every action carries the same risk, so the vault asks for your password at different moments:
- Day to day, once unlocked, you start, stop, work with files, mods and settings without typing the password again. All of this stays inside the server folder.
- Protected actions, which reach beyond the server folder (restoring a backup, setting the playit key, deleting a server), ask for the password and then stay unlocked for 15 minutes.
- Password-every-time actions (deleting a backup, changing who can access the agent) ask for the password every time.
If you forget your password, the recovery code you saved at the start lets you set a new one without losing anything. See Password and recovery.
4. Each server in its own box
Section titled “4. Each server in its own box”Each server runs as a restricted system service that can only write to its own folder. It cannot see the other servers, the backups or the agent’s settings, and by default it is kept apart from your home network.
Why: mods are code written by third parties. If a mod misbehaves, the damage stays inside that server.
5. Everything in the open
Section titled “5. Everything in the open”The agent’s code is open, under the AGPL-3.0 license, on GitHub. The installer and every update are signed by Tegra and checked before they run.
Why: a program that runs on your machine has to earn trust. With open code, anyone can check what it does.
How it works
Section titled “How it works”When you click Start on a server:
- The launcher builds the command, signs it with the vault key and seals it.
- The command goes to the Tegra relay, which cannot open or change it.
- The agent, already connected to the relay, receives the command, checks your signature and starts the server.
- The answer comes back the same way, and the launcher shows the server as Running.
Friends don’t go through the relay. They join the server directly through the public address from playit.gg, a tunnel that brings the game to your machine without opening ports on your router. See playit.gg tunnel.
What you can do
Section titled “What you can do”- Create servers from any modpack or from scratch, with Vanilla, Fabric, Forge, NeoForge or Quilt.
- Follow the console and work with files without a terminal.
- Add and update mods from Tegra, Modrinth and CurseForge.
- Switch the version and loader without losing your world.
- Make backups on the machine or in the Tegra cloud.
- Let the server sleep when nobody is playing.
- Start and stop it from Discord.
Common questions
Section titled “Common questions”Do I need to keep my computer on? No. The machine running the agent needs to stay on while people play. Your computer with the launcher can be off.
Does it work on Windows? The launcher runs on your usual system. The agent needs a Linux machine with systemd, on x86_64 or ARM64. An LXC container or a VPS works.
Do I need to open ports on my router? Not to control your servers: the agent only makes outgoing connections. For friends to join from outside your network, use the playit.gg tunnel.
Can Tegra touch my servers? No. Without your password nobody can sign a command, Tegra included. The relay only sees sealed messages.
What if I forget my password? Use your recovery code to set a new one. Without the password and the code, nobody can recover access, not even Tegra.
Can I have more than one machine? Yes. Install the agent on each machine and pair them all in the launcher. Each one shows up as an agent in the list.
Get started
Section titled “Get started”On the Linux machine, a single command installs the agent:
curl -fsSL https://get.tegramc.com/install-agent.sh | shThen follow Getting started with servers to create your password and pair it with the launcher.