python -c "
from praisonaiagents import Agent
import threading
agent = Agent(name='Test', instructions='You are a helpful assistant.')
# Verify locks exist
assert hasattr(agent, '_history_lock'), 'Missing history lock'
assert hasattr(agent, '_cache_lock'), 'Missing cache lock'
print('Thread safety locks: OK')
"