Thread memory for AI agents
Project description
threadmem
Chat thread memory for AI agents
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Threadmem enables robust chat experiences with AI agents. It offers a Python backend for managing thread state as well as a React chat interface.
We support Agentscript for beautiful UI experiences.
Backend
Installation
pip install threadmem
Usage
Role Threads
Create a role based thread
from threadmem import Thread
thread = Thread()
thread.post("user", "Hello, Thread!")
# output in openai chat schema format
print(thread.to_oai())
Frontend
Installation
npm i @agentsea/threadmem
Develop
To test
make test
To publish
make publish
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
threadmem-0.2.4.tar.gz
(14.0 kB
view details)
Built Distribution
threadmem-0.2.4-py3-none-any.whl
(17.4 kB
view details)
File details
Details for the file threadmem-0.2.4.tar.gz
.
File metadata
- Download URL: threadmem-0.2.4.tar.gz
- Upload date:
- Size: 14.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.10.1 Darwin/22.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e74f304a9b7dd6e3e38c9951a6be6272ead5e5f070c5a72eb4ea997a8e117180 |
|
MD5 | 5635c85d1b2fa67fe77b46c21125272b |
|
BLAKE2b-256 | fc9631de43481ea4f154f89e8842c3cd093280b14562f0cb92ced574644da84f |
File details
Details for the file threadmem-0.2.4-py3-none-any.whl
.
File metadata
- Download URL: threadmem-0.2.4-py3-none-any.whl
- Upload date:
- Size: 17.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.10.1 Darwin/22.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 676cb673246117a26a50a860688ea602f63b818faa230d81f9f3f6730c8bea21 |
|
MD5 | 5b625dcf92e4057bac604da7c9300907 |
|
BLAKE2b-256 | 2f3b77cb372a2542f9698205fae20451142d0d480620e448e4cd26d1a7e90b39 |