# `mix agent_db.doctor`
[🔗](https://github.com/manhvu/agent_db/blob/v0.1.0/lib/mix/tasks/agent_db.doctor.ex#L1)

Checks store health and configuration.

    mix agent_db.doctor [--json]

Reports database reachability, model status, queue depth, PubSub health,
and the active inference provider. Exits with failure when the database
itself is unreachable.

Options:

  * `--json` - print the report as JSON instead of human text.

---

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