Skip to content

AI Agent

v0.2.0

Per-user AI chats that call tools from the PhoenixKit API registry

Requires AI

Install AI Agent

A personal assistant inside the application: each user has their own chats stored in the database, can attach files, and talks to a model that works through tools from the PhoenixKit API registry, limited to what the user can do in their session. Model calls, endpoints, credentials, budget and the request journal come from phoenix_kit_ai. The README marks it as under development.

Use it when

  • You want users to ask an in-app assistant to look up or change records they already have access to
  • You need per-user AI spending and turn limits with an admin overview

What it gives you

  • Chat panel opened from a button in the admin header, with chat list, rename and archive
  • Writes proposed by the assistant are confirmed by the user in the chat
  • File attachments kept in a hidden Storage library
  • Per-user settings: model, limits, on/off and personal instructions
  • Admin pages AI Agent > Users and AI Agent > Spending (today and this month)
  • Permissions agent and agent.manage

AI Agent news

Nothing posted about AI Agent yet. Read its changelog or see all PhoenixKit news.

Install

1 Add to mix.exs

deps
{:phoenix_kit_agent, "~> 0.2"}

2 Fetch it and run its migrations

Terminal
$ mix deps.get && mix phoenix_kit.update

3 Switch it on in /admin/modules

Releases
  1. 0.2.0
  2. 0.1.0
Admin
/admin/agent

Related modules

What it needs, what builds on it, and its neighbours in AI.