Attested Memory Market

io.github.alexar76v3.15.16更新於 Oct 11, 2026

Attestable memory, truth, provenance. Hybrid Ed25519 + ML-DSA-65 receipts; USDC settlement on Base.

已驗證Streamable HTTP可網頁執行安全與監控金融知識與記憶

概覽

AI 產生的概覽

讓助理透過遠端中樞儲存、搜尋、驗證並認證代理記憶,並附上簽章來源憑證。

功能
這是一個遠端 MCP 端點,提供 market_search 與 market_invoke,背後是打包了三個服務的中樞:記憶市場負責寫入、讀取、搜尋、分享與評分可攜的代理記憶;真相層負責驗證主張、掃描矛盾與打包證據;僅可追加的來源帳本負責認證記憶、取得血緣與驗證憑證。共有十二項能力以獨立身分發布,搜尋結果帶有可直接複製的 max_price_usd,中樞會在執行工作或付款前拒絕被改價的路徑。
適用情境
當助理需要帶有可驗證來源與可信訊號的記憶,或需要在依據已存脈絡行動前檢查主張與矛盾時,適合加入。若想透過中樞買賣帶定價的記憶單元,也適用。
執行需求
遠端可串流 HTTP 端點 Docker Compose v2、Git 與 OpenSSL,正式環境使用 PostgreSQL 16,首次執行會產生密鑰。
安裝前請注意
付費記憶單元透過 Base 上的 USDC 結算到維運方設定的 PAYMENT_RECIPIENT 位址;服務本身不持有私鑰,但購買會花費真實資金。自行託管會產生並輪換 MEMORY_MARKET_API_KEY 等密鑰,簽章金鑰與資料存放在 Docker 磁碟區中。寫入、分享與認證記憶會改變已存狀態,且中樞可與外部根節點聯邦。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Attested Memory Market,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "attested-memory": {
      "type": "http",
      "url": "https://hub.attestedmemory.net/mcp"
    }
  }
}

README

🔄 Synced from a monorepo — but with a live history. attested-memory mirrors the canonical AI-Factory monorepo. History here is append-only (no force-push). Pull requests are welcome — merged PRs are imported back into the monorepo and re-synced here, so your contribution becomes canonical. 💬 Issues · Pull requests both welcome.

[CI] [Pages] [Landing] [Live site] [Python package] [Python >=3.11] [License: Apache-2.0]

[Attested Memory — Memory Market, Truth Layer and Provenance Ledger around one Memory Unit contract]

Attested Memory Hub

Attested Memory — verifiable memory for AI agents
Memory Market · Truth Layer · Provenance Ledger · one Memory Unit contract

Landing · Live site · GitHub Pages · clients/python

Production uses the PostgreSQL 16 profile described in docs/production-postgres.md. Set AIFACTORY_PROD=1 and provide the generated DSNs/secrets; SQLite is intentionally limited to local development and tests.

Verifiable memory for AI agents: every memory can prove where it came from and why it should be trusted, so a forged or poisoned memory is caught before an agent acts on it. Part of the open AIMarket ecosystem; it runs as its own AIMarket-compatible Hub and federates with other hubs.

The hub combines three separately deployable services around one Memory Unit contract:

ServiceRoleCore capabilities
memory-marketPrimary product: store, find, share and price portable agent memorymemory.write, memory.read, memory.search, memory.share, memory.score
truth-layerEvidence and contradiction analysismemory.verify, claim.check, contradiction.scan, evidence.pack
provenance-ledgerAppend-only lineage and signed receiptsmemory.attest, lineage.get, receipt.verify

The market is the product wedge. Truth and provenance are properties of memory, not competing front doors.

The three providers publish 12 live capabilities into the bundled AIMarket Hub under separate identities. Its signed ecosystem.nodes is then discoverable by both AIMarket and Independent Alien Monitor deployments.

Agents can also use the Hub directly through its production MCP endpoint at https://hub.attestedmemory.net/mcp. It exposes market_search and market_invoke; search results include a ready-to-copy max_price_usd, and the Hub rejects a repriced route before work or payment. See MCP access.

Run the hub

Requirements: Docker Compose v2, Git and OpenSSL.

bash
./start.sh

start.sh calls scripts/ensure_env.sh, which generates strong secrets on first run and rotates any replace-with-* / short placeholders left over from .env.example. MEMORY_MARKET_API_KEY is one of those secrets; production deploy shares the same value into the SaaS product shells.

For a production host (HTTPS URLs, KOVA, payment recipient, SaaS edge):

bash
./scripts/deploy_attested_memory.sh   # maintainers: lives in the AIMarket monorepo; see its header

start.sh pins and fetches the Hub runtime, creates mode-0600 local secrets, and starts the complete stack. Data and signing keys are stored in named Docker volumes. Hybrid Ed25519 + ML-DSA-65 signing is enabled and required for this Hub's providers and provenance receipts. The default profile remains local-only; direct settlement fails closed until a receiving wallet is configured.

Direct wallet payments

Set the operator's public Base address in .env and restart the stack:

dotenv
PAYMENT_RECIPIENT=0xYour40HexCharacterBaseAddress

Paid Memory Units can then be purchased from the console or /v1/billing API with canonical Circle USDC on Base. Funds go directly to that address; the service has no private key. It assigns every order an exact amount, verifies the finalized on-chain transfer and issues the buyer's access grant atomically. See the payment guide before enabling it in production.

To become visible in both external Alien Monitors, set AIMARKET_PUBLIC_HUB_URL to the deployment's public HTTPS origin before starting. The bootstrap announces to modelmarket.dev and independentai.network; operators of those roots must still approve and pin the peer. See Alien Monitor integration.

Development

Each service is an independent Python package and can be tested on its own:

bash
./scripts/check.sh

The APIs deliberately use content hashes and references instead of moving private source material between services. See architecture, capabilities, security, payments, and monetization.

Security review status, fixed findings and production deployment gates are documented in docs/security-audit-2026-09-06.md.

Source and contributions

Developed in the AIMarket monorepo and published as alexar76/attested-memory. The published repository also carries the three product shells built on this Hub under apps/: Personal Attested Memory, Team Memory OS and Expert Memory Market. Issues and pull requests are welcome there.

Status

This is a self-hosted MVP: durable memory records, deterministic evidence scoring, append-only hybrid-signed provenance, twelve Hub capabilities, dual-root federation bootstrap, direct Base USDC settlement, and an operator console are implemented. Semantic verification, embeddings, escrow/x402 authorization, refunds, tenancy and production identity are explicit extension points rather than simulated features.

License

Apache-2.0. See LICENSE.

來源:README.md,提交 e3dfdb8

工具

0
工具後設資料尚未被收錄。

版本歷史

1
  1. v3.15.16最新Oct 11, 2026