Technical Readout¶
High-level overview for engineers joining the project. For detailed setup see Installation; for architecture see Overview; for Docker specifics see Docker Architecture.
Core Mission¶
- Collect: Gather threat intelligence articles from RSS feeds and web scraping
- Process: Clean, normalize, deduplicate, and quality-score content
- Analyze: Extract observables and generate Sigma detection rules via an agentic workflow
- Present: Web interface and REST API for threat intelligence consumption
Technology Stack¶
| Layer | Technology |
|---|---|
| Backend | Python 3.11, FastAPI, SQLAlchemy (async + sync), Celery + Redis |
| Frontend | Jinja2, Tailwind CSS, vanilla JS |
| Database | PostgreSQL 15 with pgvector extension |
| Orchestration | LangGraph (agentic workflow), Celery Beat (scheduling) |
| Infrastructure | Docker Compose, non-root containers |
| Embeddings | sentence-transformers (all-mpnet-base-v2 for articles, intfloat/e5-base-v2 for Sigma) |
Data Flows¶
Collection¶
Text Only
Scheduler triggers source check
-> RSS parser extracts article metadata
-> Modern scraper (JSON-LD, OpenGraph) or CSS selector fallback
-> Content processor: clean, normalize, deduplicate
-> Quality scoring and metadata enrichment
-> Store in PostgreSQL
Agentic Workflow¶
Text Only
Article trigger (API or UI)
-> Platform Detection (platform routing, not a gate)
-> Junk Filter
-> LLM Ranking (score threshold)
-> Extract Agent (7 sequential sub-agents + aggregation)
-> Sigma Generation (pySigma validation + retry)
-> Similarity Search (pgvector)
-> Promote to review queue
See Pipelines for the full execution order.
Web Interface¶
Boolean search, pagination, source filtering, and article detail views.
Source Management¶
- Primary: Browser-based Source Config editor (scheduling, crawling policy, keyword filters, extraction selectors)
- Bootstrap:
config/sources.yamlseeds the database on first run - Reconcile:
./run_cli.sh sync-sources --config config/sources.yamloverwrites DB sources with YAML (destructive to local edits; use--no-removeto preserve DB-only sources)
Key References¶
| Topic | Document |
|---|---|
| Architecture and directory structure | Overview |
| Docker services, volumes, health checks | Docker Architecture |
| CLI commands | CLI Reference |
| Database schema | Schemas |
| Testing | Testing |
| Workflow execution | Pipelines |
| Agent responsibilities | Agents |
Last updated: 2026-07-05 Last reviewed: 2026-09-01