Skip to content

AgentInfo

Base classes

Name Children Inherits
ClaudeCodeBaseModel
clawd_code_sdk.models.base
Base model for all Claude Code Pydantic models.

⋔ Inheritance diagram

graph TD
  1532399400["agents.AgentInfo"]
  2604142835["base.ClaudeCodeBaseModel"]
  3879467795["main.BaseModel"]
  2751680898["builtins.object"]
  2604142835 --> 1532399400
  3879467795 --> 2604142835
  2751680898 --> 3879467795

🛈 DocStrings

Bases: ClaudeCodeBaseModel

Information about an available subagent that can be invoked via the Agent tool.

Source code in src/clawd_code_sdk/models/agents.py
class AgentInfo(ClaudeCodeBaseModel):
    """Information about an available subagent that can be invoked via the Agent tool."""

    name: str
    """Agent type identifier (e.g., "Explore")."""

    description: str
    """Description of when to use this agent."""

    model: Model | str | None = None
    """Model alias this agent uses. If omitted, inherits the parent's model."""

description instance-attribute

description: str

Description of when to use this agent.

model class-attribute instance-attribute

model: Model | str | None = None

Model alias this agent uses. If omitted, inherits the parent's model.

name instance-attribute

name: str

Agent type identifier (e.g., "Explore").

:fa-brands-github: Show source on GitHub