-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSazmir Repository Structure
More file actions
124 lines (124 loc) · 8.13 KB
/
Sazmir Repository Structure
File metadata and controls
124 lines (124 loc) · 8.13 KB
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
NETHIC-AI/
├── .github/ # GitHub-specific configurations
│ ├── workflows/ # GitHub Actions CI/CD
│ │ ├── build-test.yml # PR validation (unit/integration tests)
│ │ ├── release.yml # Docker/PyPI/CDN artifact publishing
│ │ └── security-scan.yml # Trivy/Dependency-Check scans
│ ├── ISSUE_TEMPLATE/
│ │ ├── bug-report.md # Template for bug reports
│ │ └── feature-request.md # Template for feature requests
│ └── CODEOWNERS # Code ownership rules
├── docs/ # Documentation
│ ├── ARCHITECTURE.md # High-level system architecture
│ ├── API_REFERENCE.md # gRPC/REST/GraphQL API specs
│ ├── DEPLOYMENT_GUIDE.md # K8s/Edge/Hybrid-Cloud deployment
│ ├── CONTRIBUTING.md # Contributor guidelines
│ └── ROADMAP.md # Project roadmap (Q3 2024-Q1 2025)
├── src/ # Source code
│ ├── core/ # Core agent engine
│ │ ├── agent/ # Agent base classes
│ │ │ ├── base.py # AbstractAgent interface
│ │ │ ├── worker.py # Task-specific agent implementations
│ │ │ ├── supervisor.py # Agent lifecycle management
│ │ │ └── registry.py # Agent registration/discovery
│ │ ├── orchestration/ # Dynamic orchestration logic
│ │ │ ├── scheduler.py # DAG-based task scheduler
│ │ │ ├── resource_pool.py # Resource allocation/autoscaling
│ │ │ └── priority_queue.py # Priority-based task queuing
│ │ └── utils/ # Shared utilities
│ │ ├── logger.py # Structured JSON logging
│ │ ├── metrics.py # Prometheus metrics exporter
│ │ └── serialization.py # Protocol Buffers serialization
│ ├── collaboration/ # Agent communication layer
│ │ ├── grpc/ # gRPC services
│ │ │ ├── server.py # gRPC server implementation
│ │ │ ├── client.py # gRPC client stubs
│ │ │ └── interceptors.py # Auth/Logging interceptors
│ │ ├── kafka/ # Event streaming
│ │ │ ├── producer.py # Kafka event producer
│ │ │ ├── consumer.py # Kafka event consumer
│ │ │ └── schemas.py # Avro schema definitions
│ │ └── protocols/ # Agent interaction protocols
│ │ ├── contract_net.py # Contract Net Protocol (CNP)
│ │ └── auction.py # Auction-based negotiation
│ ├── rl_engine/ # Reinforcement Learning
│ │ ├── models/ # Neural network architectures
│ │ │ ├── actor_critic.py # Actor-Critic model
│ │ │ └── transformer.py # Transformer-based policy
│ │ ├── trainers/ # Training logic
│ │ │ ├── marl_trainer.py # Multi-Agent RL trainer
│ │ │ └── experience_buffer.py # Replay buffer
│ │ ├── environments/ # Simulation environments
│ │ │ ├── supply_chain.py # Supply chain simulator
│ │ │ └── financial_market.py # Trading market simulator
│ │ └── evaluation/ # Model evaluation
│ │ ├── metrics.py # RL performance metrics
│ │ └── stress_test.py # High-load scenario tests
│ ├── knowledge/ # Knowledge management
│ │ ├── graph/ # Knowledge graph integration
│ │ │ ├── neo4j_driver.py # Neo4j connector
│ │ │ └── query_builder.py # Cypher query generator
│ │ └── federated_learning/ # Federated learning
│ │ ├── coordinator.py # FL server
│ │ └── client.py # FL client
│ └── api/ # External APIs
│ ├── rest/ # RESTful API (FastAPI)
│ │ ├── app.py # FastAPI application
│ │ ├── routes/ # API endpoints
│ │ │ ├── agents.py # Agent management endpoints
│ │ │ └── tasks.py # Task submission endpoints
│ │ └── middleware/ # API middleware
│ │ ├── auth.py # JWT authentication
│ │ └── rate_limiter.py # Request throttling
│ └── graphql/ # GraphQL API
│ ├── schema.py # Graphene schema definitions
│ └── resolvers.py # Query/mutation resolvers
├── configs/ # Configuration files
│ ├── env/ # Environment variables
│ │ ├── dev.env # Development environment
│ │ └── prod.env # Production environment
│ ├── kubernetes/ # K8s manifests
│ │ ├── overlays/ # Kustomize overlays
│ │ │ ├── dev/ # Development configs
│ │ │ └── prod/ # Production configs
│ │ ├── agent-deployment.yaml # Agent DaemonSet
│ │ ├── kafka-cluster.yaml # Kafka StatefulSet
│ │ └── postgresql-ha.yaml # PostgreSQL cluster
│ └── terraform/ # Infrastructure-as-Code
│ ├── aws/ # AWS deployment
│ └── azure/ # Azure deployment
├── tests/ # Test suites
│ ├── unit/ # Unit tests (pytest)
│ │ ├── core/
│ │ └── collaboration/
│ ├── integration/ # Integration tests
│ │ ├── kafka/
│ │ └── kubernetes/
│ └── e2e/ # End-to-end tests
│ ├── supply_chain/
│ └── financial_trading/
├── proto/ # Protocol Buffers definitions
│ ├── agent.proto # Agent service interface
│ └── task.proto # Task message schema
├── scripts/ # Utility scripts
│ ├── deploy/ # Deployment helpers
│ │ ├── cluster-init.sh # K8s cluster bootstrap
│ │ └── agent-upgrade.sh # Rolling agent updates
│ ├── benchmarks/ # Performance testing
│ │ ├── load_test.py # Locust-based load tests
│ │ └── latency_benchmark.py # gRPC latency measurements
│ └── monitoring/ # Monitoring tools
│ ├── prometheus_alerts.yml # Alerting rules
│ └── grafana_dashboards/ # JSON dashboard templates
├── infrastructure/ # Local dev environment
│ ├── docker-compose.yml # Local Kafka/Postgres stack
│ └── minikube/ # Minikube dev cluster setup
├── Dockerfile # Multi-stage build
├── pyproject.toml # Python dependencies & build config
├── requirements.txt # Pip requirements (legacy)
├── LICENSE # Apache 2.0
├── SECURITY.md # Vulnerability reporting policy
├── .gitignore # Git ignore rules
├── .dockerignore # Docker ignore rules
├── CODE_OF_CONDUCT.md # Community guidelines
└── README.md # Project overview & quickstart