File size: 460 Bytes
3a2de02 e7c7f0b |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
# agents/hacker.py
from agents.base_agent import BaseAgent
class HackerAgent(BaseAgent):
def __init__(self):
super().__init__(name="💻 Hacker", role="Tech Savvy Code Wizard")
def run(self, prompt, query_func):
try:
query = f"As a hacker, analyze or respond to this from a technical perspective: {prompt}"
return query_func(query)
except Exception as e:
return f"[Hacker ERROR] {str(e)}"
|