AIStor Memory

Memory an agent keeps, in a bucket you own.

minio aistor aimem ai agents

An AI agent starts each run with no past. It reasons, calls tools and writes files. Then the sandbox is recycled and all of it is gone. Teams rebuild that context from transcripts on every run.

AIStor Memory closes that gap. It turns an AIStor bucket into the place an agent keeps its work, its notes and its secrets. A client called aimem mounts that bucket as a local folder, so the agent just sees files.

“AIStor Memory is the memory your agents keep.”

How an agent works

An AI agent is software that reasons, plans, and acts on its own, calling tools and reading and writing data to finish multi-step goals with little human direction.

It runs a loop. Perceive and set a goal. Reason and plan. Act by calling a tool. Observe and remember. A human sets the goals, approves irreversible actions and steers when needed.

The model is not the agent. The model is “the reasoning engine. The agent thinks with it. It does not run here.” The model reasons. The sandbox runs the code. Tools and data reach the agent over MCP.

Underneath all of it sits memory and state. That is the workspace, the context and the secrets that persist across sessions and get shared across agents.

Six layers make up the stack:

Layer What it does Typical providers
Sandbox Runs the agent’s code in isolation E2B, Vercel, Daytona
Model The model the agent reasons with Any model, model-agnostic
Orchestration Coordinates steps, tools and agents LangGraph, CrewAI
Connectivity The standard interface to tools and data Usually MCP
Memory Workspace and persistent state, within a run and across sessions Fragmented today
Governance Controls, observability and audit across the fleet Enterprise IAM, KMS, audit

What agentic memory holds

Memory is not one thing. It is three.

Kind What it covers
Memory and state What the agent learned across sessions. Where the work stands, within a run and across runs. The context it reasons over.
Files and artifacts The code, notes and output an agent produces. Work in progress and finished artifacts. Its system of record.
Secrets API keys, credentials, certificates and tokens. What the agent uses to act on real systems. The most sensitive thing it holds.

The do-it-yourself stack

Build those three yourself and you end up running five systems.

Piece What it does Yours to run
Object store Durable storage for the files and artifacts an agent produces. Its system of record. A distributed system with its own sizing, upgrades and operations
Memory service Distills sessions into facts and recalls them, so agents keep context. An API on a database you operate, holding facts, not files
Vector store The index behind retrieval. How an agent finds the right context. Embedding and sync pipelines that lag, break and go stale
Metadata store State, lineage and bookkeeping. Which run produced what, and where work stands. One more tier, failure domain and audit trail to reconcile
Secrets manager Keys, tokens and credentials. What an agent needs to act on real systems. A fifth console, while key copies spread through the other four

Five functions every agent needs. Five systems to run if you assemble them yourself.

One bucket instead

The deck poses the question directly: what if memory were built in, not bolted on?

AIStor Memory answers with a single Memory Bucket. One bucket holds three things.

Part What it holds Example
Workspace Active work as real files A git repo the agent is editing
Memory Knowledge that shapes later runs CLAUDE.md, AGENTS.md, MEMORY.md
Vault Secrets: the agent’s authority to act An API token the agent may use

Four properties matter more than the shape:

  • Each save commits atomically. State survives when the sandbox is recycled.
  • It is lossless. What the agent writes is what it reads back. No model sits on the write path.
  • Search runs on the server, next to the data. The agent never downloads the workspace to look through it.
  • Context scales with storage, not with a fixed window.

The bucket can also keep a biography of the agent’s runs. Those records live as Apache Iceberg tables in the same bucket. What a run did sits next to what it made.

So “memory” here means files the agent writes and reads back. It is not a vector store, and it is not a model.

aimem: the memory as a folder

aimem mounts a Memory Bucket with FUSE. One command:

aimem <memory-bucket> /workspace

The agent and its tools then see plain files. git, editors, sqlite and build tools work unchanged. Behind the mount, every file lives in AIStor.

sandbox — recycled when the run ends agent claude, codex write, then close aimem FUSE mount /workspace writes reads local disk staging + cache NVMe S3 · data plane /_mem/v1 · control plane AIStor Memory Bucket workspace files .secrets/ · encrypted biography · Iceberg encrypted, versioned, compressed — always Memory API /_mem/v1 server-side search vault · bucket checks One mount, two planes: files over S3, control over the Memory API.

Writes stage on local disk and upload when the file closes. Unmount, and the local folder is empty. Mount again, from anywhere, and the same bytes come back.

Now swap “unmount” for “the sandbox died.” The next session mounts the same files, byte for byte.

How a Memory Bucket differs from a plain one

Plain bucket Memory Bucket with aimem
Access S3 API calls A local folder (POSIX files)
Encryption, compression, versions Settings you turn on Always on. The console refuses Memory without a KMS.
API S3 S3 plus the Memory API (/_mem/v1)
Search List and download objects Server-side regex search. The agent doesn’t download the workspace.
Secrets Your problem A vault. The agent gets only granted values, as env vars at launch.
Agent know-how None An Agent Skill teaches the agent the rules
Run history None Biography in Iceberg tables

aimem mounts only a Memory Bucket. It refuses a plain one.

