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 MTB Protocol?")
print(response["answer"])

# Search across all memory layers
results = client.search("MTB 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.1.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.1-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pliamem-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 c390483868b9a80358a4b21363e50b0ba03fe4f15577637d61f6dd3c93338445
MD5 7312b008f1e5a8a65247da4c34443725
BLAKE2b-256 8735eb559333d44aaa1b7551c653d22c0897dcbd960e0c106cdc83380ba3a5a2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pliamem-1.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 269959a93132ce7cb302134ba52f70155c539d27b9f77cf575ec1f3d3b4d1510
MD5 2e76e745e83403caf785b138e7a2a7c4
BLAKE2b-256 d5c74bcc52fc100239d2cfeae117f8017a9ae8ac608f5cb1440c01d5c62c2417

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