agentle.agents.agent_inputΒΆ

Classes

Any(*args, **kwargs)

Special type indicating an unconstrained type.

AssistantMessage(*, content[, role])

Message generated by an assistant in the MCP system.

BytesIO([initial_bytes])

Buffered I/O implementation using an in-memory bytes buffer.

Callable()

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.

FilePart(*[, type])

Represents a file attachment part of a message.

ParsedDocument(*, name, sections)

Represents a fully parsed document with its sections and metadata.

Path(*args, **kwargs)

PurePath subclass that can make system calls.

Prompt(*, content[, compiled])

Represents a text prompt that can contain template expressions.

Sequence()

All the operations on a read-only sequence.

StringIO([initial_value, newline])

Text I/O implementation using an in-memory buffer.

TextPart(*[, type])

Represents a plain text part of a message.

Tool(*[, type, description])

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

UserMessage(*[, role])

Represents a message from a user in the system.