{"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"]}