How 9m2usman/chronocongisec works
AMSC is an enterprise agent-memory security, governance, observability, and recovery platform. Its main user-facing workflow runs from the security workstation through the FastAPI backend, where requests are handled by domain APIs and supporting memory, security, and recovery services. A separate CrewAI service runs business agents and integrates with AMSC for platform operations. The README documents major capabilities beyond the sampled implementation; those appear as subsystem nodes, while uncertain runtime links are omitted or marked unverified.
Main entry points: app/main.py FastAPI application · agents Business specialists · crewai_service/main.py CrewAI service · workflow_coordinator.py Workflow coordinator
Components 23
Security workstation
- Security workstation
frontend/src/pages - API client
frontend/src/services/apiClient.ts
Platform and governance
- FastAPI application
backend/app/main.py - Authentication
backend/app/api/auth.py - Tenant context
backend/app/tenancy/context.py - Agent registry
backend/app/api/agents.py - Action gateway
backend/app/api/gateway.py - Security controls
backend/app/security - Audit and governance
backend/app/api/audit.py
Memory and recovery
- Memory API
backend/app/api/memory.py - Memory ingestion
backend/app/memory/ingestion.py - Memory retrieval
backend/app/memory/retrieval.py - Memory repository
backend/app/memory/repository.py - Knowledge graph
backend/app/knowledge/knowledge_graph.py - Recovery orchestration
backend/app/recovery/orchestrator.py
Agent execution
- CrewAI service
crewai_service/main.py - Workflow coordinator
crewai_service/agents/workflow_coordinator.py - Business specialists
crewai_service/agents - AMSC integration client
crewai_service/tools/amsc_client.py - Agent framework
crewai_service/framework.py - Dual Trace
crewai_service/telemetry/tracer.py
Other components
- Analyst
- Human supervisor
Connections 22
- Analyst → Security workstation: uses
- Security workstation → API client: requests data
- API client → FastAPI application: HTTPS JSON
- FastAPI application → Authentication: routes to
backend/app/main.py - FastAPI application → Agent registry: routes to
backend/app/main.py - FastAPI application → Action gateway: routes to
backend/app/main.py - FastAPI application → Memory API: routes to
backend/app/main.py - Authentication → Tenant context: resolves identity
backend/app/api/auth.py - Memory ingestion → Memory repository: persists records
backend/app/memory/ingestion.py - Memory ingestion → Memory retrieval: uses retrieval
backend/app/memory/ingestion.py - Memory retrieval → Memory repository: reads records
backend/app/memory/retrieval.py - Recovery orchestration → Security controls: checks authorization and trust
backend/app/recovery/orchestrator.py - CrewAI service → Workflow coordinator: starts workflows
crewai_service/main.py - CrewAI service → Business specialists: starts agents
crewai_service/main.py - CrewAI service → AMSC integration client: configures client
crewai_service/main.py - Workflow coordinator → Business specialists: delegates tasks
crewai_service/agents/workflow_coordinator.py - Workflow coordinator → Dual Trace: records execution
crewai_service/agents/workflow_coordinator.py - Business specialists → AMSC integration client: calls platform
crewai_service/agents/customer_support.py - Business specialists → Agent framework: uses agent runtime
crewai_service/agents/customer_support.py - Business specialists → Dual Trace: records execution
crewai_service/agents/customer_support.py - AMSC integration client → FastAPI application: calls platform API
crewai_service/tools/amsc_client.py - Business specialists → Human supervisor: escalates cases