Skip to content
Back to python-code-validator

Card snapshot

api.statemind.ai · 2026-08-11 11:09:57 UTC · 3e32220e7fce9157827a04c4a6b6b8925228488fb21f8dca8d3a17d350a3567e

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": "Validates, repairs and hardens AI-generated Python: syntax and lint diagnostics, security scanning (bandit, AST policy, credential scan), deterministic auto-fixes and optimisation via SMIRE, optional sandboxed execution and Python-to-JavaScript transpilation.",
  "url": "https://api.statemind.ai/a2a",
  "preferredTransport": "JSONRPC",
  "version": "1.19.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": "Validates, repairs and hardens AI-generated Python: syntax and lint diagnostics, security scanning (bandit, AST policy, credential scan), deterministic auto-fixes and optimisation via SMIRE, optional sandboxed execution and Python-to-JavaScript transpilation.",
      "tags": [
        "code-validation",
        "python-syntax",
        "security-scan",
        "code-repair",
        "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"
  ]
}