AgentConfig
openmolt / AgentConfig
Interface: AgentConfig
Defined in: types/index.ts:244
Full configuration object for creating an agent via om.createAgent().
Properties
config?
optionalconfig:Partial<OpenMoltConfig>
Defined in: types/index.ts:252
Override top-level OpenMolt configuration for this agent.
instructions?
optionalinstructions:string
Defined in: types/index.ts:254
System instructions that guide the agent's behaviour (inline).
instructionsPath?
optionalinstructionsPath:string
Defined in: types/index.ts:256
Path to a Markdown file containing the agent's instructions.
integrations?
optionalintegrations:AgentIntegrationConfig[]
Defined in: types/index.ts:258
Integrations the agent is allowed to use.
memory?
optionalmemory:MemoryConfig
Defined in: types/index.ts:260
Memory configuration.
model
model:
string
Defined in: types/index.ts:248
Model identifier in the format provider:model-name (e.g. openai:gpt-4o).
modelConfig?
optionalmodelConfig:ModelConfig
Defined in: types/index.ts:250
Per-call model configuration (temperature, thinking, etc.).
name
name:
string
Defined in: types/index.ts:246
Display name of the agent.
onHumanInputRequest?
optionalonHumanInputRequest:false| (prompt) =>Promise<string>
Defined in: types/index.ts:265
Called when the agent issues a requestHumanInput command.
Return the user's reply as a string. Set to false to disable human input.
outputSchema?
optionaloutputSchema:ZodTypeAny
Defined in: types/index.ts:267
Zod schema the agent's finish output must conform to.