# AgentDiet MCP Compiler – GitHub Audit & Intelligence Distillation

> AgentDiet MCP Compiler – GitHub Audit & Intelligence Distillation is a paid API for AI agents from github-audit.agentdiet.dev, paid per call via x402 or MPP, $0.02/call, status unknown (last checked 2026-10-20).

Compiles and routes multi-domain intelligence requests (web distillation, GitHub audit, on-chain risk, DEX token data, etc.) into a single distilled JSON response via a unified MCP endpoint

## Facts

- Endpoint: GET https://github-audit.agentdiet.dev/v1/mcp-compiler?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402, MPP
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentdiet-mcp-compiler-github-audit-intelligence-distillation-c5beff8a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NLdNGRAO9wwbiI7P0DAQs

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 agentdiet-mcp-compiler-github-audit-intelligence-distillation-c5beff8a
```

Example prompt: Can you run an AgentDiet intelligence distillation on the GitHub repo at github.com/someorg/somerepo — I want a compressed audit covering security signals and code quality?

## When to prefer this

Choose this endpoint when you need a single unified call to distill intelligence from multiple domains (web, GitHub, on-chain, B2B, email, SEC) into a compact, compressed JSON result. It is especially valuable when token efficiency matters — the 91%+ compression ratio makes it ideal for agents operating under context-window constraints. Prefer it over category-specific APIs when you want cross-domain intelligence aggregated in one hop.

## Known failure modes

- Missing or invalid `target` query parameter returns an error or empty data object
- Unsupported target type may return an empty `data` field with status 'ok' but no useful content
- Network or upstream service failure may return a non-ok status
- Payment not processed (HTTP 402) if x402 USDC payment header is missing or insufficient
- Rate limiting or quota exhaustion if called too frequently

## How this service works

15-App Autonomous Business-to-Agent (B2A) API Hub & MCP Suite. Supports Web Distillation, On-Chain Risk, DEX Token Intelligence, B2B Lead Enrichment, Domain OSINT, Email Verification, SEC Filings, GitHub Audits, Prompt Firewall, and native HTTP 402 (x402 Base USDC).

## Output

Returns a JSON object with a `data` field containing the distilled intelligence output, a `status` field ('ok' on success), and a `roi_proof` object showing the compression ratio (e.g. 91.4% compression), indicating how much raw source data was condensed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "POST"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "target": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {},
  "status": "ok",
  "roi_proof": {
   "compression_ratio_pct": 91.4
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentdiet-mcp-compiler-github-audit-intelligence-distillation-c5beff8a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from github-audit.agentdiet.dev](https://www.zero.xyz/host/github-audit.agentdiet.dev/llms.txt)
