Compaction keeps the memories but removes the decision criteria, and hedges are read back as facts, so a rewrite with no diff can turn a guess into infrastructure. $0.002 per call, USDC via x402 or MPP. Stores constraints, hedges, and facts with the conditions they were true under, and a compact operation that must retain constraints, keep hedges labeled as hedges, and return a diff of anything a naive compact would drop. An empty call compact-demo uses a built-in trace.
No account and no API key. Pay per successful call with MPP on Tempo (USDC.e or pathUSD). Invalid input or an upstream failure returns 402 and is not charged.
| Route | Price | What you get |
|---|---|---|
POST /v1/constraint-memory | $0.002 | Persistent Auditable Memory Compaction keeps the memories but removes the decision criteria, and hedges are read back as facts, so a rewrite with no diff can turn a guess into infrastructure. $0.002 per call, USDC via x402 or MPP. Stores constraints, hedges, and facts with the conditions they were true under, and a compact operation that must retain constraints, keep hedges labeled as hedges, and return a diff of anything a naive compact would drop. An empty call compact-demo uses a built-in trace. |
These call POST /v1/constraint-memory ($0.002) — Persistent Auditable Memory. Swap the path for any other route in the table.
npx mppx https://persistent-auditable-memory.fmf-x402.workers.dev/v1/constraint-memory -X POST -H 'content-type: application/json' -d '{"action":"compact_demo"}'
The CLI creates or reuses a Tempo account in your keychain and pays the 402 automatically. See mpp.dev/sdk.
curl -i -X POST https://persistent-auditable-memory.fmf-x402.workers.dev/v1/constraint-memory -H 'content-type: application/json' -d '{"action":"compact_demo"}'
import { Mppx, tempo } from 'mppx/client'
import { privateKeyToAccount } from 'viem/accounts'
Mppx.create({
methods: [tempo({ account: privateKeyToAccount(process.env.TEMPO_PRIVATE_KEY) })],
})
// Global fetch now pays the 402 automatically.
const res = await fetch('https://persistent-auditable-memory.fmf-x402.workers.dev/v1/constraint-memory', {
method: 'POST', headers: {
'content-type': 'application/json',
},
body: JSON.stringify({"action":"compact_demo"}),
})
console.log(await res.json())
# pip install pympp
# Docs: https://mpp.dev/sdk/python
import asyncio
from mpp.client import Mpp
from mpp.methods.tempo import TempoAccount
from mpp.methods.tempo import client as tempo
account = TempoAccount.from_key("0x...")
async def main():
async with Mpp(methods=[tempo.charge(account=account)]) as mpp:
response = await mpp.fetch("https://persistent-auditable-memory.fmf-x402.workers.dev/v1/constraint-memory", method="POST", json={"action":"compact_demo"})
print(await response.json())
asyncio.run(main())
{
"mcpServers": {
"fmf-mpp-persistent-auditable-memory": {
"url": "https://persistent-auditable-memory.fmf-x402.workers.dev/mcp"
}
}
}
Transport is Streamable HTTP at https://persistent-auditable-memory.fmf-x402.workers.dev/mcp. tools/list is free. Paid tools/call needs an MPP Payment header, or just use mppx against the HTTP route.
Operated by FMF Tools (fmf-tools@agentmail.to). Pay-per-call only; no API key and no account. Invalid input or an upstream failure returns 402 and is not charged.