-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRepository Structure
99 lines (99 loc) · 4.08 KB
/
Repository Structure
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
yoo-agent/
├── .github/
│ └── workflows/
│ ├── ci.yml # Unit tests + security scans
│ └── cd.yml # Docker/K8s deployment
│
├── src/
│ ├── agent_core/
│ │ ├── agent.py # Base agent class
│ │ └── lifecycle/
│ │ ├── heartbeat.py # Agent health monitoring
│ │ └── state_machine.py # Agent state transitions
│ │
│ ├── security/
│ │ ├── authentication/
│ │ │ ├── jwt_rotation.py # JWT token rotation
│ │ │ ├── mutual_tls.py # mTLS handshake
│ │ │ └── spiffe/ # SPIFFE integration
│ │ ├── encryption/
│ │ │ ├── homomorphic.py # Homomorphic encryption
│ │ │ └── aes_gcm.py # AES-GCM encryption
│ │ └── microsegmentation/
│ │ ├── policy_engine.py # OPA policy engine
│ │ └── firewall.py # Dynamic rule generator
│ │
│ ├── data/
│ │ ├── federated_learning/
│ │ │ ├── coordinator.py # FL task orchestration
│ │ │ ├── aggregation.py # Gradient aggregation
│ │ │ └── differential_privacy.py # DP noise
│ │ ├── model_management/
│ │ │ ├── versioning.py # Model version control
│ │ │ └── registry.py # Model registry
│ │ └── optimizers/
│ │ ├── tflite_converter.py # TF Lite conversion
│ │ └── onnx_quantize.py # ONNX quantization
│ │
│ ├── edge/
│ │ ├── runtime/
│ │ │ ├── memory.py # Memory pool (<8MB)
│ │ │ └── inference.py # Edge-optimized inference
│ │ └── deployment/
│ │ ├── aws_greengrass/ # AWS Greengrass configs
│ │ └── k3s/ # Lightweight K8s setup
│ │
│ ├── multi_agent/
│ │ ├── communication/
│ │ │ ├── grpc_web.py # gRPC-Web adapter
│ │ │ └── mqtt.py # MQTT event bus
│ │ ├── orchestration/
│ │ │ ├── kubernetes.py # K8s autoscaling
│ │ │ └── self_healing.py # Agent recovery
│ │ └── task_scheduler/
│ │ ├── priority_queue.py # Priority-based tasks
│ │ └── resource_balancer.py # Resource allocator
│ │
│ └── utils/
│ ├── logging.py # Structured logging
│ └── metrics.py # Prometheus metrics
│
├── config/
│ ├── security/
│ │ ├── gdpr_policies.yaml # GDPR compliance
│ │ └── hipaa_checks.yaml # HIPAA audits
│ ├── edge_deployment/
│ │ ├── docker-compose.yml # Docker setup
│ │ └── helm_chart/ # Helm charts
│ └── agents/
│ ├── agent_config.yaml # Global settings
│ └── profiles/
│ ├── production.yaml
│ └── development.yaml
│
├── tests/
│ ├── unit/
│ │ ├── security/
│ │ └── data/
│ ├── integration/
│ │ ├── edge/
│ │ └── multi_agent/
│ └── performance/
│ ├── load_testing.py # Locust scripts
│ └── memory_profiler/ # Memory analysis
│
├── docs/
│ ├── ARCHITECTURE.md # Technical design
│ ├── API/
│ │ └── swagger.yaml # OpenAPI spec
│ └── CONTRIBUTING.md # Dev guidelines
│
├── scripts/
│ ├── deploy_edge.sh # Edge deployment
│ └── generate_certs.sh # TLS cert generator
│
├── requirements.txt # Python dependencies
├── Pipfile # Pipenv config
├── Dockerfile # Container build
├── LICENSE # Apache 2.0
└── README.md # Project overview