# Interface BaseAgentConfig

The config of a base agent.

interface BaseAgentConfig {
afterAgentCallback?: AfterAgentCallback;
beforeAgentCallback?: BeforeAgentCallback;
description?: string;
name: string;
parentAgent?: BaseAgent;
subAgents?: BaseAgent[];
}

#### Hierarchy (View Summary)

- BaseAgentConfig
  - LlmAgentConfig
  - LoopAgentConfig

- Defined in agents/base_agent.ts:42

## Properties

### `Optional` afterAgentCallback

afterAgentCallback?: AfterAgentCallback

- Defined in agents/base_agent.ts:48

### `Optional` beforeAgentCallback

beforeAgentCallback?: BeforeAgentCallback

- Defined in agents/base_agent.ts:47

### `Optional` description

description?: string

- Defined in agents/base_agent.ts:44

### name

name: string

- Defined in agents/base_agent.ts:43

### `Optional` parentAgent

parentAgent?: BaseAgent

- Defined in agents/base_agent.ts:45

### `Optional` subAgents

subAgents?: BaseAgent[]

- Defined in agents/base_agent.ts:46