Catalog PyPI
PACKAGE EXPLORERView in registry

acta-sdk

PyPI

Python client for the Acta verifiable-memory REST API

Versions collected1
Direct dependencies2From release 1.0.0rc1
Last observed20 Oct, 18:29 UTC

README

Version 1.0.0rc1 documentation

acta-sdk

Python client for Acta — verifiable, structured, portable agent memory built on a signed, per-tenant ledger. Stdlib-only (no required runtime dependencies); optional Ed25519 signing and a LangChain retriever.

Install

pip install acta-sdk
# optional extras:
pip install "acta-sdk[sign]"       # faster Ed25519 via `cryptography`
pip install "acta-sdk[langchain]"  # LangChain retriever adapter

Quickstart

from acta_sdk import ActaClient

o = ActaClient("http://127.0.0.1:8088", tenant="t1")
o.write_intent(owner="u1", goal="keep acme renewal on track",
               scope=["business"], priority=95)

bundle = o.read_context(task="draft acme renewal email", scope=["business"])
# bundle carries a state_root + aea_id — proof of exactly what context was used

With authentication enabled on the server, pass the account API key (the tenant is then taken from the key):

o = ActaClient("https://acta.example.com", api_key="acta_sk_…")

Signed writes (client-held trust root)

Construct with a signing key so each write is Ed25519-signed by your key, and bind it to your account so the server enforces it:

o = ActaClient(url, api_key="acta_sk_…", signing_key=my_seed)
o.set_authorship_key(o.authorship_public_hex)

LangChain

from acta_sdk.langchain import acta_retriever
retriever = acta_retriever(o, scope=["business"])
docs = retriever.invoke("draft the acme renewal email")
# each Document carries the bundle's aea_id + state_root, so retrieval stays auditable

License

MIT OR Apache-2.0

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
1.0.0rc19 Jul 20262

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 18:29 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:79815dabfa5eb5ca9b0924a96361fd08e04b51bf68122a9cef7fffb49cc8e366