How adibuzz/aetcg-platform works
AETCG accepts ticket submissions through an API, validates and sanitizes them, queues asynchronous analysis, and exposes job state and an approval endpoint. The worker coordinates triage, compliance critique, and risk-based review state; Redis backs the queue and cached state, while agents call a configurable LLM endpoint. The README also describes policy routing and audit capabilities, though the sampled implementation shows only a simple risk threshold and structured API logging. Links reflect excerpts, SOURCE INDEX references, or README statements; unsampled capabilities are not given speculative implementation paths.
Main entry points: main.py Triage API · orchestrator.py Workflow Orchestrator · worker.py Background Worker · settings.py Runtime Settings
Components 17
Intake API
- Triage API
main.py - Ticket Validation
pipeline/validation.py - PII Sanitizer
pipeline/validation.py
Async Processing
- Job Enqueue
worker.py - Background Worker
worker.py - Workflow Orchestrator
pipeline/orchestrator.py - Triage Agent
services/agents.py - Compliance Critic
services/agents.py
Governance
- Risk Routing Gate
pipeline/orchestrator.py - Human Approval
main.py - Job State API
main.py - Audit Telemetry
main.py
Runtime Services
- Runtime Settings
config/settings.py - Redis Job Queue
- Redis State Cache
Other components
- Enterprise Submitter
- LLM Endpoint
Connections 22
- Enterprise Submitter → Triage API: submits ticket
README.md - Triage API → Ticket Validation: validates payload
main.py - Triage API → Job Enqueue: enqueues job
main.py - Job Enqueue → Redis Job Queue: enqueues task
worker.py - Background Worker → Redis Job Queue: consumes jobs
worker.py - Background Worker → Workflow Orchestrator: runs workflow
worker.py - Workflow Orchestrator → PII Sanitizer: scrubs text
pipeline/orchestrator.py - Workflow Orchestrator → Triage Agent: requests analysis
pipeline/orchestrator.py - Workflow Orchestrator → Compliance Critic: requests critique
pipeline/orchestrator.py - Triage Agent → LLM Endpoint: calls model
services/agents.py - Compliance Critic → LLM Endpoint: calls model
services/agents.py - Workflow Orchestrator → Risk Routing Gate: checks risk
pipeline/orchestrator.py - Risk Routing Gate → Redis State Cache: stores review state
pipeline/orchestrator.py - Triage API → Redis State Cache: reads and writes state
main.py - Triage API → Audit Telemetry: logs events
main.py - Background Worker → Redis State Cache: caches result
worker.py - Triage API → Human Approval: handles approval
main.py - Triage API → Job State API: serves job state
main.py - Triage API → Runtime Settings: reads settings
main.py - Background Worker → Runtime Settings: reads settings
worker.py - Triage Agent → Runtime Settings: reads endpoint config
services/agents.py - Compliance Critic → Runtime Settings: reads endpoint config
services/agents.py