Skip to content

@usine/config/agent

An Agent’s authored brain, parent overrides, and standing instructions, named by its Markdown filename.

  • Schema.Class

new AgentFile(…args): AgentFile

Parameter Type
…args [props: object, options?: MakeOptions]

AgentFile

readonly effort: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max"

readonly harness: "claude" | "codex" | "pi"

readonly model: string & Brand<"ModelId">

readonly name: string & Brand<"AgentName">

readonly parentEffort: Option<"off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max">

readonly parentModel: Option<string & Brand<"ModelId">>

readonly persona: string & Brand<"AgentPersona">

get agent(): Agent

The roster member represented by this file, including persona and parent overrides.

Agent


An Agent file excluded from the roster because it could not be loaded.

  • Schema.Class

new InvalidAgent(…args): InvalidAgent

Parameter Type
…args [props: object, options?: MakeOptions]

InvalidAgent

readonly error: ConfigFileError

readonly file: string & Brand<"InstancePath">