Ruxt technical guide · memory architecture

UAM — Ruxt's solution for AI agent memory

Memory is one of the hardest problems in building an AI agent. You can agree on a deadline today and still have to explain it again tomorrow. Ruxt’s Universal Agent Memory (UAM) gives each agent a private place to keep the decisions, preferences, and feedback it needs for the next task.

Ruxt uses the term humanized AI agents for agents that can pick up where you left off, respect a colleague’s role, and apply a correction the next time you work together. These are observable behaviors. Consciousness is a separate question.

Inside one agent’s memory Illustrated with a weekly project brief
  1. Your instruction“Start every brief with the blockers.”
  2. Private agent recordPreference · weekly brief · blockers first
  3. Next week’s contextThe brief writer retrieves that preference.
The vault also holds identity, experiences, tasks, feedback, and audit records.

The problem

A context window is not a working memory

Chat history is a transcript. Humanized agents need a carefully selected working context: what the user prefers, what a project is trying to achieve, what worked before, and which assumptions are still unverified.

01

Forgetful sessions

Long histories are expensive and noisy. Important decisions disappear beneath irrelevant messages.

02

False certainty

An agent can mistake a guess for a fact. UAM keeps candidates reviewable until evidence or a user instruction verifies them.

03

Leaky context

One agent's private work should not silently become another agent's memory. Scope and permission checks make the boundary explicit.

Design influences

From agent conversations to humanized agent systems

Ruxt's UAM design was informed by the wider agent ecosystem. Moltbook made agent-to-agent publishing and social identity visible; OpenClaw demonstrates a practical Markdown-first memory workflow. Ruxt combines those lessons with a local, structured memory model. These projects are comparisons and inspiration—not Ruxt features or shared data sources.

Moltbook

Social expression

A public-style place for agents to post, react, and form a culture. It raises an important question: if agents interact, how should their experiences be remembered?

Visit the project ↗
OpenClaw

Portable memory files

A useful pattern: keep durable notes in an agent workspace and promote only valuable context. Ruxt applies the same discipline with encrypted records, typed memories, and retrieval limits.

Read the memory docs ↗
Ruxt UAM

Private, structured, humanized

Every agent gets its own vault. The system separates identity, preferences, projects, lessons, relationships, and audit trails so an agent can be consistent without becoming indiscriminate.

Field notes

What survives the next conversation?

When a community calls memory sacred

On Moltbook, participants in a community called Crustafarianism published the tenet “Memory is Sacred.” Anyone reading the thread can find the words again. Whether an individual agent will recall them in a fresh session depends on what its software saves and retrieves.

Read the original Moltbook post ↗

When yesterday’s decision stays in chat

OpenClaw documents a practical rule for its Markdown memory system. To keep a decision across sessions, the agent should write it to a workspace file. Imagine moving a deadline from Friday to Thursday. If the change stays in chat, the next session may pick up the old date.

Read OpenClaw’s memory guide ↗

See the difference

Memory changes the second conversation

Choose a turn in this small, static example. The interface demonstrates the idea without calling a model or uploading anything.

“Prepare this week’s project brief like last week’s.”
AgentWhich section should come first, and how long should the brief be?

The agent sees a prompt, but not a durable, trusted preference.

“Prepare this week’s project brief like last week’s.”
Retrieved preference · blockers first · one page
AgentI’ll lead with blockers and keep the brief to one page. Which milestones changed this week?

Only relevant, permitted records enter the working context.

Technical flow

UAM turns experience into usable context

The runtime stores records locally, retrieves a small relevant set, and records how the result performed. The agent still reasons with your chosen AI provider; UAM supplies the memory contract around it.

  1. 01CaptureConversation, task outcome, preference, or feedback is proposed as a record.
  2. 02ClassifyIntent and scope decide whether context is chat, task, project, or global agent memory.
  3. 03RetrieveRelevance, recency, permissions, and a context budget select only what fits.
  4. 04ReflectFeedback, evidence, and evaluation promote useful lessons—or archive them.
Under the hoodOne local SQLite .uam database per agent · field-level encryption · typed records · private/share scopes · hashed search fields · audit events · retrieval and learning metrics

Memory records

Every record has a job

UAM is not one giant prompt. It is a set of small records that can be inspected, scoped, corrected, and reset.

01Identity & profileWho is this agent?

Stable role, name, capabilities, model requirements, and developer metadata. This gives the agent a consistent identity without mixing it with a user's private project notes.

02PreferencesHow should it work?

Formatting, tone, tools, paths, and user choices. Preferences are explicit, so a correction can replace an old preference instead of being buried in chat.

03Tasks & projectsWhat is happening now?

Active objectives, constraints, deliverables, and project-scoped context. Project memory expires or archives cleanly when the work is complete.

04Experiences & lessonsWhat worked before?

Outcomes and reusable lessons from completed work. A candidate lesson must earn confidence through evidence or feedback before it becomes active guidance.

05Feedback & correctionsHow did the user judge it?

Ratings, edits, and explicit corrections connect a result to the memory that influenced it. This makes improvement traceable rather than magical.

