# AgentStateUpdate

Package: `@threadplane/core` · 0.0.0

**Unpublished development API.**

Reference: /docs/api/core/AgentStateUpdate

```typescript
import type { AgentStateUpdate } from '@threadplane/core';
```

## AgentStateUpdate

A partial state a caller sends with a submission. Typed sessions accept the
keys of their declared state; untyped sessions accept any plain record.

```typescript
export type AgentStateUpdate<TState = unknown> = unknown extends TState ? Readonly<Record<string, PlainValue>> : Partial<TState>;
```