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-0.5.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-0.5.0-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pliamem-0.5.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-0.5.0.tar.gz
Algorithm Hash digest
SHA256 885f64bcb266dcfd983fa28b646e04c8677ddc25d0d223ef999558d184722a81
MD5 a8994618057ca1e74b6db9c7af882711
BLAKE2b-256 54b667dbe2b3b77459319ba40698ddb23913dffb193ba363c6899ff5ae481da9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pliamem-0.5.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-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e908a864d785ebe3410746acdc5a17fa8ae78bf6f8a14e859dcba57b8775799f
MD5 3761c63bc10a569608c6e5205d287cbf
BLAKE2b-256 d04e221309184db4995bebe1ce3a462f989611fb22f7aaa2ceb8491de6d358c7

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