# AgentSessionCustomEvent

Package: `@threadplane/angular/chat` · 0.3.7

Reference: /docs/api/angular/chat/AgentSessionCustomEvent

```typescript
import type { AgentSessionCustomEvent } from '@threadplane/angular/chat';
```

## AgentSessionCustomEvent

One application event a run emitted, such as LangGraph `custom` stream output
or an AG-UI `CUSTOM` event. Events are not state: no snapshot holds them, and
a listener added later does not receive earlier events. `data` is owned,
frozen plain data.

```typescript
export interface AgentSessionCustomEvent  {
  readonly data: PlainValue;
  readonly name: string;
}
```

### data

```typescript
readonly data: PlainValue;
```

### name

```typescript
readonly name: string;
```