Skip to main content

Module agent_definition

Module agent_definition 

Source
Expand description

Agent definition file parsing and validation.

Re-exports from oxicode_agent::agent_definition — the canonical implementation lives in the oxicode-agent crate (lower layer in the dependency graph).

Structs§

AgentDefinition
Agent definition parsed from a markdown file with YAML frontmatter.
AgentDiscovery
Agent discovery from filesystem directories.

Enums§

AgentScope
Agent visibility scope for discovery queries.
DefaultContext
Default context for agent sessions.

Functions§

current_subagent_depth
Get the current subagent nesting depth from the environment. Default is 0 (top-level process).
max_subagent_depth
Get the maximum allowed subagent depth from the environment. Default is 3.
validate_agent_name
Validate an agent name.