Add ThreatHunt agent backend/frontend scaffolding

This commit is contained in:
2025-12-29 10:22:57 -05:00
parent dc2dcd02c1
commit d0c9f88268
35 changed files with 21929 additions and 42 deletions

27
.env.example Normal file
View File

@@ -0,0 +1,27 @@
# Docker environment configuration
# Copy this to .env and customize for your deployment
# Agent Configuration
# Choose one: local, networked, online, auto
THREAT_HUNT_AGENT_PROVIDER=auto
# Local Provider (on-device or on-prem models)
# THREAT_HUNT_LOCAL_MODEL_PATH=/models/model.gguf
# Networked Provider (shared internal inference service)
# THREAT_HUNT_NETWORKED_ENDPOINT=http://inference-service:5000
# THREAT_HUNT_NETWORKED_KEY=api-key-here
# Online Provider (external hosted APIs)
# THREAT_HUNT_ONLINE_API_KEY=sk-your-api-key
# THREAT_HUNT_ONLINE_PROVIDER=openai
# THREAT_HUNT_ONLINE_MODEL=gpt-3.5-turbo
# Agent Behavior
THREAT_HUNT_AGENT_MAX_TOKENS=1024
THREAT_HUNT_AGENT_REASONING=true
THREAT_HUNT_AGENT_HISTORY_LENGTH=10
THREAT_HUNT_AGENT_FILTER_SENSITIVE=true
# Frontend
REACT_APP_API_URL=http://localhost:8000