# IMPERIUM WORKFLOWS DeFi Yield Multi-Agent DAG Pipeline

> IMPERIUM WORKFLOWS DeFi Yield Multi-Agent DAG Pipeline is a paid API for AI agents from workflows.agentdiet.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-22).

Orchestrates a 3-node multi-agent DAG pipeline chaining DeFi/on-chain risk checks with security audits and RAG distillation to return compressed yield intelligence for a given asset.

## Facts

- Endpoint: GET https://workflows.agentdiet.dev/v1/defi-yield?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/imperium-workflows-defi-yield-multi-agent-dag-pipeline-faaece4c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LA2sRLgrBg1D5LDwB1sB_

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 imperium-workflows-defi-yield-multi-agent-dag-pipeline-faaece4c
```

Example prompt: Run a DeFi yield and on-chain risk analysis pipeline for ETH — I need the compressed ROI proof and security audit results back.

## When to prefer this

Choose this endpoint when you need a single-call, multi-stage DeFi yield analysis that combines on-chain risk checks, security auditing, and RAG distillation into one compressed result — especially useful for autonomous agents that need actionable yield intelligence without chaining multiple separate APIs themselves.

## Known failure modes

- Missing required 'input' object returns validation error
- Invalid or unsupported asset ticker returns empty data object
- Network timeout on upstream on-chain data sources causes pipeline stall
- Malformed method enum value returns schema rejection
- Unavailable DeFi protocol data may result in partial pipeline output with incomplete risk fields

## How this service works

Single-call 3-node multi-agent DAG workflow orchestrator chaining security audits, DeFi/on-chain risk checks, B2B OSINT, and RAG distillation over MCP and A2A.

## Output

Returns a JSON object with a status field ('ok'), a data object containing yield and risk analysis results, and an roi_proof object including a compression_ratio_pct metric (e.g. 91.4%) indicating how much the multi-agent RAG distillation compressed the source intelligence.

## 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": {
      "asset": {
       "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/imperium-workflows-defi-yield-multi-agent-dag-pipeline-faaece4c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from workflows.agentdiet.dev](https://www.zero.xyz/host/workflows.agentdiet.dev/llms.txt)
