Overview
AI Grid Network (AGN) Documentation
Praxis Grid / v0.3.2 (technical preview)
From first result to configuration
A Kubernetes control plane for multi-site AI inference routing.
- Review the preview scope
Understand responsibilities and deployment limitations.
- Install on existing clusters
Follow the release-specific Kubernetes procedure.
- Add an inference provider
Discover and configure a backend.
Browse all pages in the sidebar, or open the source documentation index below. Every link in this path keeps this version.
Full source documentation index
- Technical Preview Scope and Limitations: routing scope, deployment-owner responsibilities, and topology boundaries.
Routing
- Routing Guide: choose a routing behavior and configure policy, scoring, selection groups, affinity, and selection modes.
- Tuning cross-site site selection: how a grid gateway chooses a site, what feeds it, and what to change.
- Routing Architecture and Overlay Contract: overlay format, revision lifecycle, scope, provenance, security, and delivery.
- Provider Scoring: metrics input, normalization, stale data, and scoring implementation.
- Custom Resource Definitions: complete API fields and defaults, including the SiteInvite API and routing configuration.
Architecture
- Overview: operator responsibilities, data-plane boundaries, workspace crates, and terminology.
- Signed Gossip Trust: peer certificate policy, certificate bootstrap, signed state verification, and source map.
- Auth and Policy: provider authentication strategies, access policy, and trust model.
- Enrollment: how a site becomes a member: parties, the flow, trust boundaries, and the planned object-driven shape.
- Consumer Config: operator-generated
consumer Praxis
ConfigMapand theGatewayRef.praxisConfigAPI. - OpenTelemetry: exporter configuration, secret handling, image requirements, and the Praxis 0.7.1 trace-linkage limit.
- External Client Ingress: GTM/GLB edge selection, AGN provider routing, trust boundaries, affinity, snapshot delivery, and provider-boundary ownership.
Operations
- Fleet Dashboard: optional hub web UI drawing every site on a map with health from its own Prometheus; deployed only when you install its chart.
- Adding an Inference Provider: step-by-step workflow for in-cluster, existing-service, and external HTTPS providers.
- Metrics Reference: every metric the operator and the gateway export, with types, labels, and what each one means.
- Scaling the signals listener: connections per peer, listener bounds, polling cost, and the limits to size behind an OpenShift router.
- Operations: local environment setup, validation commands, and operator workflows.
- CI Kind E2E: validation tiers, gate sequence, sequencing requirements, and environment dependencies.
Examples
- Provider Traffic Selection: runnable three-cluster topology for AGN selection groups and request-time round-robin provider choice.
- Praxis demos: deployable examples with automated runtime proofs of routing, failover, security boundaries, and provider lifecycle.
Integration Qualifications
- Provider Traffic Qualification: proves multi-cluster discovery, accepted-overlay delivery, request-time round-robin selection, provider attribution, and stable routing.
- Operator-derived Local Routing Qualification: proves operator-derived local dials reach the embedded Gateway, attributed requests follow those dials, passive health demotes and recovers a failed backend, and endpoint replacement eventually routes to the replacement backend.
- Static Weighted Provider Qualification:
proves configured capacity propagation, weighted overlay convergence,
proportional request selection, hot reload, and equal-weight recovery. This
is the release qualification for
weightedRandom, static placement, provider capacity, weighted-overlay, or cross-site capacity propagation changes. - Combined-site Lifecycle Qualification: is the release qualification for combined-site routing, provider add/remove/re-add, session fallback, rollout, trust, or lifecycle changes.
- Distributed Token Quota Qualification: proves shared identity-scoped quota enforcement across gateway replicas, regional provider selection, expiry, restart persistence, fail-closed state storage, and storage-network isolation.
- Single-cluster Multi-gateway Qualification: proves shared overlay delivery and independent consumer/provider gateway behavior within one Kind cluster and one GridSite.
- Provider draining: documents graceful provider maintenance, gateway-wide selection, and reversible drain state.
These integration tests create their environments through Forge and execute
through first-class Rust xtask commands. Their topology READMEs document
image preparation, execution, evidence, and cleanup.
Installation
- Existing-Cluster Helm Installation: install AGN and Praxis on running Kubernetes clusters with Helm.
- 0.3.x CRD Field Migration — migrate deprecated field names before the 0.3.x upgrade.
Development
- Release Process: versioning, validation, artifact publication, and release workflow.
- Development: build, test, format, lint, and coverage.
- Conventions: coding style, testing requirements, documentation rules, and commit attribution.
- Developing: Conventions: shared Praxis coding, tracing, testing, and review conventions.
- Developing: Type Design: shared Praxis guidance for serde, enums, newtypes, and representable states.
- Unicode Audit: tracked text inventory and intentional Unicode exceptions.