Skip to content

Quickstart

This guide walks through installing kslip, watching PathLease conflict arbitration live in kubectl, binding a team of durable agent seats with AgentSet, and dispatching work with Assignment.

On a Kubernetes 1.32+ cluster running kagent (api.kagent.dev/v1alpha3) with Agent Substrate, install kslip from GitHub Container Registry:

Terminal window
helm upgrade --install kslip oci://ghcr.io/kslip-dev/charts/kslip \
--namespace kslip-system --create-namespace

To spin up a fresh local kind cluster containing kagent, Agent Substrate, a test Git server, and kslip from a clone of this repository:

Terminal window
git clone https://github.com/kslip-dev/kslip.git
cd kslip
make e2e-up
export KUBECONFIG="$PWD/bin/e2e.kubeconfig"

Verify that the controller manager is ready:

Terminal window
kubectl --namespace kslip-system rollout status deployment/kslip-controller

PathLease requires no model API key and reconciles immediately once the controller is running. Create a namespace and apply the four leases in examples/quickstart/02-pathleases.yaml:

Terminal window
kubectl create namespace kslip-demo
kubectl --namespace kslip-demo apply -f examples/quickstart/02-pathleases.yaml
kubectl --namespace kslip-demo get pathleases

Output:

Terminal window
NAME REPOSITORY HOLDER MODE PHASE MERGE AGE
payments-retry github.com/acme/checkout quickstart/task-1 Ordered Held True 5s
billing-tax github.com/acme/checkout quickstart/task-2 Ordered Held True 5s
payments-audit github.com/acme/checkout quickstart/task-3 Ordered Held False 5s
payments-schema github.com/acme/checkout quickstart/task-4 Exclusive Pending False 5s
  • payments-retry and billing-tax touch disjoint paths, so both are Held and MERGE=True.
  • payments-audit writes internal/payments/retry.go, which overlaps payments-retry’s internal/payments/**. Because both are Ordered, payments-audit proceeds in parallel (Held) and merges after payments-retry (MERGE=False).
  • payments-schema writes api/payments.proto, which payments-retry reads. Because payments-schema is Exclusive, it waits (Pending) until payments-retry finishes.

Release payments-retry and watch the remaining leases advance automatically:

Terminal window
kubectl --namespace kslip-demo delete pathlease payments-retry
kubectl --namespace kslip-demo get pathleases

payments-audit flips to MERGE=True and payments-schema promotes from Pending to Held and MERGE=True.

When your namespace contains kagent Agent resources named planner and builder, apply examples/quickstart/01-agentset.yaml to create an AgentSet with one planner seat and two builder seats:

Terminal window
kubectl --namespace kslip-demo apply -f examples/quickstart/01-agentset.yaml
kubectl --namespace kslip-demo get agentsets,agentclaims

kslip creates quickstart-team-planner-0, quickstart-team-builder-0, and quickstart-team-builder-1, binds each AgentClaim to its own kagent Session, and keeps each seat bound across Session expirations and Agent revision updates. If the referenced Agents live in another namespace (such as kagent), apply the manifest in that namespace instead.

Send an Assignment to the first builder seat with examples/quickstart/03-assignment.yaml:

Terminal window
kubectl --namespace kslip-demo apply -f examples/quickstart/03-assignment.yaml
kubectl --namespace kslip-demo get assignments --watch

Because quickstart-team-builder-0 sets resetPolicy: AfterAssignment, kslip replaces its Session after the Assignment finishes so the next unit of work starts from a clean workspace.

Delete the demo namespace (removing all demo AgentClaim, AgentSet, Assignment, and PathLease resources cleanly):

Terminal window
kubectl delete namespace kslip-demo

If you created the local kind sandbox with make e2e-up, tear it down with:

Terminal window
make e2e-down
  • Install kslip — production Helm configuration, kagent auth, HTTPS callbacks, verifier isolation, and Prometheus metrics.
  • WorkflowRun and Verifier — multi-step agent graphs with JSON Schema handoffs, CEL gates, digest-pinned verification Jobs, and atomic Git landing.
  • config/samples/ — full manifest examples for every kslip.dev/v1alpha1 resource.