Create and manage Sub Agents
Prerequisites
agents.readto inspect agents.agents.writeto create, edit, enable or disable, delete, import, or export.- A tested AI provider for draft and enhancement generation.
- Tested, enabled connectors for connector-backed tools.
Route
Open /automations/agents.
How to create and verify a Sub Agent
- Select the create action.
- Enter a clear name, purpose, and instructions, or complete the AI draft interview.
- Select a model and only the tools required for the purpose.
- Review generated instructions against the intended operating boundary.
- Save and enable the agent.
- Start a chat, select the agent, and issue a harmless read-only verification prompt.
Expected result: The enabled agent appears in the chat picker and responds using its saved configuration.
Verification: Confirm the selected agent name in chat and inspect the activity trace for only expected tools.
How to enhance or disable an agent
- Open the agent.
- Edit directly or complete the enhancement interview and generation flow.
- Review every generated change before saving.
- Disable the agent when it should no longer be selectable; delete only when the record is no longer needed.
Expected result: Saved edits affect subsequent runs; disabled agents disappear from launch selectors.
Verification: Reload the agent list and open a new chat to confirm selector behavior.
How to export and import agents
- Export one agent or use bulk export.
- Inspect the file and remove environment identifiers before sharing it.
- On the target installation, choose import and select the file.
- Review validation and imported tool references.
- Save disabled first when connector or provider mappings require review, then enable after a read-only test.
Expected result: Valid application configuration is imported without connector credentials.
Verification: Open the imported agent, verify model and tool mappings, and run a harmless read-only prompt.
Safety and rollback
Creation, edits, imports, and enablement change application state only. Disable or delete an unwanted agent to stop new selection. Agent execution does not bypass tool approvals or downstream authorization. Never publish exports containing tenant-specific instructions or identifiers.
Troubleshooting
| Symptom | Resolution |
|---|---|
| Generate action fails | Test the AI provider and simplify the interview input. |
| Imported tools are unavailable | Configure and enable the matching connector, then edit the tool selection. |
| Agent behaves too broadly | Disable it, reduce instructions and tools, then verify with a read-only prompt. |
| User cannot edit | Assign agents.write; agents.read is intentionally view-only. |