CyaniModel · Technical editorial

Personal Agent Memory Architecture: The Creative Database

How personal AI agent memory should organize evidence, story canon, character state, procedural playbooks, user corrections and portable creative context.

LlamaGen Editorial TeamResearch, definitions and evaluation methods

Evidence boundary: This article distinguishes established research, LlamaGen's existing creative workflows and proposed agent architecture. It does not announce an autonomous Personal Agent product or a newly trained Cyani foundation model.

Original fictional CyaniModel anime-film scene used to illustrate visual storytelling; not a model benchmark
Original presentation artwork generated with Google Vertex AI / Nano Banana 2.1 on October 28, 2026. Not a CyaniModel benchmark output, customer case or demonstration of a deployed Personal Agent.

A personal agent memory architecture is a permissioned system for storing, reconciling and retrieving the information an AI agent needs across tasks and sessions. It must distinguish observed evidence, authoritative facts, working state and learned procedures. In creative production, it also needs to preserve the boundary between a fictional story's canon and the human creator's real preferences.

Quick answer: A good memory system remembers what was decided, why it was decided, which version is current and how the next agent may use it. A single giant prompt, character-description paragraph or transcript archive is not enough.

Four layers of a creative personal database

LayerTypical recordRole in the next task
EvidenceOriginal manuscript, approved image, edit event, timestamp and sourceWhat actually happened
Canonical story memoryCharacter identity, relationships, timeline, world rules, current scene stateWhat must remain coherent
Procedural playbookStoryboard review order, production preferences, publisher checksHow this creator usually works
Feedback and outcomesAccepted/rejected draft, localized repair, published exportWhether the method delivered

A semantic search index can support retrieval, but the authoritative record should live in a structured, versioned source that the creator can inspect and correct. Embeddings and summaries are useful derived representations; they must not silently replace the original evidence.

The data model: identity is not scene state

Consider a recurring character. Some attributes define their durable identity, such as face structure, distinctive hairstyle and name. Others change legitimately between scenes: outfit, injury, location, relationship status or held props.

An implementable design separates at least these records:

RecordExampleUpdate rule
Character identityBotanist Mira, short dark curls, distinctive faceChange only with explicit approval and a source
Appearance stateTeal jacket removed after the greenhouse sceneVersion by chapter, time and scene
Reference assetApproved front/side character sheetPreserve immutable asset ID and revision
Story eventMira leaves the scarf on the benchLink to manuscript passage and approved storyboard
Production ruleKeep speech balloons editableTreat as project/playbook constraint, not character canon
User preferencePrefers restrained camera movesInfer cautiously; allow correction and expiry

Without this separation, a model might incorrectly "fix" a deliberate costume change or carry a temporary prop into an unrelated chapter.

The agent memory lifecycle

Capture with source fidelity

A memory item records its source type, project scope, event time, content hash or stable asset ID, and whether the creator explicitly approved it. Conversation text and generated imagery should not become canon merely because they exist.

Extract candidates, not conclusions

An AI model may suggest that two references depict the same character or that a certain framing preference has recurred. Those suggestions should remain provisional until evidence or confirmation supports them. When ambiguity matters, the agent should ask rather than silently promote a guess to fact.

Resolve conflicts and superseded details

A new canon revision can supersede an earlier detail, while a separate draft or alternate universe remains valid within its own branch. Corrections must be recorded with reason and scope; deletion should make the invalid fact unavailable to later retrieval.

Retrieve by task intent

For a close-up, facial references may matter more than a full-body pose. For a long shot, silhouette and costume shape can dominate. For dialogue lettering, source text and speaker attribution may matter more than pixel similarity. Retrieve the smallest context packet that answers the current task.

Verify outcomes and update selectively

Compare the generated artifact against the requested scene, approved identities, correct cast count, source dialogue and intended output format. Store the decision and failure class, not merely a model's enthusiastic self-rating.

An example context packet for a comic panel

FieldExample contentProvenance
Project and sceneGreenhouse, chapter 4, panel 2Storyboard revision
Required castMira and one mint robotApproved scene plan
Stable identityMira's approved reference sheetCharacter asset ID
Current stateNo coral scarf in this sceneAccepted prior panel
ActionRobot lifts the terracotta potManuscript passage
CameraMedium shot, right-to-left interactionStoryboard decision
Forbidden driftDo not add a third character or textUser-approved brief

This is a proposed architecture illustration. It does not imply that LlamaGen already exposes a universal persistent context-packet API.

Memory governance is part of the technical design

A personal database should answer who owns the data, which project or agent can read it, how long it persists and what happens when someone corrects or deletes it. A cross-project search must not turn a private client's character reference into another customer's prompt.

Minimum controls: per-project authorization, explicit sharing grants, provenance, immutable revisions, revocation, selective deletion, user-visible corrections and export. A user-controlled collection of context is only portable when it can be exported in a documented, usable format without hidden dependencies.

DeepStory, CyaniModel and the memory boundary

In LlamaGen's architectural direction, DeepStory would own persistent narrative context and canonical facts. CyaniModel would use the relevant visual references and constraints to support creation or inspection. An Agent Loop would carry task state through generation and review, while feedback learning would distinguish accepted panels from discarded attempts.

Do not collapse these into one catch-all term. Visual generation is not the database; task orchestration is not the visual model; and retrieving a preferred style is not evidence that the result improved.

For the visual side, see consistent character comics and comic storyboard generation. For the broader agent definition, see What Is a Personal AI Agent?.

The memory evaluation protocol

A serious test should use the same fixed story, character references and source excerpts for all compared approaches. Compare a baseline with no memory, a long-context transcript baseline, a summary-only baseline, and a versioned evidence-backed memory baseline.

Measure:

  1. Fact freshness: Did the system avoid superseded wardrobe and relationship states?
  2. Attribution: Can the correct source be retrieved for each consequential claim?
  3. Identity continuity: Do the same characters remain recognizable across perspective changes?
  4. Error containment: Does a local repair preserve already accepted neighboring content?
  5. Creator effort: How much work was needed to reach the accepted page?
  6. Privacy boundary: Can the system prevent unauthorized cross-project context retrieval?

Do not report a percentage advantage without actual test inputs, sample counts, evaluation rules and failures. A successful single demonstration is not a benchmark.

Is vector search enough for personal AI memory?

No. Vector search can find semantically similar material; it does not itself establish which fact is approved, current, or authorized for this project.

Should an agent remember every preference forever?

No. Some preferences are temporary, some are project-specific and some may be inferred incorrectly. Attach evidence, timestamps, confidence and correction controls to candidate preferences.

What is the relationship between story bible and personal database?

A story bible contains the fictional world's authorized facts. A personal database may also contain the creator's methods, preferences and project actions. These scopes must not be conflated.

Can I share a playbook without sharing my original manuscript?

That should be a design requirement of a permissioned system. Sharing reusable procedures and exposing private source materials are different permissions; this page does not claim that cross-agent sharing is already released.

Research references

Technical editorial framework, November 6, 2026. Architecture examples are proposals. No deployed personal-database product, independent Cyani foundation weights or measured performance gain is asserted.

Continue the Creative Intelligence series

Move from theory to an editable comic

Use today's LlamaGen comic tools to work with characters, storyboards and visual references. Experimental agent-memory architecture is described separately from available production features.

Create a comic