YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
sovereign-agt
C# governance stack for the SnapKitty ecosystem. Mesh. Runtime. OS. Observability. gRPC.
Architecture
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β SNAPKITTY AGT GOVERNANCE β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β gRPC Interface β β
β β (port 7701) β β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β β
β ββββββββββββββββββΌβββββββββββββββββ β
β βΌ βΌ βΌ β
β ββββββββββββββββ ββββββββββββββββ ββββββββββββββββββββ β
β β AGT.Mesh β β AGT.Runtime β β AGT.OS β β
β β (service β β (execution β β (process β β
β β discovery) β β engine) β β control) β β
β ββββββββββββββββ ββββββββββββββββ ββββββββββββββββββββ β
β β β β β
β ββββββββββββββββββΌβββββββββββββββββ β
β βΌ β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β AGT.SRE β β
β β (Site Reliability Engineering) β β
β β Health checks / Metrics / Alerts / Dashboards β β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β β
β βΌ β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β AGT.Cli β β
β β (Command-line interface) β β
β β status / start / stop / logs / config β β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Solution Structure
SnapKitty.AGT/
βββ AGT.Mesh/ Service discovery and load balancing
β βββ MeshService.cs Core mesh operations
β βββ PeerDiscovery.cs Peer discovery protocol
β βββ LoadBalancer.cs Round-robin load balancing
β
βββ AGT.Runtime/ Execution engine
β βββ RuntimeService.cs Core runtime operations
β βββ TaskScheduler.cs Non-recursive task scheduling
β βββ ProcessManager.cs Process lifecycle management
β
βββ AGT.OS/ Process control
β βββ OSService.cs Core OS operations
β βββ ProcessControl.cs Process start/stop/signal
β βββ ResourceMonitor.cs CPU/memory/disk monitoring
β
βββ AGT.SRE/ Site reliability engineering
β βββ SREService.cs Core SRE operations
β βββ HealthCheck.cs Health check endpoints
β βββ Metrics.cs Metrics collection
β βββ Alerting.cs Alert management
β
βββ AGT.Grpc/ gRPC server (port 7701)
β βββ GrpcServer.cs Server configuration
β βββ Proto/ Protocol Buffers
β βββ Services/ gRPC service implementations
β
βββ AGT.Cli/ Command-line interface
β βββ Program.cs Entry point
β βββ Commands/ CLI commands
β βββ Output/ Output formatting
β
βββ AGT.Tests/ Unit tests
βββ MeshTests.cs
βββ RuntimeTests.cs
βββ OSTests.cs
βββ SRETests.cs
Quick Start
Build
dotnet restore
dotnet build
Run gRPC Server
dotnet run --project AGT.Grpc
# Server listening on port 7701
CLI Usage
# Check status
dotnet run --project AGT.Cli -- status
# Start service
dotnet run --project AGT.Cli -- start --service mesh
# Stop service
dotnet run --project AGT.Cli -- stop --service runtime
# View logs
dotnet run --project AGT.Cli -- logs --service os --tail
# Health check
dotnet run --project AGT.Cli -- health
gRPC Client
using Grpc.Net.Client;
var channel = GrpcChannel.ForAddress("http://localhost:7701");
var client = new AGT.Mesh.Mesh.MeshClient(channel);
// Discover peers
var peers = await client.DiscoverPeersAsync(new DiscoverPeersRequest());
foreach (var peer in peers.Peers) {
Console.WriteLine($"Peer: {peer.Id} at {peer.Address}");
}
Interactive Demo
# Demo 1: Service mesh status
$ dotnet run --project AGT.Cli -- status
βββββββββββββββββββββββββββββββββββββββββββ
β AGT Mesh Status β
βββββββββββββββββββββββββββββββββββββββββββ€
β Service β Status β Peers β Uptime β
βββββββββββββββββββββββββββββββββββββββββββ€
β mesh β β UP β 3 β 2h 15m β
β runtime β β UP β 3 β 2h 15m β
β os β β UP β 3 β 2h 15m β
β sre β β UP β 3 β 2h 15m β
βββββββββββββββββββββββββββββββββββββββββββ
# Demo 2: Health check
$ dotnet run --project AGT.Cli -- health
{
"status": "healthy",
"services": {
"mesh": "healthy",
"runtime": "healthy",
"os": "healthy",
"sre": "healthy"
},
"timestamp": "2025-01-01T00:00:00Z"
}
# Demo 3: Process control
$ dotnet run --project AGT.Cli -- start --service runtime
Starting service: runtime... β
$ dotnet run --project AGT.Cli -- stop --service runtime
Stopping service: runtime... β
gRPC Services
| Service | Port | Description |
|---|---|---|
| AGT.Mesh | 7701 | Service discovery, load balancing |
| AGT.Runtime | 7701 | Task scheduling, process management |
| AGT.OS | 7701 | Process control, resource monitoring |
| AGT.SRE | 7701 | Health checks, metrics, alerting |
Invariants
| Invariant | Description |
|---|---|
| No Recursion | All task scheduling is iterative |
| Typed Contracts | All gRPC messages are strongly typed |
| Deterministic | Same config β same behavior |
| Fail-Closed | Any error terminates processing |
| Observable | Every state change is logged |
Testing
# Run all tests
dotnet test
# Run with coverage
dotnet test /p:CollectCoverage=true
# Run specific test class
dotnet test --filter "ClassName=AGT.Tests.MeshTests"
License
Sovereign Source License β see SOVEREIGN.md
SNAPKITTY-AGT-CSHARP-001
Mesh. Runtime. OS. SRE. gRPC.
Same service. Same state.
No recursion. No borrowed thesis.
Citation
If you use this work, please cite:
@misc{snapkittywest2026sovereigncompute,
title = {SNAPKITTYWEST: Sovereign Compute Architecture with Linear Types, WORM Seals, and Goldilocks Field Arithmetic},
author = {SnapKitty Collective},
year = {2026},
doi = {10.5281/zenodo.21132094},
url = {https://doi.org/10.5281/zenodo.21132094}
}
Paper: https://doi.org/10.5281/zenodo.21132094 ORCID: https://orcid.org/0009-0006-1916-5245
Inference Providers NEW
This model isn't deployed by any Inference Provider. π Ask for provider support