Skip to main content

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


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.2.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

threadmem-0.2.2-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file threadmem-0.2.2.tar.gz.

File metadata

  • Download URL: threadmem-0.2.2.tar.gz
  • Upload date:
  • Size: 5.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

Hashes for threadmem-0.2.2.tar.gz
Algorithm Hash digest
SHA256 f6d49a27b63b0c6974e2f9deba182bc98ae30b542e6fd277b6b09e1a0b671667
MD5 9fa84e57b3c752f1a508af5068fa4280
BLAKE2b-256 a9689826d0446be85cf3fe479daf74bad684ef6ce905638d1157491adac7a2bd

See more details on using hashes here.

File details

Details for the file threadmem-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: threadmem-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 6.3 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

Hashes for threadmem-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c80e86f6c25479a84f9987bc6e721fc419677927931720477126d65199c6e20c
MD5 f6cd8fabf478c501db39fc6ade7189c1
BLAKE2b-256 c0aa9bfe398c782629a131291f4f70890894f86fca656c53cabfb24620bc658c

See more details on using hashes here.

Supported by

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