agentle.agents.a2a.models.artifactΒΆ

A2A Artifact Model

This module defines the Artifact class, which represents output artifacts created by agents in the A2A protocol. Artifacts are structured outputs that can be generated during task processing, such as code snippets, data analyses, or other content.

Functions

Field()

!!! abstract "Usage Documentation"

Classes

Any(*args, **kwargs)

Special type indicating an unconstrained type.

Artifact(*[, name, description, metadata, ...])

Represents an output artifact created by an agent.

BaseModel()

Alias for pydantic.BaseModel.

ConfigDict

Alias for pydantic.ConfigDict.

Sequence()

All the operations on a read-only sequence.

TextPart(*[, type])

Represents a plain text part of a message.