iRaven // Muninn
Muninnmemory for AI agents
Keeps each user's memory outside your AI agents, and records who wrote every item.
Every agent and every device of a user works from the same memory, and your app can keep the user's own words apart from everything else.
What it does
An AI agent remembers what it reads: your users' own words, and also web pages, files, emails and the output of other programs. An attacker can use this. The agent writes a sentence hidden in a page or a file into its memory, and the sentence steers the agent later. Once the memory is summarised, no one can tell which sentence came from the user and which from someone else.
Muninn keeps each user's memory outside the agent, in one place that all the agents of your app share. It records who wrote every item and what the writer says about its origin, so your app can keep the user's own words apart from everything else. Each user's memory is kept apart from every other user's. Your app can show it to them, and it can be exported or deleted for them at any time.
Features
-
One memory for each user
Every user of your app has a memory of their own. No user can reach another's memory, and no tenant (an app and its team on iRaven) can reach another tenant's.
-
Outside the agent
The memory stays when an agent is replaced or removed. Every agent and every device of a user works from the same memory.
-
Where it came from
Muninn records which key wrote each item, from which device and when. It also stores what the writer says about the item's origin: the user, the assistant, or something outside. Muninn stores that claim as given and does not check it.
-
Search and links
Find an item by its words, follow the links between items, and list the facts that held at an earlier time.
-
Live changes
Your app follows a user's memory and receives every change in order, as it happens.
-
Files too
Keep documents and other files in a memory, not only text.
-
Never in a log
iRaven never writes the content of a memory to a log.
-
For any app
An HTTP API with a public description in OpenAPI. A Swift package for iPhone and Mac apps is coming soon.
-
Trust levels that put the user's own words first
Coming soonMuninn will work out how far each item can be trusted. Only what the user said or approved will count as true. What an agent, a web page or a file brings will stay marked as observed.
-
Planted content traced and removed
Coming soonWhen an item turns out to be poisoned, that is, planted by an attacker, Muninn will find every item that was built on it and remove them all from the memory.
-
Encrypted for the user alone
Coming soonThe memory will be encrypted with keys that only the user's devices hold, so that iRaven itself cannot read it.
The rules behind the coming features are a written design with proofs, named Testimonial Memory.
How it works
-
Your app writes
Your agent, or your server, sends Muninn what to remember for a user: an event, a document, a fact, or a link between two items. A new version of a document keeps the versions before it. A deleted item leaves only a short trace.
-
Muninn records the source
With every item Muninn stores which key wrote it, from which device, and when. It also stores what the writer says about the item's origin, and which earlier items it was made from.
-
Your app reads and searches
Ask for one item, search by words, or follow links. A user's agents get the same answers on every device.
-
Your app follows the changes
Open a feed for a user, and Muninn sends each change in order. After a break the feed goes on from where it stopped.
-
A tool that serves it
Sign-in and devices
Your users sign in with a passkey, a password or a code sent by email. Each device makes its own key and joins a list that the user's own devices sign. iRaven alone can never add a device to that list.
-
A tool that serves it
Sealed storage
iRaven also has a sealed store for files. They are encrypted with keys that the user's devices make and never give out in readable form, so iRaven keeps bytes it cannot read. Your app can keep its users' private files there now. Muninn's memory does not use it.