Documentation
¶
Overview ¶
Package echoagent is a trivial STATELESS_REPLAY api.Harness: it feeds the last input to the model through the host-mediated sink and lets the recorded completion be the output. It exists to close the agentsessions loop end-to-end (controller → harness → journal → replay) without a real model or tools, and is the harness used by the pod resume/fork demo.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Model ¶
func Model(_ context.Context, req api.ModelRequest) (api.ModelResponse, error)
Model is the echo "model": it returns the last message text prefixed with "echo:". It stands in for a real model provider; on replay the host serves the recorded completion instead of calling this.
Types ¶
type Harness ¶
type Harness struct{}
Harness is the echo BYOH. It holds no durable in-memory state beyond the event log, so it runs on any runtime (including a plain pod) and is reconstructed on resume/fork purely by replay.