Table of Contents

Class AgentDefinition

Namespace
Oscova.Agents.Definitions
Assembly
Oscova.Agents.dll

Defines an agent that can be built by the Oscova agent runtime.

public class AgentDefinition

Inheritance

Inherited Members

Extension Methods

Properties

AgentToolIds

Gets or sets the exposed agent identifiers this agent may call as tools.

AllowedDirectories

Gets or sets the explicit filesystem directories this agent may read or write.

AllowedSkillNames

Gets or sets the skill names this agent may load.

AllowedToolNames

Gets or sets the qualified tool names this agent may use.

AllowedUserIds

Gets or sets the users allowed to see or run a shared agent.

AllowedWorkspaces

Gets or sets legacy workspace identifiers this agent may access.

Description

Gets or sets a short description of the agent's purpose.

Id

Gets or sets the stable identifier used to persist and cache the agent.

IsCompactionEnabled

Gets or sets whether long conversations should be summarized when they approach the token budget.

IsConfidential

Gets or sets whether this agent stores its chats and task runs encrypted at rest.

IsExposedAsTool

Gets or sets whether other agents may call this agent as a tool.

IsLocalOnly

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

IsMain

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

IsMemoryEnabled

Gets or sets whether the agent receives long-term memory context.

IsShared

Gets or sets whether the definition is visible beyond its owner.

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 display name shown to users and the model runtime.

OwnerUserId

Gets or sets the user that owns the definition, when ownership is persisted with the model.

PinnedToolNames

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

SystemInstruction

Gets or sets the system instruction used to shape the agent's behavior.

ToolPolicies

Sparse governance overrides for selected tools. Missing tools inherit defaults.