Skip to main content

Memokit

Memokit is a lightweight AI memory toolkit that helps AI applications manage medium-term memory.

Installation

Install from pypi:

pip install memokit

Or clone the repository:

git clone https://github.com/AmeNetwork/memokit.git
cd memokit
pip install -r requirements.txt

Usage

Memokit Space:
Custom memory spaces, different spaces are used to store different memories, and they will automatically classify and store your memories.

from memokit import Space 
space=Space()
# create space for sport 
space.create_space(uid="alice", space_name="sport", space_description="sport space")
# add memory to sport space 
space.add_memory(uid="alice", memory='I like playing football')

Full Example Here: space_example.py

Memokit Pool:
Memokit Pool is a shared memory pool that allows different users and agents to share the same pool, enabling memory sharing and management.

from memokit.pool import MemoryPool
pool = MemoryPool()

# create a memory pool for alice and bob
pool_id = pool.create_pool(["alice", "bob"])

# add memory to pool
pool.add_memory(
    pool_id=pool_id,
    memory="we will hold a meeting at 10am on Wednesday next week",
    uid="alice"
)

Full Example Here: pool_example.py

Metadata

Release files for memokit 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for memokit 0.0.2
File Size Uploaded
memokit-0.0.2.tar.gz 4.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for memokit 0.0.2
File Interpreter ABI Platform
memokit-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 9.7 kB

Release files / memokit-0.0.2.tar.gz

Download URL memokit-0.0.2.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
7360b2dc694ee1c445eab0624e8c21bbf73cf9cee195e542b707b89c87faa390
BLAKE2b-256 checksum
How to use checksums
2d46a18bc125b03805ed6ab427c6aa1e9223caabd314febb7c0ab06e98a6ef1f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release files / memokit-0.0.2-py3-none-any.whl

Download URL memokit-0.0.2-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c2fbf46fa550624d557c832ad8d5127edb4b4789ee78c12a1c3fcf3954c6fef8
BLAKE2b-256 checksum
How to use checksums
76047727093941117b546cf015bafa0d917556659040592816f6a5ba93a3758a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page