Skip to main content

Time Decayed Knowledge Graph for AI memory systems

Project description

tdkg

tdkg (Temporal Decaying Knowledge Graph) is a lightweight Python library for building memory systems that evolve over time.

It is designed for applications where information should not just be stored, but reinforced through usage and forgotten naturally over time.

Think of it as a simple cognitive memory layer for AI systems, agents, or personal knowledge graphs.


🚀 Key Idea

Traditional storage systems treat all data equally.

tdkg introduces a different model:

  • Frequently accessed information becomes stronger
  • Rarely accessed information decays over time
  • Memory behaves more like human cognition

🧠 Core Concept: Node

Each piece of information is stored as a Node:

  • Has content
  • Tracks access frequency
  • Tracks last access time
  • Has an evolving importance score

📦 Installation

pip install tdkg

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tdkg-0.1.2.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tdkg-0.1.2-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file tdkg-0.1.2.tar.gz.

File metadata

  • Download URL: tdkg-0.1.2.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.13

File hashes

Hashes for tdkg-0.1.2.tar.gz
Algorithm Hash digest
SHA256 cab2b33b78ee352d5ed17bb7cad66d75682cd503e1bf8725f9bb37962770ce73
MD5 59565194cc15f2f9efb39e60c8b2d7e3
BLAKE2b-256 a67767b2cd8a7af84bfb8901acd777c129ebc09076d3dc50c767d255cb4efe59

See more details on using hashes here.

File details

Details for the file tdkg-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: tdkg-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.13

File hashes

Hashes for tdkg-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6658cea718e09fd3eea2844f1f6de0b7d052e726031d0be94ef441f24fdddbb4
MD5 ee39055063e423bdc4e9cf6446dd146e
BLAKE2b-256 9562858d97affb634db3e59bdb9ae131249ee0b9b6b405f760a2390e9453816b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page