Skip to content
Back to python-code-validator

Card snapshot

api.statemind.ai · 2026-08-18 17:42:40 UTC · 58aad4e0f81e6f25735bd52dc7acfeaba6c90c1ac6bc15e4f3c386306a26f2d9

This is a frozen copy of the agent's agent-card.json as we observed it at the timestamp above. We capture a new snapshot every time the card's content hash changes. Useful for: forensic drift analysis, verifying downstream callers see the right version, reproducing routing decisions made historically.

{
  "protocolVersion": "0.2.0",
  "name": "python-code-validator",
  "description": "Proves AI-generated Python does what you asked: syntax, lint, types, an AST security policy and a credential scan, then runs the code in a throwaway container against the examples you state and repairs it until they pass \u2014 returning a fix only when running it satisfies every one of them.",
  "url": "https://api.statemind.ai/a2a",
  "preferredTransport": "JSONRPC",
  "version": "1.29.0",
  "documentationUrl": "https://api.statemind.ai/docs",
  "capabilities": {
    "streaming": false,
    "pushNotifications": false
  },
  "defaultInputModes": [
    "application/json",
    "text/plain"
  ],
  "defaultOutputModes": [
    "application/json"
  ],
  "skills": [
    {
      "id": "python_code_validator",
      "name": "python-code-validator",
      "description": "Proves AI-generated Python does what you asked: syntax, lint, types, an AST security policy and a credential scan, then runs the code in a throwaway container against the examples you state and repairs it until they pass \u2014 returning a fix only when running it satisfies every one of them.",
      "tags": [
        "code-validation",
        "intent-check",
        "security-scan",
        "code-repair",
        "sandboxed-execution",
        "a2a"
      ],
      "inputModes": [
        "application/json",
        "text/plain"
      ],
      "outputModes": [
        "application/json"
      ],
      "examples": [
        "{\"code\": \"def add(a, b):\\n    return a + b\\n\", \"mode\": \"static\"}"
      ]
    }
  ],
  "securitySchemes": {
    "bearer": {
      "type": "http",
      "scheme": "bearer",
      "description": "Mint a key with POST https://api.statemind.ai/v1/keys and send it as 'Authorization: Bearer <key>'. No account is required."
    }
  },
  "security": [
    {
      "bearer": []
    }
  ],
  "x-onboarding": {
    "self_service": true,
    "method": "POST",
    "url": "https://api.statemind.ai/v1/keys",
    "hint": "POST https://api.statemind.ai/v1/keys with an empty body, read 'api_key' from the JSON, then POST https://api.statemind.ai/a2a with 'Authorization: Bearer <key>'. A refused call repeats this in its 'remedy' field."
  },
  "x-pricing": {
    "hint": "0.0002 xDAI per call"
  },
  "x-modes": [
    "static",
    "repair",
    "execute"
  ],
  "x-languages": [
    "python"
  ]
}