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.

License: Sovereign Source C# .NET


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

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Space using Snapkitty/sovereign-agt 1