AI Agents
Agents (/agents) are AI assistants powered by the Anthropic Claude API. Each agent has a system prompt, a model selection, and links to one or more MCP servers that give it access to tools.
Agent fields
| Field | Description |
|---|---|
name |
Display name |
description |
What this agent is for |
model |
Claude model ID (e.g. claude-sonnet-4-6) |
systemPrompt |
Instructions that define the agent’s behaviour and constraints |
mcpServerIds |
Array of registered MCP server IDs to bind tools from |
status |
active or disabled |
Agent list
The agents table shows:
- Agent name and description
- Status badge
- Number of linked MCP servers
- Number of discovered tools (summed across all servers)
- Creation date
Running an agent
Open any active agent’s detail view and use the Run Agent panel:
- Type a message in the input box
- Click Run
- Watch results appear including:
- The agent’s text response
- Each tool call made (tool name + input + result)
- Total iteration count
Iteration loop
Under the hood, the run endpoint:
- Discovers tools from all linked MCP servers
- Sends your message + all available tools to Claude
- If Claude calls tools: executes them on the MCP server, feeds results back
- Repeats until Claude responds with no tool calls or 10 iterations reached
Example run
You: “How many open tickets do we have for Acme Corp?”
Agent: (calls connectwise_psa_get_tickets with { company: "Acme Corp", status: "open" })
Tool result: [{ id: 12345, summary: "Server down", status: "New" }, ...]
Agent: “Acme Corp currently has 3 open tickets: …”
Model selection
The model field accepts any valid Anthropic model ID. Recommended:
| Use case | Model |
|---|---|
| General purpose | claude-sonnet-4-6 |
| Complex reasoning | claude-opus-4-6 |
| High volume / fast | claude-haiku-4-5-20251001 |
System prompts
Write system prompts that:
- Define the agent’s role (“You are a ConnectWise assistant…”)
- Constrain behaviour (“Only answer questions about tickets and contacts”)
- Set output format expectations (“Always respond in JSON with keys: summary, action_items”)
API
See Agents API Reference.