This release is a pre-release and may not be stable for production use.
Antfly memory for LangGraph
Persistent, namespaced long-term memory for LangGraph agents using Antfly. Supports sync/async operations, namespace enumeration, filtering and optional semantic search. Python 3.11 or newer. Apache-2.0 licensed.
Release candidate: 0.1.0rc1. Uses the matching langchain-antfly candidate
and published antfly-sdk>=0.2.1. Antfly 0.3.0-rc.5 is the tested server
baseline. See the server setup.
Install
pip install langgraph-store-antfly==0.1.0rc1
This installs the Python adapters and their dependencies. It does not install or start the Antfly server. Plain key/value memory needs no embedding model.
Remember a preference
import os
from antfly import AntflyClient
from langgraph_store_antfly import AntflyStore
with AntflyClient(
base_url=os.environ["ANTFLY_URL"], token=os.getenv("ANTFLY_TOKEN")
) as client:
# Create once for this example; on later runs, attach instead.
store = AntflyStore.create(client=client, table="agent_preferences")
store.put(("users", "alice"), "drink", {"value": "tea"})
# A new instance reads the same persisted records.
attached = AntflyStore(client=client, table="agent_preferences")
print(attached.get(("users", "alice"), "drink").value)
assert attached.get(("users", "bob"), "drink") is None
For cleanup, drop the example's dedicated table with
client.drop_table("agent_preferences") inside the client context. Select
namespaces from trusted application identity; namespaces separate records but
do not replace server authorization. Client lifetimes belong to the caller.
Use inside an agent
Pass the store to LangChain's create_agent(store=...) and access it in tools
through ToolRuntime.store. The
two-user agent example
demonstrates that composition with trusted user context and sync/async execution.
Install the example's LangChain and chat-provider dependencies separately.
See the memory recipes for semantic indexing, search, and async operations, and the validation report for tested versions and restart/isolation evidence.
This is long-term memory storage. It does not implement a LangGraph execution checkpointer or per-item TTL.
Metadata
Release files for langgraph-store-antfly 0.1.0rc1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| langgraph_store_antfly-0.1.0rc1.tar.gz | 12.8 kB | With provenance | Details for langgraph_store_antfly-0.1.0rc1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| langgraph_store_antfly-0.1.0rc1-py3-none-any.whl | Python 3 | none | any | Details for langgraph_store_antfly-0.1.0rc1-py3-none-any.whl |
Total release size: 26.7 kB
Release files / langgraph_store_antfly-0.1.0rc1.tar.gz
| Download URL | langgraph_store_antfly-0.1.0rc1.tar.gz |
|---|---|
| Size | 12.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aa79b14ee9ff02f5580951a3f03ef52739c664dbcdf1c316b56ebeccbfe61555
|
|
BLAKE2b-256 checksum How to use checksums |
b81e7c227099a21a92b0ae29e6f96775e3f5254f6d2d4d0714e02ec696df0d2c
|
| 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 Oct 28, 2026.
Transparency logRelease files / langgraph_store_antfly-0.1.0rc1-py3-none-any.whl
| Download URL | langgraph_store_antfly-0.1.0rc1-py3-none-any.whl |
|---|---|
| Size | 14.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cf2eb2e3e492d56ee372e61c8936e17e5fa71313c8df3f1bb74ce3c4b7589b23
|
|
BLAKE2b-256 checksum How to use checksums |
5e29b94e8174f3358c5451417e0de74269fe807ab86c4acd6151af346314456c
|
| 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 Oct 28, 2026.
Transparency logSecurity for langgraph-store-antfly 0.1.0rc1
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for langgraph_store_antfly-0.1.0rc1.tar.gz
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 Oct 28, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.