Skip to content

[FEATURE] Hook/Callback Support for Graph Agents #564

@ilove2git

Description

@ilove2git

Problem Statement

Currently, the Graph multi-agent mode does not support hooks or callbacks for agents. Attempts to add an agent with hooks (i.e., custom event callbacks) result in a ValueError: "Agent callbacks are not supported for Graph agents yet."

Proposed Solution

Implement hook/callback support for agents in Graph multi-agent mode, consistent with the behavior provided in other orchestration modes.

Use Case

Allow users to leverage hooks for custom event handling, logging, telemetry, or integration with external systems when using Graph-based agent orchestration.

Alternatives Solutions

No response

Additional Context

Related: Session Persistence for Graph Agents

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions