Portable, cross-vendor AI memory in .fafm — offline-first SDK; connect a free namepoint for full intel.
Project description
claude-fafm-sdk
Home: faf.one/memory
Portable, cross-vendor AI memory in .fafm. Give an AI agent memory that
versions with your project and moves between models — instead of being locked to
one vendor.
Offline-first: the local Soul works with no account. Connect a free
namepoint for the full intel (semantic recall, smart-merge) at personal scale.
Two profiles, one
.fafmformat. This is the knowledge profile (typed, cross-linked agent memory). For the voice profile — the Voice Memory Layer — see grok-faf-voice.
Install
uv add claude-fafm-sdk # in a project (recommended)
pip3 install claude-fafm-sdk # also works
30 seconds
New here? One guided command takes you soul → live → cross-vendor:
uvx claude-fafm-sdk quickstart # 🧬 guided first-run (the 30-second wow)
Or drive it yourself:
uvx claude-fafm-sdk init # 🧬 create a portable soul
claude-fafm-sdk etch "ships uv-first" # write a memory
claude-fafm-sdk recall uv # recall it (filters: --tag --type --priority)
claude-fafm-sdk ls # list every fact, ranked
claude-fafm-sdk forget install # delete a fact by id
Five commands — init, etch, recall, ls, forget. Run claude-fafm-sdk --help (or <cmd> --help) for the full surface.
Hand soul.fafm to grok-faf-voice and it reads it — same format, no fork.
Quickstart
from claude_fafm_sdk import Soul
soul = Soul("@me")
soul.etch("ships uv-first", id="install", type="reference", priority="high")
soul.etch("portable across vendors", id="why", type="project")
soul.save("me.fafm") # → application/vnd.fafm+yaml
# later, anywhere:
soul = Soul.load("me.fafm")
soul.recall("uv") # deterministic recall, ranked by priority + recency
That's the whole offline loop — no account, no server.
More in examples/ — portability + a real cross-vendor roundtrip
(SDK writes .fafm, grok-faf-voice reads it back).
Go cross-vendor (a namepoint)
A namepoint is your soul's live address — mcpaas.live/<handle> — readable by
Grok and any model. Zero-config: just push. With no setup, the first push
auto-provisions an anonymous namepoint and saves it locally — no claim page, no key
to copy.
uv add "claude-fafm-sdk[namepoint]" # hosted ops use the family MCP client
claude-fafm-sdk namepoint push # → live at mcpaas.live/anon… (auto-provisioned)
claude-fafm-sdk namepoint pull # merge your hosted soul back (public read)
claude-fafm-sdk namepoint sync # reconcile both ways
A-for-first-touch, B-for-keepers. The anonymous namepoint is session-like — lose this machine and it orphans (a reminder of the statelessness memory cures). Make it permanent + recoverable:
claude-fafm-sdk namepoint claim --email you@example.com # a named, recoverable namepoint
claude-fafm-sdk namepoint status # what you've got
The whole .fafm document is stored at the namepoint, so ids, types, and
priorities survive the round-trip — structured memory, not prose. Reads are public
(no key); writes use the key auto-provisioning hands you. The local Soul still
works fully offline, no account.
Programmatic access mirrors the CLI:
from claude_fafm_sdk import Namepoint, Soul, provision_anonymous
soul = Soul.load("soul.fafm")
ident = provision_anonymous() # {namepoint, key}, zero-config
await Namepoint(ident.namepoint, api_key=ident.api_key).replace(soul.to_yaml())
body = await Namepoint(ident.namepoint).pull() # reads are public — no key
Why
AI memory is vendor-locked. .fafm is the open, portable format — and this SDK
is the open, offline-first way to use it. Souls written here interop with the
fafm-engine and grok-faf-voice implementations: one format, never a fork.
Citation
If you use claude-fafm-sdk or the .fafm format in research or production, please cite the format paper:
Wolfe, J. (2026). Permanent Memory and Instant Recall: The .fafm Standard for Multi-Profile AI Agent Memory. Zenodo. https://doi.org/10.5281/zenodo.20348942
BibTeX
@article{wolfe2026fafm,
title = {Permanent Memory and Instant Recall: The .fafm Standard for Multi-Profile AI Agent Memory},
author = {Wolfe, James},
year = {2026},
month = {may},
publisher = {Zenodo},
doi = {10.5281/zenodo.20348942},
url = {https://doi.org/10.5281/zenodo.20348942}
}
License
MIT. The format is open (spec); the SDK is open; the at-scale intel + hosting is the paid tier.
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
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 claude_fafm_sdk-0.4.0.tar.gz.
File metadata
- Download URL: claude_fafm_sdk-0.4.0.tar.gz
- Upload date:
- Size: 32.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
00c7758e0c1ff5c13b479e8b31a7f67ddedb9dac82f9c545d8efb06a0ff7c12d
|
|
| MD5 |
33584d0b544cad3ad8cd8140c01238f9
|
|
| BLAKE2b-256 |
8fc5c75dde862ec10720565bba44e614b66f7bcb7021678e3912db851c9f4558
|
Provenance
The following attestation bundles were made for claude_fafm_sdk-0.4.0.tar.gz:
Publisher:
pypi.yml on Wolfe-Jam/claude-fafm-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
claude_fafm_sdk-0.4.0.tar.gz -
Subject digest:
00c7758e0c1ff5c13b479e8b31a7f67ddedb9dac82f9c545d8efb06a0ff7c12d - Sigstore transparency entry: 1634408414
- Sigstore integration time:
-
Permalink:
Wolfe-Jam/claude-fafm-sdk@de7e732986ffbe330ba6375647114249701c0cfc -
Branch / Tag:
refs/tags/v0.4.0 - Owner: https://github.com/Wolfe-Jam
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@de7e732986ffbe330ba6375647114249701c0cfc -
Trigger Event:
release
-
Statement type:
File details
Details for the file claude_fafm_sdk-0.4.0-py3-none-any.whl.
File metadata
- Download URL: claude_fafm_sdk-0.4.0-py3-none-any.whl
- Upload date:
- Size: 19.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d3c6474dcdbe9cd5d6579d1ef0fb40ca7c82c19b74c420599d38cd24e2e854b5
|
|
| MD5 |
31ae12080da1463b8064d38b296598cb
|
|
| BLAKE2b-256 |
5c3fd8d564c825074760bf5562f96b1b68d240f056beab628dd470d7b859cc35
|
Provenance
The following attestation bundles were made for claude_fafm_sdk-0.4.0-py3-none-any.whl:
Publisher:
pypi.yml on Wolfe-Jam/claude-fafm-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
claude_fafm_sdk-0.4.0-py3-none-any.whl -
Subject digest:
d3c6474dcdbe9cd5d6579d1ef0fb40ca7c82c19b74c420599d38cd24e2e854b5 - Sigstore transparency entry: 1634408450
- Sigstore integration time:
-
Permalink:
Wolfe-Jam/claude-fafm-sdk@de7e732986ffbe330ba6375647114249701c0cfc -
Branch / Tag:
refs/tags/v0.4.0 - Owner: https://github.com/Wolfe-Jam
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@de7e732986ffbe330ba6375647114249701c0cfc -
Trigger Event:
release
-
Statement type: