Skip to content
agentsessions

Durable kind example

The self-contained example deploys the existing Substrate agentsessionsd, the stock chat harness, host-mediated model calls and PVC-backed SQLite.

flowchart TD
    Client["agentctl --server"] -->|Sessions gRPC| Host["Existing Substrate agentsessionsd"]
    Host --> Journal[("SQLite on persistent volume")]
    Host -->|Model HTTP API| Provider["Ollama or configured provider"]
    Host -->|Verified TLS + projected token| API["ate-api"]
    Setup["Setup + declarative ActorTemplate"] -->|kubectl-ate| API
    Host -->|Harness.Connect| Router["atenet-router"]
    Router --> Actor["microVM or gVisor: stock chatagent"]

The recipe, declarative manifests, template provisioning, fixture, tests and restart smoke all live under examples/substrate-kind/. There is no parallel daemon lifecycle. Generic hash verification remains agentctl verify, outside the deployment recipe.

Use this example to examine journal persistence and continuation across daemon replacement. Use agentsuite-substrate for AgentSuite composition, memory-dependent harnesses, fork and reconstruction replay. Both use the same Sessions/Substrate integration; neither is a production-ready distribution.