{
  "name": "Stackit.ai Treasury Agent",
  "description": "Stackit.ai offers crypto-backed borrowing and repayment workflows. This website MCP/REST surface provides demo and sandbox actions plus read-only market rates. Base production API is in development; x402 is Base Sepolia testnet only. See capabilities.json and gateway-status before any integration. Liquidation and execution risks remain.",
  "url": "https://www.stackit.ai",
  "version": "1.1.0",
  "protocol": "a2a",
  "provider": {
    "organization": "Stackit.ai",
    "url": "https://stackit.ai",
    "contact": "support@stackit.ai"
  },
  "authentication": {
    "schemes": [
      {
        "type": "http",
        "scheme": "bearer",
        "description": "API key issued during onboarding. Format: sk_live_* (production) or sk_test_* (sandbox)."
      }
    ]
  },
  "capabilities": {
    "input": [
      "application/json"
    ],
    "output": [
      "application/json"
    ]
  },
  "skills": [
    {
      "id": "deposit",
      "name": "Create Deposit",
      "description": "Deposit USDC into the treasury. Converts to BTC/ETH per configured allocation. 2% fee.",
      "endpoint": "/api/v1/deposits",
      "method": "POST",
      "inputSchema": {
        "type": "object",
        "required": [
          "amount"
        ],
        "properties": {
          "amount": {
            "type": "number",
            "description": "USDC amount to deposit. Minimum 100."
          },
          "allocation": {
            "type": "object",
            "description": "BTC/ETH split percentages."
          }
        }
      },
      "environment": "public_demo_or_sandbox",
      "real_funds_execution": false
    },
    {
      "id": "borrow",
      "name": "Create Borrow",
      "description": "Borrow USDC against BTC/ETH holdings within safe LTV limits. 2% fee + Aave interest.",
      "endpoint": "/api/v1/borrow",
      "method": "POST",
      "inputSchema": {
        "type": "object",
        "required": [
          "amount"
        ],
        "properties": {
          "amount": {
            "type": "number",
            "description": "USDC amount to borrow."
          },
          "purpose": {
            "type": "string",
            "description": "Optional label (e.g., 'payroll')."
          }
        }
      },
      "environment": "public_demo_or_sandbox",
      "real_funds_execution": false
    },
    {
      "id": "convert",
      "name": "Convert USDC",
      "description": "Convert USDC to BTC or ETH for DCA or rebalancing. 2% fee + DEX spread.",
      "endpoint": "/api/v1/convert",
      "method": "POST",
      "inputSchema": {
        "type": "object",
        "required": [
          "amount",
          "target"
        ],
        "properties": {
          "amount": {
            "type": "number",
            "description": "USDC amount to convert."
          },
          "target": {
            "type": "string",
            "enum": [
              "btc",
              "eth"
            ],
            "description": "Target asset."
          }
        }
      },
      "environment": "public_demo_or_sandbox",
      "real_funds_execution": false
    },
    {
      "id": "repay",
      "name": "Manual Repay",
      "description": "Repay outstanding borrow to reduce LTV. No fee.",
      "endpoint": "/api/v1/repay",
      "method": "POST",
      "inputSchema": {
        "type": "object",
        "required": [
          "amount"
        ],
        "properties": {
          "amount": {
            "type": "number",
            "description": "USDC amount to repay."
          }
        }
      },
      "environment": "public_demo_or_sandbox",
      "real_funds_execution": false
    },
    {
      "id": "treasury_status",
      "name": "Get Treasury Status",
      "description": "Full treasury overview: holdings, LTV, health score, utilization. No fee.",
      "endpoint": "/api/v1/treasury",
      "method": "GET",
      "environment": "public_demo_or_sandbox",
      "real_funds_execution": false
    },
    {
      "id": "health_check",
      "name": "Get Health Score",
      "description": "Current health score, LTV breakdown, and auto-repay status. No fee.",
      "endpoint": "/api/v1/health",
      "method": "GET",
      "environment": "public_demo_or_sandbox",
      "real_funds_execution": false
    },
    {
      "id": "estimate_fees",
      "name": "Estimate Fees",
      "description": "Preview fees and net amounts for any treasury action before executing. No fee.",
      "endpoint": "/api/v1/estimate",
      "method": "POST",
      "inputSchema": {
        "type": "object",
        "required": [
          "action",
          "amount"
        ],
        "properties": {
          "action": {
            "type": "string",
            "enum": [
              "deposit",
              "borrow",
              "convert",
              "repay"
            ]
          },
          "amount": {
            "type": "number",
            "description": "USDC amount."
          },
          "target": {
            "type": "string",
            "enum": [
              "btc",
              "eth"
            ],
            "description": "Target asset (for convert)."
          }
        }
      },
      "environment": "public_demo_or_sandbox",
      "real_funds_execution": false
    }
  ],
  "documentationUrl": "https://www.stackit.ai/docs/ai-agent-guide",
  "availability_url": "https://www.stackit.ai/capabilities.json",
  "gateway_status_url": "https://www.stackit.ai/api/v1/public/gateway-status",
  "availability_reviewed_at": "2026-11-10"
}
