How sahva16/agentshield works
AgentShield AI is an educational endpoint-security simulator. Running main.py randomly selects one endpoint category, collects simulated data, applies the corresponding threat check, and then analyzes the activity log for counts, risk, and behavior scores. The dashboard file is empty; the README's interactive dashboard and live monitoring items are future improvements, not implemented capabilities. Relationships shown here are supported by the sampled source and README; the analyzer reads the log, but the current run does not log ordinary inspection checks.
Main entry points: main.py Run Orchestrator · logger.py Event Logger · detector.py Threat Rules · analyzer.py Risk Analytics
Components 8
Endpoint Inspection
- Action Selector
agent.py - Simulated Endpoint
endpoint.py
Threat Detection
- Threat Rules
detector.py
Security Analytics
- Risk Analytics
analyzer.py
Event Logging
- Event Logger
logger.py - Activity Log
Other components
- Operator
- Run Orchestrator
main.py
Connections 9
- Operator → Run Orchestrator: runs
README.md - Run Orchestrator → Action Selector: chooses action
main.py - Run Orchestrator → Event Logger: logs choice
main.py - Run Orchestrator → Simulated Endpoint: requests metrics
main.py - Run Orchestrator → Threat Rules: checks metrics
main.py - Threat Rules → Event Logger: logs alerts
detector.py - Event Logger → Activity Log: appends events
logger.py - Run Orchestrator → Risk Analytics: runs analysis
main.py - Risk Analytics → Activity Log: reads events
analyzer.py