# Type Alias SingleAgentCallback

SingleAgentCallback: (
context: Context,
) => Promise<Content | undefined> | Content | undefined

A single callback function for an agent.

#### Type Declaration

- - (context: Context): Promise<Content | undefined> | Content | undefined

  - #### Parameters

    - context: Context

    #### Returns Promise<Content | undefined> | Content | undefined

- Defined in agents/base_agent.ts:23