# `Jidoka.Jido`
[🔗](https://github.com/agentjido/jidoka/blob/v0.9.0/lib/jidoka/jido.ex#L1)

Default Jido runtime instance for Jidoka agents.

This supervisor owns the Jido process substrate that Jidoka uses by default:
registry, task supervisor, runtime store, and dynamic agent supervisor.

# `__default_plugins__`

```elixir
@spec __default_plugins__() :: [module() | {module(), map()}]
```

Returns the default plugins for agents bound to this Jido instance.

# `__jido_storage__`

```elixir
@spec __jido_storage__() :: {module(), keyword()}
```

Returns the storage configuration for this Jido instance.

# `agent_count`

```elixir
@spec agent_count(keyword()) :: non_neg_integer()
```

Returns the count of running agents under this Jido instance.

# `agent_supervisor_name`

```elixir
@spec agent_supervisor_name() :: atom()
```

Returns the AgentSupervisor name for this Jido instance.

# `config`

```elixir
@spec config(keyword()) :: keyword()
```

Returns the runtime config for this Jido instance.

Configuration is loaded from `config :jidoka, Jidoka.Jido` and
overridden by any runtime options passed in.

# `debug`

```elixir
@spec debug() :: Jido.Debug.level()
```

Controls debug mode for this Jido instance.

- `debug()` — returns current debug level
- `debug(:on)` — enable developer-friendly verbosity
- `debug(:verbose)` — enable maximum detail
- `debug(:off)` — disable debug overrides
- `debug(pid)` — toggle per-agent debug mode
- `debug(:on, redact: false)` — also disable redaction

# `debug`

```elixir
@spec debug(Jido.Debug.level() | pid()) :: :ok | {:error, term()} | Jido.Debug.level()
```

# `debug`

```elixir
@spec debug(
  Jido.Debug.level(),
  keyword()
) :: :ok
```

# `debug_status`

```elixir
@spec debug_status() :: map()
```

Returns the current debug status for this instance.

# `hibernate`

```elixir
@spec hibernate(
  Jido.Agent.t(),
  keyword()
) :: :ok | {:error, term()}
```

Hibernate an agent to storage.

# `list_agents`

```elixir
@spec list_agents(keyword()) :: [{String.t(), pid()}]
```

Lists all agents under this Jido instance.

# `recent`

```elixir
@spec recent(pid(), non_neg_integer()) :: {:ok, [map()]} | {:error, term()}
```

Returns recent debug events from an agent's ring buffer.

# `registry_name`

```elixir
@spec registry_name() :: atom()
```

Returns the Registry name for this Jido instance.

# `runtime_store_name`

```elixir
@spec runtime_store_name() :: atom()
```

Returns the RuntimeStore name for this Jido instance.

# `start_agent`

```elixir
@spec start_agent(
  module() | struct(),
  keyword()
) :: DynamicSupervisor.on_start_child()
```

Starts an agent under this Jido instance.

# `stop_agent`

```elixir
@spec stop_agent(
  pid() | String.t(),
  keyword()
) :: :ok | {:error, :not_found}
```

Stops an agent (by pid or id) under this Jido instance.

# `task_supervisor_name`

```elixir
@spec task_supervisor_name() :: atom()
```

Returns the TaskSupervisor name for this Jido instance.

# `thaw`

```elixir
@spec thaw(module(), term(), keyword()) :: {:ok, Jido.Agent.t()} | {:error, term()}
```

Thaw an agent from storage.

# `whereis`

```elixir
@spec whereis(
  String.t(),
  keyword()
) :: pid() | nil
```

Looks up an agent by ID under this Jido instance.

---

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