Skip to main content

polign-recall

A Python client for Recall's typed, correctable agent memory. Requires Python 3.10+ and polign CLI v0.6.4+ on PATH. No Python runtime dependencies.

pip install ./python
polign-server -store fs:./recall-data

In another terminal:

from polign_recall import Client

with Client() as memory:
    memory.remember("user", "prefers_editor", "vim")
    changed = memory.remember("user", "prefers_editor", "neovim")
    print(memory.recall("user", "prefers_editor")[0].value)  # neovim
    print(memory.history("user", "prefers_editor"))  # both statements
    memory.forget("user", "prefers_editor", "neovim")

The client owns a long-lived polign mcp -memory-only -write subprocess and shares the Go implementation's validation and fold. Set POLIGN_URL, POLIGN_API_KEY, and POLIGN_COLLECTION in the environment, or pass env={...} to Client. Use write=False for a read-only connection.

remember(text=..., statements=[...]) accepts proposals from your agent's model; the client does not run a second model. Every statement must have subject, predicate, typed value, and evidence quoting the text exactly. Read predicates() to build your extractor prompt. No separate extraction tool is required.

recall(..., as_of=...) accepts an RFC3339 string or timezone-aware datetime. forget requires a typed value or explicit all=True; false and zero remain values. Forgetting retracts a belief and retains its historical events.

Errors raise RecallError with a code and, for a failed extraction batch, any reported partial results. Calls are serialized, timeout after 120 seconds by default, and never automatically retry writes. A timeout closes the transport; inspect history using a new client before retrying an uncertain write.

Release files for polign-recall 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for polign-recall 0.2.0
File Size Uploaded
polign_recall-0.2.0.tar.gz 11.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for polign-recall 0.2.0
File Interpreter ABI Platform
polign_recall-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 21.8 kB

Release files / polign_recall-0.2.0.tar.gz

Download URL polign_recall-0.2.0.tar.gz
Size 11.3 kB
Tags Source
SHA-256 checksum
How to use checksums
4603af65c14af281f2ca5a75345499059ca19c48e464eaad6744f7ff7070ece2
BLAKE2b-256 checksum
How to use checksums
ce113ab2e68287597d5f259d32d88af8eae0fd538c008f61c5cd740944d7c078
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 20, 2026.

Transparency log

Release files / polign_recall-0.2.0-py3-none-any.whl

Download URL polign_recall-0.2.0-py3-none-any.whl
Size 10.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c0e818e8a0b4630de927c2aa1fdc79eb8dda419c5bcfc108aeaa381eedea562b
BLAKE2b-256 checksum
How to use checksums
f00c3334e70e5033bcf1361f8629c0aa5ae7740ab32584c15081cb2f91c3622a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 20, 2026.

Transparency log

Release history Release notifications | RSS feed

0.3.0

2 release files

This release

0.2.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page