Make AI Agents form available in AI Assistants

Created on 7 April 2025, 17 days ago

Problem/Motivation

We have recognized that the AI Agents way of calling different agents are surperior to how its currently done in AI Assistants, with a lot more consistent results in usage.

For 1.1.x we have already implemented 📌 Move Assistants API to use function calling Active , however its quite confusing that you need to first create an orchestration agent and then link this in the AI Asisstant. Better would be that you can set it up directly when you setup the AI Assistant.

Steps to reproduce

Move so the form is similar to the AI Agents.
Just allow a specific set of tools - agents + some other.
Do not allow to set Detailed tool usage.
Create an actual agent when you save, and connect it to the AI Assistant.

📌 Task
Status

Active

Version

1.1

Component

AI Assistants API

Created by

🇩🇪Germany marcus_johansson

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @marcus_johansson
  • 🇮🇳India anjaliprasannan

    As per my understanding these are the required changes to be done. Pointing this for maintainers confirmation.
    Redesign the AI Assistant Form Layout:

    • Modify the existing AI Assistant configuration form to resemble the AI Agents form. This means consolidating the agent selection and creation process into a single interface.
    • Replace the current "Use agent as assistant" dropdown with a more integrated field that allows both selecting an existing agent and creating a new one on the fly.

    Create Agent on Save:

    • When the user saves the AI Assistant configuration, implement logic to check if a "New agent" option is selected.
    • If so, programmatically create a new agent using the provided details (e.g., the administrative description and selected tools).
    • Automatically link this newly created agent to the AI Assistant by updating the assistant's configuration to reference the agent's ID.

    Integrate Agent Selection Field:

    • Add a dynamic dropdown or autocomplete field labeled "AI Agent" (as suggested in your description) that lists existing agents.
    • If the user selects "New agent," display an inline form to input agent details (e.g., name, description, and tool preferences) before saving.
    • Upon saving, the system should create the agent, assign it the selected tools, and connect it to the AI Assistant in one action.
Production build 0.71.5 2024