A generic S3 FUSE tool could mount a plain bucket as files. aimem’s value is the bundle on top of that. It enforces encryption, adds server-side search and a secrets vault, records run history, and teaches the agent how to use it all.

The Agent Skill

On each mount, aimem installs a skill into ~/.claude/skills/aimem/ and ~/.agents/skills/aimem/. It also adds a short preamble to instruction files like CLAUDE.md as the agent reads them. That happens in memory only. aimem never writes the preamble to the bucket.

The skill teaches the agent the rules of the mount:

  • A write is safe in AIStor only once close() succeeds. fsync does not upload.
  • Keep what the next session needs in the startup instruction file, such as CLAUDE.md.
  • Put throwaway output in /tmp. Everything on the mount gets uploaded.
  • Work through the mount. Writing the bucket directly leaves the mount stale.
  • Keep secrets out of files. A key on the mount is readable by every later agent.

Without the skill, an agent would treat the mount like a local disk. Then it could lose writes or leak secrets.

What you get

  • No database to run. Memory lives in an AIStor bucket. No vector store, no graph engine, nothing extra to operate.
  • Lossless. The actual bytes, not extracted facts.
  • Mount now, API next. Memory is a real file the agent opens and edits. A direct read and write API follows.
  • Your storage, your keys. Memory stays in your object store, encrypted with your MinKMS. Never a vendor’s cloud.

Every artifact your agents produce is your company’s knowledge. AIStor Memory keeps it inside your environment, under your keys, on your audit surface.

Where it runs

Runtime Status What it means
Vercel Sandbox Ready Mounts inside the sandbox at start
Daytona Ready Sandbox image plus one mount command
GitHub Codespaces Ready Devcontainer feature, zero setup for the agent
E2B Ready Template image with the mount built in
OpenAI Codex, Agents SDK Ready Self-hosted sandbox image with the mount
Plain Linux VMs Ready One static binary, one mount command
NVIDIA OpenShell Coming soon Reference bring-up in progress
Direct read and write API Roadmap Memory access without a mount

A CSI driver mounts Memory Buckets into Kubernetes pods as well. Statuses are as the preview deck listed them in July 2026.

Who it’s for

  • Software engineering agents. Platform and developer-productivity teams running coding agents across large codebases.
  • Deep research and analysis. Teams whose agents work across many sources for hours or days and produce the record.
  • Human-in-the-loop operations. An agent pauses for approval and resumes days later without rework.
  • Governed and auditable work. Regulated enterprises where the artifact, retained and versioned, is the evidence.

The docs add a few more. Many agents can share one bucket, so files one writes are visible to the others. Agents can move between models and hosts while the memory stays put. And the vault replaces .env files, which matters because, as MinIO warns, “an untrusted prompt can then persuade the agent to send” a secret elsewhere.

Limits

  • It needs a licensed AIStor with a KMS.
  • It runs on Linux only, with /dev/fuse.
  • Writes are durable at close(), not before.
  • Large build output belongs in /tmp, not on the mount.
  • Writing the bucket around the mount can cause stale reads and lost changes.

Terms

  • Agent — software that reasons, plans and acts on its own. It calls tools and reads and writes data to finish multi-step goals, with little human direction.
  • Agent Skill — instructions aimem installs into the agent’s skill directory. They teach the agent the rules of the mount.
  • aimem — the client for AIStor Memory. It mounts a Memory Bucket as a local folder.
  • AIStor — MinIO’s object store. AIStor Memory is a feature of it, not a separate product.
  • Apache Iceberg — an open table format for large datasets. AIStor Memory keeps an agent’s run records as Iceberg tables.
  • Atomic commit — a file reaches AIStor whole or not at all. With aimem that happens when the file closes, so a half-written file never lands.
  • Biography — the record of what an agent’s runs did. It lives in the same bucket as the work itself.
  • Context window — the fixed amount of text a model can hold in view at once. Files on a mount are not bound by it.
  • CSI driver — Container Storage Interface. The standard way Kubernetes attaches storage to a pod.
  • FUSE — Filesystem in Userspace. A Linux feature that lets a normal program present itself as a filesystem, so ordinary tools read and write it as files.
  • KMS — key management service. It holds the keys that encrypt a bucket. MinIO’s is MinKMS.
  • Lossless — the stored bytes are the bytes the agent wrote. Nothing summarises, embeds or rewrites them on the way in.
  • MCP — Model Context Protocol. The standard interface an agent uses to reach tools and data.
  • Memory Bucket — an AIStor bucket set up for agent memory. Encryption, compression and versioning are always on, and the Memory API is available.
  • POSIX — the Unix file interface: open, read, write, close. Tools that speak it work on the mount unchanged.
  • Sandbox — the short-lived machine an agent runs in, such as a Codespace, an E2B box or a container. It is thrown away when the run ends. This is not a browser security sandbox.
  • Vault — the encrypted part of a Memory Bucket that holds secrets. The agent gets granted values as environment variables, never as files.
  • Workspace — the part of a Memory Bucket holding active work as real files, such as a git repo the agent is editing.

Sources