agentle.agents.templates.data_collection.progressive_profilling_agentΒΆ

Functions

PrivateAttr()

!!! abstract "Usage Documentation"

asynccontextmanager(func)

@asynccontextmanager decorator.

cast(typ, val)

Cast a value to a type.

contextmanager(func)

@contextmanager decorator.

dedent(text)

Remove any common leading whitespace from every line in text.

Classes

Agent(*[, uid, name, description, url, ...])

The main class of the Agentle framework that represents an intelligent agent.

AgentRunOutput(*[, generation, ...])

Represents the complete result of an agent execution.

Any(*args, **kwargs)

Special type indicating an unconstrained type.

AssistantMessage(*[, role])

Represents a message from an assistant in the system.

AsyncGenerator()

BaseModel()

Alias for pydantic.BaseModel.

CollectedData(*[, fields, pending_fields, ...])

Represents the current state of collected data

ConfigDict

Alias for pydantic.ConfigDict.

Context(*[, context_id, message_history, ...])

Container for contextual information that guides an agent's behavior.

DeveloperMessage(*[, role])

Represents a message from a developer in the system.

FieldSpec(*, name, type, description[, ...])

Specification for a field to collect

FilePart(*[, type])

Represents a file attachment part of a message.

GenerationProvider(*[, otel_clients])

Abstract base class for AI generation service providers.

Generator()

Mapping()

A Mapping is a generic container for associating key/value pairs.

MutableMapping()

A MutableMapping is a generic container for associating key/value pairs.

MutableSequence()

All the operations on a read-write sequence.

ProgressiveProfilingAgent(*, field_specs, ...)

A stateless agent specialized in progressive data collection using structured outputs

Sequence()

All the operations on a read-only sequence.

TextPart(*[, type])

Represents a plain text part of a message.

Tool(*[, type, description, ignore_errors])

A callable tool that can be used by AI models to perform specific functions.

ToolExecutionResult(*[, type, ...])

Represents the result of a tool execution within a step.

ToolExecutionSuggestion(*[, type, id, args])

Represents a suggestion to execute a specific tool.

UserMessage(*[, role])

Represents a message from a user in the system.