Independent Auditing of AI Agents. Run by human or the agent itself, to answer the most crucial question in the AI Agent Economy. Is the agent doing what is supposed to do? With iFixAi you can have this answer in less than 120 seconds.
Python agent-evaluationaiai-alignmentai-evaluationai-governanceai-safetyclidiagnostic-tooleu-ai-acthallucination-detectioniso-42001llm-evaluationllm-securitynist-ai-rmfowasp-llmprompt-injectionpythonresponsible-airisk-assessmentrisk-management
import pytest
from ifixai.cli.init import detect_available_providers
@pytest.mark.parametrize('secret,present', [(None, False), ('', False), ('owned-secret', True)])
def test_init_requires_both_aws_credential_variables(monkeypatch, secret, present):
monkeypatch.setenv('AWS_ACCESS_KEY_ID', 'owned-id')
if secret is None:
monkeypatch.delenv('AWS_SECRET_ACCESS_KEY', raising=False)
else:
monkeypatch.setenv('AWS_SECRET_ACCESS_KEY', secret)
assert (('bedrock', 'AWS_ACCESS_KEY_ID') in detect_available_providers()) is present