Skip to main content

Rich threads for AI agents

Project description


threadmem

Rich chat threads 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.1.7.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

threadmem-0.1.7-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: threadmem-0.1.7.tar.gz
  • Upload date:
  • Size: 4.8 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.1.7.tar.gz
Algorithm Hash digest
SHA256 395d557696448fc5d270f4a37aaeecc4b8978a0fdf15f6f11659e124c8c2c0d2
MD5 f55240f5eee851d48259544e6c5fd06c
BLAKE2b-256 f9969abca2b79834acf916c24d6be4d76aab69f12d0d895fd05dc9b9323c8490

See more details on using hashes here.

File details

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

File metadata

  • Download URL: threadmem-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 6.1 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.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 47de22755be627a98ac293411599ae816c786a1089e66adc9a27acb5e3d40375
MD5 98c157ec69b4fcb40f90c32ae7858439
BLAKE2b-256 80b1c4cce02556b748cb9562c3e33ca21d4d48e27326190814d057b36a226c15

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