Skip to main content

Python client for Pliamem - Unified memory recall for AI agents

Project description

Pliamem Python Client

Official Python SDK for Pliamem, the unified memory microservice for AI agents.

Installation

pip install pliamem

Quick Start

Make sure your Pliamem Node.js server is running (node src/server.js).

from pliamem import PliamemClient

client = PliamemClient(base_url="http://127.0.0.1:3000")

# Ask a direct question synthesized from memory
response = client.ask("What is the ZTB Protocol?")
print(response["answer"])

# Search across all memory layers
results = client.search("ZTB Protocol", top=3)
for res in results:
    print(f"[{res['layer']}] {res.get('excerpt', '')[:50]}...")

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

pliamem-1.0.0.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pliamem-1.0.0-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file pliamem-1.0.0.tar.gz.

File metadata

  • Download URL: pliamem-1.0.0.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for pliamem-1.0.0.tar.gz
Algorithm Hash digest
SHA256 b5135faa389669142f7f3e61ffadf4f066f9ed67f56636456ac729111e652d00
MD5 7b3bcea18eaadd5052bcbdf117b72cc5
BLAKE2b-256 464a98e53c5627bc051f8b2a5b9576c2c70585f60e7008bccef55a2840474cf8

See more details on using hashes here.

File details

Details for the file pliamem-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: pliamem-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for pliamem-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 68171cc5d6afc77c181777196458888b4726d936822e7721cf789760cfd93764
MD5 9bf8f45dc4740b144fd3eec226b1fbab
BLAKE2b-256 c5578a44b44e8a9167322af38c70af5da2cd345a43504b096da4ee03857cbb58

See more details on using hashes here.

Supported by

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