struct

Anthropic::BetaAgent

Inherits JSON::Serializable < Struct < Value < Object

Stateful Managed Agent returned by the Agents API (beta)

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

archived_at

Timestamp when the agent was archived, or nil if active

Source
created_at

Timestamp when the agent was created

Source
description

Description of what the agent does

Source
id

Unique agent identifier

Source
mcp_servers

MCP servers this agent connects to

Source
metadata

Arbitrary key-value metadata attached to the agent

Source
model

Model configuration (e.g. model ID, effort, speed)

Source
multiagent

Coordinator topology configurations for multiagent settings

Source
name

Human-readable name for the agent

Source
skills

Skills available to the agent

Source
system_

System prompt for the agent

Source
tools

Tool configurations available to the agent

Source
type

Type of resource (always "agent")

Source
updated_at

Timestamp when the agent was last updated

Source
version

Current version number of the agent configuration

Source