Table of Contents

Class AgentDefinitionFile

Namespace
Oscova.Agents.Persistence
Assembly
Oscova.Agents.dll

YAML frontmatter shape for an agent definition stored in an agent.md file.

public sealed class AgentDefinitionFile

Inheritance

Inherited Members

Fields

CurrentSchemaVersion

Identifies the agent definition shape understood by this release.

Properties

AgentToolIds

Gets or sets exposed agent identifiers allowed as tools.

AllowedDirectories

Gets or sets explicit directory access entries allowed for the agent.

AllowedSkillNames

Gets or sets skill names allowed for the agent.

AllowedToolNames

Gets or sets qualified tool names allowed for the agent.

AllowedUserIds

Gets or sets user identifiers allowed to access a shared agent.

AllowedWorkspaces

Gets or sets legacy workspace identifiers allowed for the agent.

DefaultInstruction

Gets or sets the retained default supplied by an agent contribution.

Description

Gets or sets the persisted agent description.

Id

Gets or sets the persisted agent identifier.

InstructionMode

Gets or sets the saved instruction composition mode.

InstructionSource

Gets or sets the opaque source of a managed instruction.

IsCompactionEnabled

Gets or sets whether conversation compaction is enabled.

IsExposedAsTool

Gets or sets whether this agent may be exposed as a tool.

IsLocalOnly

Gets or sets whether the agent may use only loopback and local-network endpoints.

IsMain

Gets or sets whether this agent is the user's main agent.

IsMemoryEnabled

Gets or sets whether memory context is enabled.

IsShared

Gets or sets whether this agent can be visible outside its owner.

IsSharedFolderEnabled

Gets or sets whether the owner granted the agent the host-wide shared folder. Missing means off.

IsSubagentDelegationEnabled

Gets or sets whether the agent may delegate tasks to separate instances of itself.

IsTodoEnabled

Gets or sets whether the agent gets an in-session todo list.

IsToolSearchEnabled

Gets or sets whether this agent's tools are hidden behind the search_tools discovery tool.

ModelOverrideId

Gets or sets the optional chat model provider override for this agent.

Name

Gets or sets the persisted display name.

OwnerUserId

Gets or sets the persisted owner user identifier.

PinnedToolNames

Gets or sets the qualified tool names kept always-visible when tool search is enabled.

SchemaVersion

Gets or sets the persisted definition shape identifier.

UseCallerModelForConsultations

Gets or sets whether consultations may use the caller-selected model provider.