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

Typed reference to a collaboration agent thread.

# `t`

```elixir
@type t() :: %Codex.Protocol.CollabAgentRef{
  agent_nickname: (String.t() | nil) | nil,
  agent_role: (String.t() | nil) | nil,
  thread_id: String.t()
}
```

# `from_map`

```elixir
@spec from_map(map() | t()) :: t()
```

# `to_map`

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

---

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