Discover Packages
github.com/agent-primitives/sessions
harness
chatagent
package
Version:
v0.3.0
Opens a new window with list of versions in this module.
Published: Oct 22, 2026
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package chatagent provides a text-only conversational reference harness. The host supplies
the model implementation; the harness only builds context and calls EventSink.Model.
type Harness struct {
Model string
}
Harness sends the full recorded conversation to a configured model on every turn.
It holds no durable in-memory state beyond the event log.
Describe declares the configured model and stateless replay contract.
Run builds one turn's context in journal order and lets the host record the model completion.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.