Uses
SandboxesEncrypted memoryStoragePeople building AI agentsHow it works
- Make an API key, a storage key and a file key (newFileKey() makes one; keep it in your password manager).
- Create a sandbox with no internet, run the agent's code in it, then delete it.
- Save what the agent learns with memory.remember() and look it up later with memory.recall().
The code
TypeScript, with the Zuzo SDK. Your API key and spending limit come from the console; the docs cover every option.
import { Zuzo } from "@zuzo/sdk";
const zuzo = new Zuzo({
apiKey: process.env.ZUZO_API_KEY!,
fileKey: process.env.ZUZO_FILE_KEY!,
storage: { endpoint: "https://s3.nokycgpu.com", accessKeyId: "ZUZO...", secretAccessKey: "..." },
});
// A sealed machine with no internet, for at most an hour
const box = await zuzo.sandboxes.create("agent-box", { network: "none", hours: 1 });
const run = await zuzo.sandboxes.run(box.id, "python3 -c 'print(sum(range(101)))'");
console.log(run.stdout); // 5050
await zuzo.sandboxes.remove(box.id);
// Memory is encrypted and searched on this machine
const memory = zuzo.memory();
await memory.remember("The user's reports go out in GBP, not USD.", ["preferences"]);
const [best] = await memory.recall("which currency for reports?");
console.log(best?.text);Questions
Can the sandbox's owner see what my agent runs?
No. Its memory is encrypted by the chip (AMD SEV-SNP), so the machine's owner can't look inside.
Can Zuzo read my agent's memory?
No. Memories are encrypted on your machine with your file key before they're stored. Lose the key and nobody can read them, us included.
How is a sandbox billed?
By the second, until you delete it or its hours run out.
More for agent builders
- Research agent with web search: An agent that looks things up live, reads the results and answers with numbered sources.
- Private tools for Claude Code and Cursor: One command gives your agent private chat, search, images, GPUs and sandboxes through Zuzo's MCP server.