Skip to main content

AI Service Panel

The AI Service panel gives you visibility into the Tools, Knowledgebases, Agents, Teams, and External MCP Servers in your Twinit projects.


AI Service Panel Project Folder Commands

Configure MCP

The Configure MCP command aides you in configuring MCP connections to your Twinit workspaces.

The Configure MCP form guides you through generating your MCP API keys, selecting the MCP tools in the workspace to use, and generating the JSON mcp servers config.

If using Cursor, the configuration can be automatically brought over to the Cursor settings and installed.


Agents Folder Commands

Create Agent

Allows for creating and configuring new Twinit AI Agents by providing an Agent name, background, user type, and an AI provider and model.

Optionally, a description can be provided and tools and knowledgebases can be configured for the Agent.

External MCP Servers can also be enabled for the Agent, optionally filtering the tools exposed to the Agent from each server.

Agent Commands

Delete

Deletes the Agent from the AI Service.

Edit Agent

Opens the Agent allowing for changes to be made to its configuration, including the External MCP Servers enabled for the Agent and the tools exposed from each server.

View Agent JSON

Opens the full Agent JSON Twinit configuration in a new file.


Custom MCP Tools Folder Commands

Create Custom MCP Tool

Opens a form to configure a custom MCP tool in the workspace.

To configure a tool:

  1. Give the tool a clear meaningful name an agent can use to understand the tool's purpose
  2. Enter a detailed description including what the tool does, when and how it should be used, and any other information to inform the agent's usage of the tool
  3. Select the script on Twinit to use to back the tool (this must be a backend script, not a client script with imports)
  4. Select the function in the script to use to back the tool
  5. Create a schema (with field descriptions) for the tool to use to validate any input the tool is given
  6. Click Create

After creating a new MCP Tool, you may need to restart your MCP Server Connection or your IDE.

Custom MCP Tool Commands

Edit Custom MCP Tool

Edit an existing Custom MCP Tool.

If using Cursor, the newly edited configuration can be installed via settings and the previous version will be automatically overwritten.

After editing an MCP Tool, you may need to restart your MCP Server Connection or your IDE.

View Custom MCP Tool JSON

Opens the full Custom MCP Tool JSON Twinit configuration in a new file.

Delete

Deletes a Custom MCP Tool configuration.


External MCP Servers Folder Commands

The External MCP Servers folder allows you to connect external Streamable HTTP MCP servers to your project. Expand a server in the tree to see the tools it exposes.

Create External MCP Server

Opens a form to configure an External MCP Server in the project.

To configure an External MCP Server:

  1. Give the server a name
  2. Enter the URL of the Streamable HTTP MCP server
  3. Optionally add headers to be sent to the server, such as authentication headers. Header values can be entered directly or backed by project secrets (see the Manage Secrets project command)
  4. Optionally test the connection to the server before saving
  5. Click Create

External MCP Server Commands

Edit External MCP Server

Opens the External MCP Server allowing for changes to be made to its configuration. The connection can be tested from the editor before saving.

View External MCP Server JSON

Opens the full External MCP Server JSON Twinit configuration in a new file.

Delete

Deletes an External MCP Server configuration from the project.


Knowledgebase Commands

Delete Knowledgebase

Deletes a Knowledgebase from your project.


Teams Folder Commands

Create Teams

Creates a new team by selecting and ordering Twinit AI Agents.

To create a new Team:

  1. Right click on the Teams folder in the AI Service panel and select 'Create Team'
  2. Give the team a name, an optional description, and select one or more Twinit AI Agents to add to the team
  3. Click Submit
  4. If you selected more than one Twinit AI Agent a new input will open allowing to define the flow order of the agents in the team
  5. Click Confirm Order

Teams Commands

Chat with Team

Opens a new chat interface, allowing you to start a new conversation with the selected team.

Delete Team

Deletes a Team from the Twinit AI Service.

Edit Team

Edits a team to manage its properties, add/remove agents, and update agent flow order.


Tools Folder

The Tools folder displays a read-only list of the tools available to assign to Agents.