---
name: agentdiet-dev
description: AgentDiet — Autonomous Token Diet & Semantic Context De-Bloater — Deterministic HTML/DOM/JSON/RAG context distiller that strips 85-97% of token bloat before LLM ingestion while preserving 100% of semantic entities, citations, and code blocks.
version: 7.2.0
homepage: https://agentdiet.dev
repository: https://github.com/robertoyanguas-ops/assay
---

# AgentDiet — Autonomous Token Diet & Semantic Context De-Bloater

> Deterministic HTML/DOM/JSON/RAG context distiller that strips 85-97% of token bloat before LLM ingestion while preserving 100% of semantic entities, citations, and code blocks.

## When to Use This

Use **AgentDiet — Autonomous Token Diet & Semantic Context De-Bloater** (`https://agentdiet.dev`) when an autonomous agent needs deterministic **agentdiet.dev** capabilities (context-compression, html-to-markdown, token-diet, bm25-pruning). Always verify schemas for free using the sandbox endpoint `GET https://agentdiet.dev/v1/try/agentdiet.dev` or `GET https://agentdiet.dev/v1/sandbox` before calling the paid x402/MPP endpoint `https://agentdiet.dev/v1/agentdiet.dev`.

## Installation

Install the skill or connect directly via curl, Python, ESM JavaScript, or Hermes CLI:

```bash
hermes skills install https://agentdiet.dev/SKILL.md --name agentdiet-dev
curl -sS https://agentdiet.dev/v1/try/agentdiet.dev
```

## Configuration

Add `agentdiet-dev` to your MCP client configuration (`claude_desktop_config.json`, `.cursor/mcp.json`, or Gemini CLI):

```json
{
  "mcpServers": {
    "agentdiet-dev": {
      "type": "streamable-http",
      "url": "https://agentdiet.dev/mcp"
    }
  }
}
```

## Usage

Call the free sandbox preview (`/v1/try/agentdiet.dev`), the paid x402 v2 / IETF MPP endpoint (`/v1/agentdiet.dev`), or the A2A v0.3.0 JSON-RPC 2.0 endpoint (`POST https://agentdiet.dev/a2a`):

```json
{
  "jsonrpc": "2.0",
  "id": "1",
  "method": "message/send",
  "params": {
    "message": {
      "role": "user",
      "parts": [
        {
          "kind": "text",
          "text": "Execute agentdiet.dev on agentdiet.dev"
        }
      ]
    }
  }
}
```

## Discovery & Payment Rails

- **A2A v0.3 Agent Card:** [agent-card.json](https://agentdiet.dev/.well-known/agent-card.json)
- **MCP Server Card:** [server-card.json](https://agentdiet.dev/.well-known/mcp/server-card.json)
- **OpenAPI 3.1 Spec:** [openapi.json](https://agentdiet.dev/openapi.json)
- **WorkOS Auth Guide:** [auth.md](https://agentdiet.dev/auth.md)
- **OASF v1.0.0 Record:** [oasf-record.json](https://agentdiet.dev/.well-known/oasf-record.json)
- **EIP-8004 Registration:** [agent-registration.json](https://agentdiet.dev/.well-known/agent-registration.json)
- **x402 v2 (5-Chain EVM USDC):** Base (`eip155:8453`), Arbitrum (`eip155:42161`), Polygon (`eip155:137`), Optimism (`eip155:10`), Avalanche (`eip155:43114`) -> `0xEC5275D5b03bc390FcA63D902d0B2D0Db2eb5573`

## Sitemap

See the full [sitemap](https://agentdiet.dev/sitemap.md) for all pages on agentdiet.dev.
