agentle.agents.suspension_managerΒΆ

Suspension manager for handling suspended agent executions.

This module provides the SuspensionManager class that handles storing, retrieving, and managing suspended agent contexts for Human-in-the-Loop workflows where execution needs to be paused for external input.

Functions

abstractmethod(funcobj)

A decorator indicating abstract methods.

get_default_suspension_manager()

Get the default global suspension manager instance.

set_default_suspension_manager(manager)

Set the default global suspension manager instance.

Classes

ABC()

Helper class that provides a standard way to create an ABC using inheritance.

Any(*args, **kwargs)

Special type indicating an unconstrained type.

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

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

InMemorySuspensionStore()

In-memory implementation of SuspensionStore for development and testing.

RedisSuspensionStore([redis_url, key_prefix])

Redis-based implementation of SuspensionStore for distributed systems.

SQLiteSuspensionStore([db_path])

SQLite-based implementation of SuspensionStore for persistent storage.

SuspensionManager([store])

Manages suspended agent executions for Human-in-the-Loop workflows.

SuspensionStore()

Abstract base class for storing suspended execution contexts.

datetime(year, month, day[, hour[, minute[, ...)

The year, month and day arguments are required.

timedelta

Difference between two datetime values.