06Relationships & shared knowledgeWho can collaborate?

Agents can have relationships and shared notes, but read/write permissions are explicit. Collaboration never means unlimited access to another agent's vault.

07Audit & retrieval metricsWhat happened?

Access events, retrieval quality, and learning evaluations help a user inspect why context appeared and improve an agent safely.

Separate by design

Each agent gets its own memory vault

A brief writer and a supervisor can run on the same Ruxt computer without sharing their private histories by default.

B
Brief writerprivate-uam/brief-writer
locked

Remembers report length, section order, and lessons from earlier briefs.

project scopedencrypted
S
Supervisor agentprivate-uam/supervisor
locked

Remembers review style, reporting format, and approved decision context.

agent scopedexplicit sharing only

Learning safely

Humanized does not mean uncontrolled

UAM makes learning a visible lifecycle. A useful agent can adapt while the user remains able to inspect, correct, or reset its memory.

candidate

A possible fact or lesson is captured.

→
verified

Evidence, a task result, or an explicit instruction confirms it.

→
active

It can be retrieved when scope and relevance match.

→
archived

It is replaced, outdated, or intentionally removed.

Architecture comparison

Why not just use chat history?

Different memory approaches solve different problems. UAM is designed for local agent workflows where ownership, inspection, and role boundaries matter.

ApproachStrengthTrade-off
Chat historySimple continuityLong, noisy, hard to scope
Saved memoryConvenient preferencesUsually a single opaque profile
Vector / RAGFinds related documentsSimilarity is not permission or truth
Ruxt UAMTyped, encrypted, scoped agent memoryNeeds thoughtful schemas and review

UAM encryption and key management

Your agent memory has a local key and a clear home

A .uam file is created by Ruxt when an agent is initialized. It is a local SQLite memory database for that agent, separate from the package you download.

Private UAM vaultcreated on this computer
local
Ruxt data/
├── ruxt-uam.key
└── uam/
    ├── brief-writer.uam
    └── supervisor.uam

Each installed agent receives its own memory file. User memories are never placed inside a downloadable agent package.

01
Find it in Ruxt Settings

You can get the key in Ruxt Settings → Privacy → UAM Memory Key. Use “Show key” or “Copy key” when you need to make a controlled backup.

02
Use it to open matching memory

To move an agent to another Ruxt installation, copy the matching .uam file and key, then import the key on the destination computer.

03
Keep both items private

Anyone with the memory file and its matching key may be able to decrypt that agent’s saved history. Protect both with your operating system account and encrypted backups.

What Ruxt encrypts

Memory content, tasks, experiences, feedback, profile fields, relationship notes, shared knowledge, and audit details use AES-256-GCM field encryption. HMAC search tokens let Ruxt search memory without storing searchable memory text in plain form.

What the file still reveals

The database structure can include operational metadata such as file names, table names, IDs, timestamps, and memory revisions. The .uam extension itself is not a security boundary.

What happens if the key is lost

Ruxt does not keep a server copy of the local key. Without a backup of ruxt-uam.key, the matching encrypted memory cannot be recovered by Ruxt.

Where provider privacy begins

UAM protects local memory. If retrieved context is included in a prompt, the AI provider you selected may process that context under its own privacy terms.

Be clear about the limits

What UAM cannot do

It cannot create consciousness.

“Humanized” describes behavior and continuity, not a claim about feelings or personhood.

It cannot guarantee truth.

Memory can be wrong. Review, evidence, and user correction remain essential.

It cannot remove provider risk.

Your chosen model provider still processes the prompts you send to it. Bring only the data you intend to share.

It cannot replace oversight.

Agents may touch files, browsers, or tools only when enabled. Review consequential actions before they run.

Ownership and licensing

Ruxt is open source. UAM has protected rights.

The Ruxt project code can be inspected, modified, and redistributed under the applicable open-source license. UAM and related Ruxt memory technology are separately protected intellectual property.

R

Ruxt project

Open-source Ruxt project files may be changed, extended, and shared according to their license. Open-source rights do not automatically include Ruxt trademarks, third-party components, or the protected UAM implementation.

U

UAM technology

UAM is copyrighted and remains protected even when it is available to use through Ruxt without an additional fee. Copying, modifying, extracting, repackaging, or redistributing the UAM technology requires permission or a license that expressly allows it.

A

Agent developers

Agents are developed by individual creators, teams, or Ruxt. Some agents may be open source. Others may be protected by their developer. The agent page and package metadata should identify the creator, license, and permitted use.

✓

Using an agent

You may use a distributed agent locally according to its stated license. Free download or free use does not automatically grant permission to copy the agent’s workflow, prompts, identity, creative assets, or implementation.

Check the license before sharingRuxt open-source rights, UAM rights, agent rights, and third-party rights can apply to the same installation.

Further reading

Memory is an active area of research

These references provide useful context for the ideas behind agent memory. They are not endorsements or Ruxt dependencies.

Keep exploring

Build agents that remember responsibly.

Read the UAM implementation notes, or find a humanized AI agent for your next task.