Private AI Agents: Keep Keys, Prompts and Memory Private

A private AI agent keeps its keys, prompts and memory away from the host and model maker. See how confidential VMs and private LLMs do it. Read the guide.

Hippius Team
Uploaded on:
Est. Read time:
9 min
Private AI agent header: a private agent from server to model, with a lock icon on a server module

A private AI agent is one where the server it runs on, the model it calls and the memory it keeps are not readable by the companies in between. Hippius Confidential Compute handles the first part: every VM runs with its memory encrypted by the processor, so whoever owns the server sees ciphertext. The second part, the model, can run privately through SayGM's confidential models. Together they cover the questions most people skip when they set up an agent, which matter more now that agents hold API keys, wallets, inboxes and months of conversation rather than a single chat.

This guide explains what "private" actually means for an agent, where its data leaks in an ordinary setup, and how to close each gap.

What is a private AI agent?

An AI agent is software that uses a language model to decide what to do, then does it: reads your email, edits files, calls APIs, pays for things. To do that it needs credentials, context and somewhere to remember what happened yesterday.

"Private" gets used loosely. Often it just means self-hosted, as in "I run my own agent instead of using a hosted assistant." That's a good start, but a self-hosted AI agent on a rented server is only as private as the people who run that server. Its memory holds your decrypted API keys and the contents of every document it reads, and on a standard virtual machine the host can read that memory.

A more useful definition: a private AI agent keeps its secrets unreadable to every party that doesn't need them, including while the agent is working. Encrypting data on disk and in transit is normal. Keeping it encrypted while it's being used is the hard part, and it's the part private AI is really about.

Where does an agent's data leak?

There are three places, and most setups only think about one of them.

The machine it runs on

When the agent is running, its keys, tokens and working files sit in memory in plain form. Disk encryption doesn't help here, because the disk has already been unlocked. On a laptop, anything else running on that laptop shares the same machine. On a VPS or cloud VM, the hypervisor and anyone with host access can, in principle, read the VM's memory or snapshot its disk.

The model it calls

Every request an agent makes to a model carries context: the email it's replying to, the file it's summarizing, the output of the last tool it ran. Calling a model maker's API directly means that provider receives all of it under its own API terms. For many tasks that's acceptable. For a contract, a medical letter or a wallet seed phrase pasted by mistake, it may not be.

The memory it keeps

Long-running agents write things down. Conversation logs, memory files, vector stores and skill files build up over weeks. That record is often more sensitive than any single prompt, because it's a summary of everything the agent has learned about you.

Three places a private AI agent can leak data: server memory, model prompts and stored memory files

Who can see your agent's data in each setup?

The table below sets out who can read what in five common setups. "Host" means whoever controls the physical server the agent runs on.

SetupCan the host read the agent's memory?Does the model maker receive your prompts?
Agent on your laptop, model API called directlyNot applicable, but every other app on the laptop shares the machineYes, under the maker's API terms
Agent on a standard VPS or cloud VMYes, the host can access VM memory and diskYes
Agent in a hosted code sandboxYes, the sandbox operator runs the hostYes
Agent on a Hippius confidential VM, frontier model via SayGMNo, memory is encrypted by the processorYes, SayGM's gateway is sealed but the maker still receives the prompt
Agent on a Hippius confidential VM, confidential model via SayGMNo, memory is encrypted by the processorNo, inference runs inside a provider TEE and the prompt isn't sent to the maker

The last row is the one that matches what most people mean by private AI. On Hippius, each VM is an AMD SEV-SNP confidential VM: the processor encrypts its memory with a key the host can't access, so the server owner sees encrypted bytes rather than your agent's keys. On the model side, SayGM's privacy page explains its tiers: every request passes through a gateway running inside an Intel TDX enclave, and for models marked confidential, inference also runs inside an attested provider TEE.

Private AI agent flow from a confidential VM through SayGM's sealed gateway to a confidential model

Do you need your own GPU for a private LLM?

Searches for "private LLM" usually end in the same advice: buy or rent a GPU and run open weights yourself. That works, but it moves the problem rather than solving it. A rented GPU server has a host too, and only newer GPU generations support confidential computing at all.

