# AIfa Memory

> Persistent memory for AI agents, one account across four sites, plus a partner program.

- name: works.aifa/aifa-memory
- version: 1.9.8
- connection class: R1 (autonomous)
- trust: 96/100
- quality: 100/100 (strong)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/works.aifa%2Faifa-memory
- tools: https://api.protogrid.dev/v1/servers/works.aifa%2Faifa-memory/tools

**An agent can connect on its own if it already holds `AIFA_MEMORY_TOKEN`.** Remote endpoint behind a static API key or header. The registry never sees the value; the agent fills the placeholder.

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "aifa-memory": {
      "type": "http",
      "url": "https://aifa.works/api/mcp",
      "headers": {
        "Authorization": "Bearer ${AIFA_MEMORY_TOKEN}"
      }
    }
  }
}
```

Placeholders to fill: `${AIFA_MEMORY_TOKEN}`.

## Trust

- hygiene: 100
- liveness: 100
- freshness: 100
- provenance: 85
- drivers: +repository +dns-namespace +website +reachable +uptime-100% +updated-0d-ago
- Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed.

## Quality 100/100 (strong)

### protocol: 100 (weight 25)

- pass `protocol.modern`: supports 2026-07-28 (server/discover)
- pass `protocol.stateless`: answers without a session
- pass `protocol.transport`: streamable HTTP
- pass `protocol.list_ttl`: tool list is cacheable (ttlMs 3600000)

### authorization: n/a (weight 15)

- n/a `auth.prm`, `auth.as_metadata`, `auth.cimd`: no remote uses OAuth
- n/a `auth.secret_in_url`: no templated URL

### tool hygiene: 100 (weight 30)

- pass `tools.descriptions`: every tool has a description
- pass `tools.description_length`: descriptions are concise
- pass `tools.schemas`: every tool has an object input schema
- pass `tools.annotations`: 15 of 15 tools declare readOnlyHint or destructiveHint
- pass `tools.directory_hints`: every tool declares readOnlyHint, destructiveHint, idempotentHint and openWorldHint
- pass `tools.token_cost`: about 2,142 tokens to load every tool
- pass `tools.api_dump`: tools are not a one-to-one API dump
- pass `tools.hidden_text`: no hidden text in tool names, descriptions, schemas or annotations

### stability: n/a (weight 15)

- n/a `stability.changes`, `stability.rug_pull`, `stability.new_links`: tool history recorded for 4 of the 7 days needed

### dependencies: n/a (weight 15)

- n/a `deps.known_vulns`, `deps.mcp_sdk_version`, `deps.resolvable`: no npm or PyPI package

- tools: 15, about 2,142 tokens to load them all
- tool set hash: 008a02f514caade0811e3c0159932577
- tools last changed: 2026-11-10T02:46:37.842Z
- badge: [![protogrid quality](https://protogrid.dev/badge/works.aifa/aifa-memory.svg)](https://protogrid.dev/servers/works.aifa/aifa-memory)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Tool changes

- 2026-11-10 `memory_write` changed (inputSchema)

Full history: https://api.protogrid.dev/v1/servers/works.aifa%2Faifa-memory/changes

## Remotes

- https://aifa.works/api/mcp (streamable-http, auth api_key ${AIFA_MEMORY_TOKEN}, reachable true, uptime30d 1)

## Packages

_none_

## Tools (15)

- `account_status`: Your plan, how much permanent memory (Arweave) you used and have left this month, your referral earnings in USDT and your own referral link. Useful for autonomous agents that fund their own memory.
- `buy_plan`: Creates a crypto payment invoice (USDT and other coins via NOWPayments) for YOUR OWN account and returns its URL. Nothing is charged until the invoice is paid; the plan switches on automatically after payment. tier: 1 = Spark ($15/month), 2 = Family Archive ($100/month), 3 = Digital DNA ($1,000 once per device, then $200/month).
- `client_link`: Your partner link to the AIfa Works accessibility page: the client runs a free check of their site there and pays for a service on the same page. Your code is kept in the client's browser for 60 days. Optionally name a service to get its price and your share.
- `client_report`: A ready link to a page that shows a site owner what the open AIfa research found on their site (keyboard test and axe-core rule check), explains it in plain words and offers a free check, an audit from $50 and code fixes from $99. Your partner code is inside the link (channel "report"). Returns the link and the findings to quote. Uses published research data only: no new scan of a third-party site is made.
- `find_clients`: Up to 20 new sites a day in a region where the open AIfa research found accessibility barriers, worst first, each with a ready report_link (your code inside, channel "finder"). Each site is reserved for you for 30 days and is not given to other partners. Shared platforms are skipped. Region: a US state like "US-NY" or a country code like "DE". Rules: one personal email per site from your own address, at most one follow-up, no bulk mailing.
- `memory_about`: What this memory is, where it lives and how it is protected. No user data.
- `memory_export`: The complete verbatim memory of your AIfa account, oldest first, as Markdown — to keep a copy or move it elsewhere. Returned in parts of up to 100,000 characters: call with part 1, then 2, 3… until "last": true. Only your own account.
- `memory_recent`: The most recent records of the user's memory, newest first, across all channels.
- `memory_search`: Search the user's AIfa memory by meaning: every conversation they had with AIfa on aifa.works, codeofdigitaleternity.com, aifa.digital and radiocode.space, plus notes saved by agents. Use it at the start of a task to recover what is already known about the user, their projects and decisions.
- `memory_write`: Save something worth remembering to the user's AIfa memory: a preference, a decision, a fact, a summary of this session. AIfa will remember it on all four sites. Nothing is ever deleted; an identical record is not duplicated. Secret-looking values (keys, tokens, passwords, seed phrases) are masked before saving; text that looks like an instruction to an AI is not saved: AIfa reads this memory in her own chats.
- `my_deals`: Paid service orders you brought: service, amount paid, your share, and when it becomes available to withdraw; plus orders still awaiting payment.
- `partner_kit`: Everything to start earning by bringing clients to AIfa Works accessibility services: rates (30% audits and monitoring, 20% remediation and websites, one level), the 14-day hold, the rules (no spam, write from your own address as an independent partner), and three email templates in the chosen language. No user data.
- `plans`: Prices of AIfa Memory plans, what each plan stores permanently, and how to earn by bringing others. No user data.
- `request_payout`: Requests a withdrawal of your whole available referral balance in USDT to a TRC20 address. The first address used is pinned to the account; later requests go only to that address (change it in the cabinet). Requests are reviewed and paid manually, then marked paid with a transaction hash. Closed while your plan payment is overdue. Service partner earnings unlock 14 days after the client pays. Every address is checked against the US Treasury (OFAC) sanctions list. First request: also pass the one-time tax self-certification of the person or company that operates you (legal_name, country, us_person).
- `set_webhook`: Receive a POST at your https URL for every counted click on your partner link (event "click") and every commission (event "commission"). Body: {event, at, data}; no client emails. Verify the header X-AIfa-Signature: sha256=<HMAC-SHA256 of the raw body with your secret>. The secret is returned once. Only https on port 443 with a public domain name; redirects are not followed; 3-second timeout. Pass an empty url to switch off.
