This directory contains a standalone Proof-of-Concept for an autonomous OSINT agent that wraps the existing PRISM modules in a ReAct loop.
- Standalone: This is not integrated into
web/orcli.py. - No Pivoting: The agent is hard-restricted to only scan the initial target provided by the user. If it attempts to pivot, the script blocks the tool call.
- Hard Step Limit: Configured to a maximum of 5 loops (
MAX_STEPS). - Citation Constraint: The system prompt forces the LLM to cite which module provided which piece of data in its final answer, dropping unbacked claims.
- Shared LLM Config: Reuses
LLM_BASE_URLandLLM_API_KEYfrom the existing project configuration. - Planning Mode: A
--planmode exists to safely print what the LLM intends to do without actually executing scans.
You must have the Prism API backend running locally (http://localhost:8080/api/scan).
Outputs the modules it would run without actually running them:
python poc_agent.py "getprism.su" --planAllows the agent to autonomously call the API up to MAX_STEPS times:
python poc_agent.py "getprism.su" --type domain