# BeforeAgentCallback

interface BeforeAgentCallback : Callback

Callback invoked before an agent starts running.

## Types

Companion
Link copied to clipboard
object Companion

## Properties

name
Link copied to clipboard
open val name: String

The name of this callback, used for tracing and logging.

## Functions

call
Link copied to clipboard
abstract suspend fun call(context: CallbackContext): CallbackChoice<EventActions, Content>

Callback executed before an agent's primary logic is invoked.