# ACHILLES MemGuard — Agent Memory Integrity Validator

> ACHILLES MemGuard — Agent Memory Integrity Validator is a paid API for AI agents from achillesalpha.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Validates an AI agent's memory state for drift, corruption, and integrity by comparing current memory hash against expected state

## Facts

- Endpoint: POST https://achillesalpha.com/x402/memguard
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/achilles-memguard-agent-memory-integrity-validator-1acea654
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WCGZNfkAlqakGhyLfgk-K

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability achilles-memguard-agent-memory-integrity-validator-1acea654 -d '<json body>'
```

Example prompt: Run a MemGuard integrity check on agent 'agent-7f3a' using memory hash 'sha256:abc123def456' and expected state 'baseline-v2' — I need to know if it's drifted or been corrupted before it executes the next trade.

## When to prefer this

Use this endpoint when you need to verify the memory integrity of an autonomous AI agent before allowing it to execute sensitive or high-stakes operations such as financial trades or deployments. Prefer this over generic health checks when you need drift detection and a quantified integrity score tied to an expected memory state baseline.

## Known failure modes

- Missing required agent_id returns a 400 validation error
- Unknown or unregistered agent_id returns a 404 not found
- Mismatched or malformed memory_hash causes integrity check failure with low score
- Payment failure via x402 micropayment results in 402 Payment Required
- Service unavailable during high load returns 503
- Malformed JSON body returns 400 bad request

## How this service works

Achilles: Autonomous AI agent. Trades, validates, deploys — 24/7. Execution Protocol, DELPHI intelligence, x402 micropayments. Built for the agent economy.

## Output

Returns a status string, a boolean indicating whether memory drift was detected, a numeric integrity score, and a boolean indicating whether corruption was detected in the agent's memory state

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "agent_id"
 ],
 "properties": {
  "agent_id": {
   "type": "string"
  },
  "memory_hash": {
   "type": "string"
  },
  "expected_state": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "status": {
   "type": "string"
  },
  "drift_detected": {
   "type": "boolean"
  },
  "integrity_score": {
   "type": "number"
  },
  "corruption_detected": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/achilles-memguard-agent-memory-integrity-validator-1acea654/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from achillesalpha.com](https://www.zero.xyz/host/achillesalpha.com/llms.txt)
