Skip to content
Back

Assistant memoryPro

A card listing the facts an assistant keeps about its user, one short line each: filter by group or search, edit or forget a memory in place with Undo, file the memory this chat just made, add your own and switch saved memories or chat history off.

oxyn add assistant-memory

Memory

What the assistant remembers about you

63% full
Saved memories

Remember details across chats

Chat history

Use past chats when answering

About you · 3

  • Works as a product designer on a payments team

    Chat on Nov 2
  • Lives in Lisbon and works on Western European Time

    Chat on Oct 18
  • Has a dog called Biscuit

    Chat on Sep 12

Preferences · 3

  • Prefers metric units and 24 hour times

    Settings chat, Oct 9
  • Likes answers as short bullet lists, no emoji

    Chat on Nov 11
  • Writes code samples in TypeScript

    Chat on Sep 30

Projects · 2

  • Redesigning the checkout flow, launch planned for March

    Chat on Nov 14
  • Keeps a reading list of design systems books

    Chat on Oct 3

People · 2

  • Priya is their manager and reviews every Friday

    Chat on Nov 6
  • Tomás handles front-end for the checkout redesign

    Chat on Nov 14
The code is part of Oxyn Pro

The preview stays free for everyone. Pro opens the code of every Pro component, screen, agent-app template, block and kit, plus the Pro CLI.

Get Pro

Rendered from Rust at build time · goes live when visible

When to use

  • The facts an assistant keeps about its user, one line each: filter, search, edit or forget in place, file what the chat just learned, add your own, and switch memory or chat history off.
  • Arc "Agent memory" ships as assistant-memory because agent-memory is the Agent / Memory screen.

When not to use

Installation

Assistant memory is part of Oxyn Pro; the preview is free. Pro items install with the oxyn CLI once your licence is signed in; until then Pro members copy the code from this page.

Terminal
oxyn add assistant-memory

Usage

Dioxus · rust
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Examples

Memories

All memories with a new one to file.

Memory

What the assistant remembers about you

63% full
Saved memories

Remember details across chats

Chat history

Use past chats when answering

About you · 3

  • Works as a product designer on a payments team

    Chat on Nov 2
  • Lives in Lisbon and works on Western European Time

    Chat on Oct 18
  • Has a dog called Biscuit

    Chat on Sep 12

Preferences · 3

  • Prefers metric units and 24 hour times

    Settings chat, Oct 9
  • Likes answers as short bullet lists, no emoji

    Chat on Nov 11
  • Writes code samples in TypeScript

    Chat on Sep 30

Projects · 2

  • Redesigning the checkout flow, launch planned for March

    Chat on Nov 14
  • Keeps a reading list of design systems books

    Chat on Oct 3

People · 2

  • Priya is their manager and reviews every Friday

    Chat on Nov 6
  • Tomás handles front-end for the checkout redesign

    Chat on Nov 14
Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Full

Near capacity, Preferences only (Oxyn extra).

Memory

What the assistant remembers about you

88% full
Saved memories

Remember details across chats

Chat history

Use past chats when answering

Preferences · 6

  • Prefers metric units and 24 hour times

    Settings chat, Oct 9
  • Likes answers as short bullet lists, no emoji

    Chat on Nov 11
  • Writes code samples in TypeScript

    Chat on Sep 30
  • Uses a split keyboard

    Chat on Nov 19
  • Drinks oat flat whites

    Chat on Nov 19
  • Runs on Sunday mornings

    Chat on Nov 19
Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Paused

Saved memories off (Oxyn extra).

Memory

What the assistant remembers about you

63% full
Saved memories

Remember details across chats

Chat history

Use past chats when answering

Saved memories are off. The assistant keeps what is here but saves nothing new.

About you · 3

  • Works as a product designer on a payments team

    Chat on Nov 2
  • Lives in Lisbon and works on Western European Time

    Chat on Oct 18
  • Has a dog called Biscuit

    Chat on Sep 12

Preferences · 3

  • Prefers metric units and 24 hour times

    Settings chat, Oct 9
  • Likes answers as short bullet lists, no emoji

    Chat on Nov 11
  • Writes code samples in TypeScript

    Chat on Sep 30

Projects · 2

  • Redesigning the checkout flow, launch planned for March

    Chat on Nov 14
  • Keeps a reading list of design systems books

    Chat on Oct 3

People · 2

  • Priya is their manager and reviews every Friday

    Chat on Nov 6
  • Tomás handles front-end for the checkout redesign

    Chat on Nov 14
Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

API reference

AssistantMemory

PropTypeDefaultDescription
nowrequiredClockMs—Host clock.
fullboolDefault::default()Start near capacity (meter warning).
pausedboolDefault::default()Start with saved memories off.
filterusizeDefault::default()Starting filter (0 All, then each group).

Read from the Rust signature and doc comments.

Keyboard interactions

KeyAction
←or→orHomeorEndMove between the filter pills
EnterSave an edit, or add a typed memory; Shift+Enter adds a line while editing
EscCancel an edit, or close the search

Accessibility

  • Groups are labelled with their counts; the meter reads its fullness as text and warns with an icon.
  • The pencil and bin buttons carry the memory's text in their names; on touch devices they never hide.
  • Filing, adding (with its keyword guess), saving, forgetting with its undo window and restoring are announced.
From the spec

A level two heading; each group is a labelled group with a level three heading and its count; switches are named by their titles; the meter is a meter with a text value; filter pills are toggle buttons with roving arrow keys; Edit and Forget name their memory. Every action returns the line the polite live region announces. The focus outline shows only for keyboard focus.

Motion & interaction

A filed or added memory glows for 1.6 s; row actions fade in on hover or focus in reserved space so text never shifts; the undo countdown ticks each second.

Timing

Everything on screen is derived from the host clock now (no timers in the block), so playback, tests and the GPUI view agree.

TransitionDurationEasing
Highlight1,600 ms (GLOW_MS)ease-out
Undo window6,000 ms (UNDO_MS)—

Reduced motion: fades, shimmer and count-ups stop; every state keeps its words and icons.

Responsive behaviour

  • Up to 640 px; the list scrolls inside a fixed height; below 440 px the pills scroll sideways and the inset tightens.
Edge cases (spec)

Up to 640 px. The list scrolls inside a 380 px area. Below 520 px of block width the switches stack and sources hide; below 440 px the meter takes the full width. Row actions stay visible on touch screens. Layout follows the block's own width (container queries), never the viewport. Checked at 1440, 768 and 390 px in light and dark with no text overlap. Chrome is monochrome grey; colour is semantic only (success, warning, danger, info) plus data series and the official coloured brand and model marks.

Notes for AI

  • Import AssistantMemory from oxyn_dioxus and include STATUS_INDICATOR_CSS plus the token stylesheet once.
  • A GPUI version exists: BlocksView in oxyn_gpui.
  • Props to set first: now.
  • It reads a clock (now) for live timers; pass one clock for the whole page rather than one per component.
  • Keep its states and timings as they ship; restyle it through the CSS variables rather than by hand.

Guides

Oxyn · 74 free components · 264 Pro components · 96 screens · 20 blocks · Dioxus and GPUI