Deployment, monitoring, and operations toolkit for HEBBS — the cognitive memory engine for AI agents.
This repository contains everything needed to install, deploy, observe, and operate HEBBS — from a single curl command on a laptop to production Kubernetes clusters.
hebbs-deploy/
├── scripts/ Installer scripts (curl | sh)
├── helm/ Helm chart for Kubernetes deployment
├── terraform/ Terraform modules for infrastructure provisioning
├── dashboards/ Grafana dashboards (importable JSON)
├── alerts/ Prometheus alerting rules
├── runbooks/ Operational runbooks and incident procedures
└── examples/ Example configurations and deployment manifests
| Directory | Contents |
|---|---|
scripts/ |
install.sh — curl-pipe installer for macOS and Linux binaries |
helm/ |
Helm chart with configurable values for HEBBS StatefulSet, PVCs, RBAC |
terraform/ |
Terraform modules for cloud infrastructure (VPC, EKS/GKE, storage) |
dashboards/ |
Grafana dashboard JSON files — import via UI or provisioning |
alerts/ |
Prometheus rules.yml files with alert definitions and runbook links |
runbooks/ |
Operations runbook: backup/restore, scaling, upgrades, incident response |
examples/ |
Example values files, Docker Compose setups, and standalone configs |
The fastest way to get HEBBS running on a single machine.
curl -sSf https://hebbs.ai/install | shThis downloads the pre-built hebbs binary from GitHub Releases with SHA-256 checksum verification.
| Variable | Description |
|---|---|
HEBBS_VERSION |
Pin a specific version (e.g. v0.5.0). Default: latest. |
HEBBS_INSTALL_DIR |
Override install directory. Default: ~/.hebbs/bin (non-root) or /usr/local/bin (root). |
HEBBS_NO_VERIFY |
Set to 1 to skip checksum verification. |
# Install a specific version
HEBBS_VERSION=v0.5.0 curl -sSf https://hebbs.ai/install | sh
# Install to a custom directory
HEBBS_INSTALL_DIR=/opt/hebbs/bin curl -sSf https://hebbs.ai/install | shSupported platforms: Linux x86_64, Linux aarch64, macOS arm64 (Apple Silicon).
- Kubernetes 1.27+
- Helm 3.12+
- A Prometheus + Grafana stack (e.g., kube-prometheus-stack)
# Add the HEBBS Helm repo
helm repo add hebbs https://charts.hebbs.ai
helm repo update
# Install with default values
helm install hebbs hebbs/hebbs \
--namespace hebbs \
--create-namespace
# Or install from this repository directly
helm install hebbs ./helm \
--namespace hebbs \
--create-namespace \
-f examples/values-production.yamlkubectl -n hebbs get pods
kubectl -n hebbs port-forward svc/hebbs 6381:6381 50051:50051
# Health check
curl http://localhost:6381/v1/health
# Metrics
curl http://localhost:6381/v1/metricsSee helm/values.yaml for the full list of configurable parameters. Key values:
resources:
requests:
memory: "512Mi"
cpu: "1"
limits:
memory: "1Gi"
cpu: "2"
persistence:
size: 50Gi
storageClass: gp3
config:
blockCacheMb: 256
hnswEfSearch: 100
reflectEnabled: true
reflectIntervalSecs: 3600- Terraform 1.5+
- Cloud provider CLI configured (AWS, GCP, or Azure)
cd terraform/
# Initialize and plan
terraform init
terraform plan -var-file=environments/production.tfvars
# Apply
terraform apply -var-file=environments/production.tfvarsThe Terraform modules provision:
- Kubernetes cluster (EKS/GKE/AKS)
- Persistent volume storage with appropriate IOPS
- Network policies and load balancer
- Monitoring namespace with Prometheus + Grafana
After Terraform completes, deploy HEBBS with Helm using the generated kubeconfig.
Import dashboards from the dashboards/ directory:
| Dashboard | Description |
|---|---|
hebbs-overview.json |
Service health, latency, capacity, cognitive health, errors |
Import via Grafana UI:
- Open Grafana → Dashboards → Import
- Upload the JSON file or paste its contents
- Select your Prometheus datasource
- Click Import
Import via provisioning:
# grafana-provisioning/dashboards/hebbs.yaml
apiVersion: 1
providers:
- name: HEBBS
folder: HEBBS
type: file
options:
path: /var/lib/grafana/dashboards/hebbsLoad alerting rules from the alerts/ directory:
| File | Rules |
|---|---|
hebbs-alerts.yml |
8 rules: down, latency, errors, disk, reflect, compaction, auth |
Load via Prometheus config:
# prometheus.yml
rule_files:
- /etc/prometheus/rules/hebbs-alerts.ymlLoad via Prometheus Operator:
apiVersion: monitoring.coreos.com/v1
kind: PrometheusRule
metadata:
name: hebbs-alerts
labels:
release: kube-prometheus-stack
spec:
# Paste the contents of alerts/hebbs-alerts.yml hereThe runbooks/operations.md contains comprehensive procedures for:
- Backup and Restore — RocksDB checkpoint-based, with kubectl commands
- Scaling Guide — RAM sizing formula and sizing table (100K to 10M memories)
- Upgrade Procedure — Single-replica and multi-replica rolling upgrades
- Incident Response — 7 incident runbooks with triage, root cause, resolution, and prevention
Every Prometheus alert links to its corresponding runbook section via the runbook_url annotation.
| Protocol | Port | Path | Description |
|---|---|---|---|
| gRPC | 50051 | — | Primary API for all memory operations |
| HTTP | 6381 | /v1/health |
Health check (JSON) |
| HTTP | 6381 | /v1/metrics |
Prometheus metrics endpoint |
Deployment tooling in this repository is licensed under Apache 2.0. HEBBS itself is licensed under BSL 1.1 — see the HEBBS repository for details.