runtime

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEngine

func NewEngine(cfg config.Config, store session.Store, registry *tools.Registry) (*engine.Engine, error)

func NewEngineWithProvider

func NewEngineWithProvider(cfg config.Config, p provider.Provider, store session.Store, registry *tools.Registry) (*engine.Engine, error)

func NewHarness

func NewHarness(cfg config.Config, opts HarnessOptions) (*agentharness.AgentHarness, error)

Types

type CapabilityOptions

type CapabilityOptions struct {
	MCPServers             []mcp.ServerConfig
	SkillSources           []skills.Source
	SkillsEnabled          bool
	SkillPromptBudgetBytes int
	MCPManager             *mcp.Manager
}

type HarnessOptions

type HarnessOptions struct {
	Store            sessiontree.Repo
	Tools            *tools.Registry
	PromptStore      cache.Store
	Artifacts        artifact.Store
	Sink             event.Sink
	Approver         tools.Approver
	StopHook         engine.StopHook
	CompactionPrompt compaction.PromptOptions
	TitleGenerator   agentharness.TitleGenerator
	TurnPolicy       agentharness.TurnPolicy
	LoopLimits       agentharness.LoopLimits
	NewID            func(string) string
	Capability       CapabilityOptions
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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