HarnessProfile

org.llm4s.agent.harness.HarnessProfile
See theHarnessProfile companion class
@Experimental

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(backend: FileBackend, sandbox: Option[SandboxBackend], tools: ToolSelection, todos: Option[TodoConfig], summarization: Option[SummarizationConfig], offload: Option[OffloadConfig], skills: Option[SkillsConfig], instructions: Option[InstructionsConfig], systemPrompt: PromptMode, permissions: Vector[PermissionRule], toolTimeout: Option[FiniteDuration], retention: RetentionPolicy): HarnessProfile

A profile; every argument defaults to the minimal profile's: the file tools over a new StateFileBackend.

A profile; every argument defaults to the minimal profile's: the file tools over a new StateFileBackend.

Attributes

The opinionated preset: the file tools over a new StateFileBackend, todos, summarisation (with the model-free digest compressor), offload of large results, skills under /skills and instructions in /AGENTS.md, each at its component's defaults, with the default prompt and no permission rules. Each call has its own backend.

The opinionated preset: the file tools over a new StateFileBackend, todos, summarisation (with the model-free digest compressor), offload of large results, skills under /skills and instructions in /AGENTS.md, each at its component's defaults, with the default prompt and no permission rules. Each call has its own backend.

Attributes

def defaultPrompt(profile: HarnessProfile): String

The prompt PromptMode.Default gives profile: how to plan, act and verify, manage context and use tools safely, with a part for each of the file tools, the plan, context management and execute that the profile turns on. Its parts are fixed text, so its size is bounded by them.

The prompt PromptMode.Default gives profile: how to plan, act and verify, manage context and use tools safely, with a part for each of the file tools, the plan, context management and execute that the profile turns on. Its parts are fixed text, so its size is bounded by them.

Attributes

The default retention: the latest DefaultRetainedCheckpoints checkpoints.

The default retention: the latest DefaultRetainedCheckpoints checkpoints.

Attributes

Concrete fields

How many checkpoints a thread keeps by default: every checkpoint is a full snapshot of its state (rule 6).

How many checkpoints a thread keeps by default: every checkpoint is a full snapshot of its state (rule 6).

Attributes