hermes

package
v0.32.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2026 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const BaseImageVersion = UpstreamTag + "-claw.3"
View Source
const (
	// RunResultMarker starts the wrapper's result frame on stdout.
	RunResultMarker = "\x1eclaw-run-result\n"
)
View Source
const UpstreamTag = "v2026.6.19"

Variables

View Source
var BaseImageTag = "ghcr.io/mostlydev/hermes-base:" + BaseImageVersion

Functions

func CopyPersonaSoul

func CopyPersonaSoul(personaHostPath, homeDir string) error

func GenerateConfig

func GenerateConfig(rc *driver.ResolvedClaw, modelCfg *modelConfig) ([]byte, error)

func GenerateEnvFile

func GenerateEnvFile(rc *driver.ResolvedClaw, modelCfg *modelConfig) ([]byte, error)

func GenerateJobsJSON

func GenerateJobsJSON(rc *driver.ResolvedClaw) ([]byte, error)

func WriteDefaultSoul added in v0.3.5

func WriteDefaultSoul(homeDir, agentName, podName string) error

WriteDefaultSoul writes a Clawdapus-generated SOUL.md to the Hermes home directory. This pre-empts the Hermes runner's default identity seeding ("You are Hermes, an AI assistant made by Nous Research") and establishes the agent's own identity from its service name.

The generated soul keeps the voice/craft guidance that makes Hermes agents effective (concise, no sycophancy, varied structure) while replacing the runner-branded identity with the agent's Clawdapus identity.

func WriteEffectiveAgents

func WriteEffectiveAgents(workspaceDir, agentHostPath, clawdapusMD string) (string, error)

Types

type Driver

type Driver struct{}

func (*Driver) CompileRunWorker added in v0.32.0

func (d *Driver) CompileRunWorker(rc *driver.ResolvedClaw, opts driver.RunWorkerOpts) (*driver.RunWorkerSpec, error)

func (*Driver) HealthProbe

func (d *Driver) HealthProbe(ref driver.ContainerRef) (*driver.Health, error)

func (*Driver) Materialize

func (*Driver) PostApply

func (d *Driver) PostApply(rc *driver.ResolvedClaw, opts driver.PostApplyOpts) error

func (*Driver) SupportsRunProfile added in v0.32.0

func (d *Driver) SupportsRunProfile(taskHome bool) bool

SupportsRunProfile reports which per-run profiles Hermes compiles: only the task-home profile. A stateless one-shot Hermes worker is not supported.

func (*Driver) Validate

func (d *Driver) Validate(rc *driver.ResolvedClaw) error

func (*Driver) ValidateRunWorker added in v0.32.0

func (d *Driver) ValidateRunWorker(rc *driver.ResolvedClaw) error

ValidateRunWorker is separate from Validate, which requires a channel handle that a per-run worker never has.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL