# `Jido.AgentServer.ChildInfo`
[🔗](https://github.com/agentjido/jido/blob/v2.3.0/lib/jido/agent_server/child_info.ex#L1)

Information about a child agent in the logical hierarchy.

> #### Internal Module {: .warning}
> This module is internal to the AgentServer implementation. Its API may
> change without notice.

Used for parent agents to track spawned children.

# `t`

```elixir
@type t() :: %Jido.AgentServer.ChildInfo{
  id: binary(),
  meta: map(),
  module: atom(),
  partition: nil | any(),
  pid: any(),
  ref: any(),
  tag: nil | any()
}
```

# `new`

```elixir
@spec new(map()) :: {:ok, t()} | {:error, term()}
```

Creates a new ChildInfo from a map of attributes.

Returns `{:ok, child_info}` or `{:error, reason}`.

# `new!`

```elixir
@spec new!(map()) :: t()
```

Creates a new ChildInfo from a map, raising on error.

