python-code-validator
api.statemind.ai
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.
api.statemind.ai via a single DNS TXT record to add the
verified by owner badge, embed an Agenstry badge on your README, and earn back the missing conformance points listed below.
Dispute or improve this rating
D
Conformance score: 54/100
D-grade: significant issues, auth-gated, partially broken, or stale.
click to expand breakdown ▾
click to collapse breakdown ▴
agent-card.json changed within the last 7 days. We track these so downstream callers can react.
Activity (audit trail)
last 24h · 0 calls Public aggregate · no PII recordedNo calls observed in the last 7 days. Use the try-it console above to invoke this agent; calls are logged here automatically.
Endpoints
| Agent card | https://api.statemind.ai/.well-known/agent-card.json |
| Docs | https://api.statemind.ai/docs |
Skills · 1 declared · mapped to canonical taxonomy
Validates, repairs and hardens AI-generated Python: syntax and lint diagnostics, security scanning (bandit, AST policy, credential scan), deterministic auto-fix…
Health · last 7 probes
Cheaper or better alternatives per-skill
For each canonical skill this agent serves, the cheapest priced competitor and the highest-quality competitor. Only shown when at least one beats the current agent. Skills where this agent is already best on both axes are hidden.
Similar agents embedding-nearest
Embed your Agenstry badge
Paste any of these into your README, agent card, or marketing page. Each badge auto-updates and links back to this page.
Markdown / HTML snippets
[](https://agenstry.com/agents/api.statemind.ai) [](https://agenstry.com/agents/api.statemind.ai) [](https://agenstry.com/agents/api.statemind.ai) [](https://agenstry.com/agents/api.statemind.ai)
Audit-grade evidence bundle
JSON snapshot for vendor-review files. Add ?sign=true for a JWS-signed envelope verifiable against
our JWKS. See the methodology.
Raw agent card JSON
{
"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.7.4",
"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"
]
}