Schema
Central schema package for gllm_agents data models.
A2AClientConfig
Bases: BaseModel
Configuration for A2A client.
A2AEvent
Bases: TypedDict
Structured event data used by the A2A connector.
A2AStreamEventType
Bases: Enum
Semantic event types for A2A agent-executor communication.
AgentConfig
ApprovalDecision(request_id, decision, operator_input, decided_at=None, latency_ms=None)
dataclass
Captures the operator outcome.
__post_init__()
Initialize timestamp if not provided.
ApprovalDecisionType
Bases: StrEnum
Enumeration of possible approval decision types.
ApprovalLogEntry(request_id, tool_name, decision, event='hitl_decision', agent_id=None, thread_id=None, additional_context=None, timestamp=None)
dataclass
Structured log entry for HITL decisions.
__post_init__()
Initialize timestamp if not provided.
ApprovalRequest(request_id, tool_name, arguments_preview, context=None, created_at=None, timeout_at=None)
dataclass
Represents an in-flight prompt shown to the operator.
__post_init__()
Initialize timestamps if not provided.
create(tool_name, arguments_preview, context=None)
classmethod
Create a new approval request with generated request_id.
BaseAgentConfig
Bases: BaseModel
Base configuration for agent implementations.
Config
Pydantic v1 fallback config for BaseAgentConfig.
CredentialType
Bases: StrEnum
Credential type enumeration for type safety and better developer experience.
HttpxClientOptions
Bases: BaseModel
Options for the HTTP client.
Config
Pydantic v1 fallback config for HttpxClientOptions.
LangflowAgentConfig
Bases: BaseAgentConfig
Configuration for Langflow agent implementations.
Config
Pydantic v1 fallback config for LangflowAgentConfig.
StorageConfig(storage_type=StorageType.MEMORY, object_prefix=OBJECT_STORAGE_PREFIX, object_use_json=False)
dataclass
Configuration for storage providers.
from_env()
classmethod
Create StorageConfig from environment variables.
StorageType
Bases: StrEnum
Supported storage types.
StreamMode
Bases: StrEnum
LangGraph stream modes for astream operations.
ToolCallInfo
Bases: TypedDict
Structured information for tool invocation events.
ToolCallResult(messages, artifacts, metadata_delta, references, step_usage)
dataclass
Container for the results of a single tool call execution.
ToolResultInfo
Bases: TypedDict
Structured information for tool completion events.
ToolStorageParams(tool, tool_output, tool_call, tool_call_id, resolved_args, state)
dataclass
Parameters required for automatically storing tool outputs.