# Import Skill Agents to the UI

## Import Skill Agents into AMESA

AMESA makes it easy to **import existing logic and controllers**, from MPC and PID controllers to custom Python applications and machine learning models. Once imported, these agents can be reused across your use cases and visually orchestrated in the Agent Orchestration Studio.

Whether you’ve built your logic using AMESA’s SDK or you're wrapping existing IP (e.g., LLMs, external APIs, heuristics), you can import it into AMESA and make it available for drag-and-drop integration.

You can import [skill agents](#user-content-fn-1)[^1], orchestrators[^2], and perceptors[^3].

***

### Why Import Skill Agents?

Many organizations already rely on proven control strategies, models, or code. Importing them into AMESA allows you to:

* **Re-use your existing IP** in a composable agent system
* **Combine logic-based and learning-based agents** (e.g., hybrid PID + DRL setups)
* **Standardize deployment workflows** across your team or organization

***

### How to Import Skill Agents and Orchestrators

1. **Log in to AMESA**

   ```bash
   composabl login
   ```

You’ll be redirected to the browser to enter your credentials.

2. Navigate to your agent directory

   Change to the folder containing the skill agent or orchestrator you want to import.
3. Import the component
   * For a skill agent:

```
composabl skill publish skill-name
```

* For an orchestrator:

```
composabl selector publish selector-name
```

4. Choose where to save it
   * Select your organization
   * Select the project or use case
5. Finish importing

   Once the import is complete:

   * Open the UI
   * Go to Agent Orchestration Studio
   * Refresh your browser

   Your new skill agent or orchestrator will appear in the sidebar, ready to use.

### Importing Perceptors

1. Navigate to the Perceptors Directory

Move to the folder above the individual perceptor you want to import.

2. Import a Perceptor

```
composabl perceptor publish perceptor-name
```

3. Select Your Organization and Use Case
4. Complete the Import

   After import:

   * Go to the UI
   * Open Agent Orchestration Studio
   * Refresh the page

   Your perceptor will appear in the sidebar and can be connected to agents.

***

### What Can You Import?

You can import nearly any Python-based logic as a skill agent, including:

* PID or MPC controllers
* LLM-based agents
* Business rule engines
* ML models or custom inference code
* External API wrappers

Once imported, these agents can be composed into intelligent multi-agent systems alongside AMESA-native components.

[^1]: Modules within a multi-agent system that make decisions to complete all or part of a task

[^2]: A special type of skill agent that assigns decision-making control to the right decision-making skill agent based on current conditions

[^3]: An ML model or other algorithm that interprets sensor data


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.amesa.com/build-multi-agent-systems/import-agent-components-to-the-ui.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
