Levia
LeviaProtocol
LeviaProtocol
  • Introduction
  • Architectural Philosophy
  • Core Architecture
  • Core Concepts
    • Metacognition
      • Metacognition Strategies
      • Metacognition States
      • Metacognition Stream
    • Memory Management
      • Episodic memory
      • Factual memory
      • Key & Secrets Vault
      • Short-term memory
      • External memory
    • Neural Network of Tools
    • Agent Identity
  • Building on Levia
    • Quickstart
    • How to Contribute Tools
  • Tokenomics
    • Token Distribution
Powered by GitBook
On this page
  1. Core Concepts
  2. Memory Management

Short-term memory

Short-term Memory holds transient information that is relevant within a short period. This type of memory is time-sensitive and will naturally decay based on a time-weighting mechanism. Older or less relevant memories are eventually discarded or archived, but they are never fully erased unless explicitly instructed. Short-term memory is stored with timestamps in a general-purpose database and is indexed for efficient decay management.

Short-term Memory Contents

  • User conversation context and chat history

  • Recent tasks and activities performed by the system

  • User preferences and interaction patterns

  • Active jobs and ongoing processes

  • Temporary system states and configurations

Decay and Time-Weighted Memory For Short-Term Memory, the decay mechanism ensures efficient management of recent user interactions and preferences. The time-weighting mechanism:

  • Prioritizes recent interactions and preferences

  • Gradually reduces relevance of older context

  • Archives less-accessed but potentially important user preferences

  • Maintains active job states until completion

  • Preserves critical user context for ongoing interactions

PreviousKey & Secrets VaultNextExternal memory

Last updated 3 months ago