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

Uploaded Source

Built Distribution

threadmem-0.2.3-py3-none-any.whl (17.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: threadmem-0.2.3.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

Hashes for threadmem-0.2.3.tar.gz
Algorithm Hash digest
SHA256 96b86908adbbfee85fe9f030e77a3ee3120a8198511a50b8c6ca0d5c78997460
MD5 12fc69342431f05f80f6c9faf32016c2
BLAKE2b-256 b8d31a3b1a43b2a697f4d79bfa58545f1cd3a64e17ba27313196ef29b8ec3e09

See more details on using hashes here.

File details

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

File metadata

  • Download URL: threadmem-0.2.3-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

Hashes for threadmem-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 19a2fb467d92f5524ec237072c73541dd76a782beb82df795d9ca17f7210da1f
MD5 6f4f9e6b74d033d4c41d4da1e2eacd14
BLAKE2b-256 087f700ee550b3c52c25e5abd47b2622b4f2912afb77b159fcbd33670bc1e82c

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