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
-
AI Agent 0.3.0: The assistant in Telegram, voice input and a time limit on chats
AI Agent 0.3.0 for Phoenix: ask the PhoenixKit AI assistant from Telegram, speak instead of typing, delete old chats on a schedule and limit file types.
-
AI Agent 0.2.0: Installs next to PhoenixKit 3
AI Agent 0.2.0 for Phoenix accepts PhoenixKit 3.x and now needs AI 0.27 or later. The assistant itself is the same as in 0.1.0.
-
AI Agent 0.1.0: An AI assistant in the PhoenixKit admin
AI Agent 0.1.0 for Phoenix: a chat assistant in the PhoenixKit admin that works with each user's own rights, asks before changing data and has spending limits.
Install
1
Add to mix.exs
{:phoenix_kit_agent, "~> 0.4"}
2 Fetch it and run its migrations
$ mix deps.get && mix phoenix_kit.update
3
Switch it on in /admin/modules
- Package
- phoenix_kit_agent
- Releases
-
- 0.4.0
- 0.3.0
- 0.2.0
- Admin
-
/admin/agent - Links
- HexDocs ↗ GitHub ↗ Changelog ↗
Related modules
What it needs, what builds on it, and its neighbours in AI.