Kubernetes, but for AI agents.
NeuroNetes is an open-source Kubernetes extension framework that makes deploying and scaling LLM-based AI agents as simple as deploying a web service. Stop wrestling with GPU scheduling, cold starts, and session management—NeuroNetes handles it all.
📚 Documentation · 🎯 Examples · 📊 Benchmarks
Traditional Kubernetes wasn’t designed for AI agents. NeuroNetes solves the hard problems:
| Challenge | Vanilla K8s | NeuroNetes |
|---|---|---|
| Cold start time | 45+ seconds | 2.3 seconds |
| GPU utilization | ~50% | 85%+ |
| Session affinity | Manual setup | Built-in |
| Token-aware scaling | Not available | Native support |
| Model versioning | DIY | First-class CRDs |
Choose your preferred installation method:
# Clone the repository
git clone https://github.com/Bowenislandsong/NeuroNetes.git
cd NeuroNetes
# Run quickstart script (creates Kind cluster, installs NeuroNetes)
./scripts/quickstart.sh -k -m -s
# Or install to existing cluster with monitoring and samples
./scripts/quickstart.sh -m -s
# Install using Helm
helm install neuronetes ./charts/neuronetes \
--namespace neuronetes-system \
--create-namespace
# With high availability and monitoring
helm install neuronetes ./charts/neuronetes \
--namespace neuronetes-system \
--create-namespace \
--set highAvailability.enabled=true \
--set metrics.serviceMonitor.enabled=true
# For AWS EKS
kubectl apply -k deploy/eks/
# For Google GKE
kubectl apply -k deploy/gke/
# For Azure AKS
kubectl apply -k deploy/aks/
# For on-premises
kubectl apply -k deploy/onprem/
# Install CRDs
kubectl apply -f config/crd/
# Deploy controllers
kubectl apply -f config/deploy/
# Verify installation
kubectl get pods -n neuronetes-system
apiVersion: neuronetes.io/v1alpha1
kind: Model
metadata:
name: llama-3-70b
spec:
weightsURI: s3://models/llama-3-70b/
size: 140GB
quantization: int4
shardSpec:
count: 4
strategy: tensor-parallel
cachePolicy:
priority: high
pinDuration: 1h
# Deploy a chat agent in under a minute
kubectl apply -f examples/chat-agent/
# Check your agent is running
kubectl get agentpools
See examples/ for complete configurations including:
| Guide | Description |
|---|---|
| Architecture | System design deep-dive |
| CRD Reference | Complete API specifications |
| Autoscaling | Token-aware scaling strategies |
| Metrics | 60+ specialized metrics |
| Cloud Deployment | AWS, GCP, Azure guides |
| Plugins | Extend NeuroNetes |
# Quick start with Docker Compose
make docker-compose-up
# Or use Kind for full K8s experience
make dev
# Build and test
make build && make test
See docs/local-development.md for detailed setup.
We welcome contributions! See CONTRIBUTING.md for guidelines.
Apache License 2.0 - See LICENSE for details.