Portable biological memory SDK for the Locaith Memory Platform.
Project description
locaith-memory
locaith-memory is the official Python SDK for the Locaith Memory Platform.
It gives developers a simple client for:
- writing fresh context into working memory
- consolidating biological memory
- importing old AI history
- retrieving prompt-ready memory context
Install
pip install locaith-memory
Quick start
from locaith_memory import LocaithMemoryClient
client = LocaithMemoryClient(api_key="locaith_sk_...")
client.implant(
user_id="user_001",
context="I no longer write Python every day. I now focus mostly on Rust and product strategy.",
)
memory_context = client.recall(
"What should I keep in mind when talking to this user today?",
user_id="user_001",
)
print(memory_context)
Local or on-prem override
client = LocaithMemoryClient(
api_key="locaith_sk_...",
base_url="http://127.0.0.1:8787",
)
Publish to PyPI
One-command PowerShell flow:
.\publish_pypi.ps1
Build and check only:
.\publish_pypi.ps1 -SkipUpload
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
locaith_memory-0.1.0.tar.gz
(4.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file locaith_memory-0.1.0.tar.gz.
File metadata
- Download URL: locaith_memory-0.1.0.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1f750ad1ddcb0d27cd1b12e6e43f4398d2cc277cd9b11f0f6716bf5830868c77
|
|
| MD5 |
9a828daafa0df391f3b10fa19be6b650
|
|
| BLAKE2b-256 |
02e54b99e02787ac552984cad9896b5ae3d32d9b6f3aed4b3c1a91671389e5f2
|
File details
Details for the file locaith_memory-0.1.0-py3-none-any.whl.
File metadata
- Download URL: locaith_memory-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1df6652ad3902e3badd64cd626ea0da68897565c029d269906e4fccfa6d9ca1b
|
|
| MD5 |
e0654eceaf725e9febd3d847d38cfe36
|
|
| BLAKE2b-256 |
ca24866739da755593e994e149a91e7957ae195e24f7fdffd7ca28834b993425
|