# `Codex.Protocol.CollabAgentState`
[🔗](https://github.com/nshkrdotcom/codex_sdk/blob/v0.18.1/lib/codex/protocol/collab_agent_state.ex#L1)

Typed representation of a collaboration agent lifecycle state.

# `status`

```elixir
@type status() ::
  :pending_init
  | :running
  | :completed
  | :errored
  | :shutdown
  | :not_found
  | String.t()
```

# `t`

```elixir
@type t() :: %Codex.Protocol.CollabAgentState{
  message: (String.t() | nil) | nil,
  status: status()
}
```

# `from_map`

```elixir
@spec from_map(map() | atom() | String.t() | t() | nil) :: t()
```

# `to_event_value`

```elixir
@spec to_event_value(t()) :: map() | String.t()
```

# `to_map`

```elixir
@spec to_map(t()) :: map()
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