Hippius confidential VMs are CPU-only, so the model doesn't live on the same machine as the agent. That split is deliberate. The agent, which holds your keys and memory, runs on a confidential VM. The model runs through SayGM, where you choose per request how private the call needs to be. Frontier models such as Claude, GPT and Gemini get private routing through the sealed gateway. Open-weight models marked confidential get private inference inside a TEE, which keeps the prompt sealed end to end. That combination, an agent on a confidential VM calling a confidential model, is what makes the setup fully private. Call a frontier model instead and the agent stays private, but the model maker still sees that prompt.

Confidential models cost more than the standard route, and the premium varies by model. For prompts that genuinely need it, that's usually cheaper than running and securing your own GPU.

Comparison of a self-hosted private LLM on a GPU server and a confidential model running in a TEE

Setting up a private agent on Hippius

The practical version is short. Create a VM from the Hippius console, pick an Ubuntu or Debian image and add your SSH key. As the VM boots, its disk stays locked until the hardware report checks out; the console shows the boot phase reaching "Disk unsealed", and the VM's Confidential Compute panel shows its attestation. The virtual machine guide walks through each screen.

From there, install your agent as you would on any Linux server and set its model provider to SayGM. Most agent frameworks only need a base URL and an API key changed. Pick a confidential model for the tasks where the prompt itself is sensitive, and keep frontier models for everything else.

Billing is per second with a one-minute minimum. As of 4 December 2026 the smallest VM (1 vCPU, 4 GB RAM, 40 GB disk) lists at $0.0438 an hour.

What a private setup still can't hide

Being precise about limits is part of being private, so here they are.

  • Hippius manages disk-key release today. The key that unlocks your VM's disk is released by Hippius's key broker after attestation passes. Customer-held keys aren't available yet, so you are trusting that process.
  • Activity is visible. The server owner can see that your VM is running, its size, and its CPU and disk activity. Network traffic metadata, such as addresses, sizes and timing, is visible too.
  • Frontier models still see prompts. Private routing protects the gateway hop, not the maker's own servers.
  • Privacy isn't safety. A confidential VM stops outsiders reading the agent. It doesn't stop the agent from following a malicious instruction hidden in an email.

The Confidential Compute docs list every party and exactly what each one can and can't see.

Common questions about private AI agents

What is private AI?

Private AI is AI where your data stays unreadable to parties that don't need it, including the cloud host and, where possible, the model provider. In practice that means encrypted memory on the servers that process your data, plus hardware attestation so you can check that protection is switched on.

Which AI system keeps all data private?

No single product does it alone. A fully private setup pairs an agent on a confidential VM with a confidential model, so neither the host nor the model maker can read the work in progress. Switch to a frontier model such as Claude or GPT and the model maker receives that prompt, so the confidential model is the part that makes it fully private.

Is a self-hosted AI agent private?

Not automatically. Self-hosting removes the assistant company from the picture, but on a standard VPS the hosting provider can still access the VM. Self-hosting on a confidential VM closes that gap.

Can the cloud provider see my AI agent?

On a standard VM, yes, technically. On a Hippius confidential VM, the server owner sees encrypted memory and disk, plus activity and network metadata.

Final thoughts

  • A private AI agent protects three things: the machine it runs on, the model calls it makes and the memory it keeps.
  • Self-hosted isn't the same as private; the host can still read an ordinary VM.
  • Run the agent on a confidential VM and route sensitive prompts to confidential models on SayGM.
  • Know the limits: activity metadata is visible, and Hippius currently manages disk-key release.

If your agent holds anything you'd rather keep to yourself, give it a machine that can't be read from the outside. Launch a confidential VM on Hippius and connect it to a private model in a few minutes.

About Hippius

Hippius is a distributed cloud platform built to give users a verifiable alternative to providers like AWS and Google Cloud. Files are encrypted and distributed across an independent network rather than held in a single provider's data center. Every storage claim, payment, and miner action is recorded on Hippius's own blockchain, so instead of asking users to trust the platform, Hippius lets them check it for themselves. On top of that foundation sits a full product suite: personal cloud storage, S3-compatible object storage with no egress fees, confidential compute on secure hardware, and a container and model registry for AI.

Website | Discord | Twitter | LinkedIn | Docs | Blog | Medium | Forum | Github