mix exagent. install
(ExAgent v3.0.0)
View Source
Install ExAgent conversation infrastructure in a Phoenix application.
Stability — Stable.
mix exagent.install --yes
mix igniter.install exagent --chat --yesPass --yes when applying changes from a shell without a TTY.
Pass --dry-run to preview the changes.
With a PostgreSQL Repo, the installer writes a pinned ExAgent.Migration.
Apply it with the host's Ecto migrations. Use mix exagent.upgrade for
an existing PostgreSQL schema.
--repo MODULEselects the PostgreSQL Ecto Repo.--pubsub MODULEselects the Phoenix PubSub server.--table NAMEsets the snapshot table. The default isexagent_snapshots.--result-storeis accepted for existing scripts. The unified PostgreSQL migration includes tool results.
--chat also installs Oban when needed, generates /chat,
supervises continuation recovery and records the initial catalogue lock.
It uses the offline test model unless you pass --model MODEL. It uses
the host's Accounts scope when present. Use --auth to require that scope
or --no-auth to generate local routes. Use --scope MODULE for a
custom host scope. Apply the Ecto migrations before starting the chat.