Agents
Agents are AI assistants that give Witty distinct responsibilities and capability boundaries. Capabilities are the tools or actions an agent can use. The agent catalog is available under Administration > Configuration > Witty > Agents.
Agent types
A specialist agent focuses on a bounded subject or task area and handles work delegated by an orchestrator.
| Type | Description | Platform Team control |
|---|---|---|
| Platform-provided | Standard agents supplied with Witty. | Enable or disable the agent and select the default agent. Definitions and capabilities are managed by the platform. |
| Custom | Agents defined for an installation-specific purpose. | Manage the definition, enabled state, default assignment, skills, and direct Model Context Protocol (MCP) tool assignments. |
The platform-provided agents include General Assistant and specialist agents.
Agent properties
| Property | Description |
|---|---|
| Name | Stable identifier for the agent. |
| Display name | Label shown to users and administrators. |
| Description | Scope and purpose used to distinguish the agent from other agents. Clear, specific descriptions improve delegation decisions. |
| Instructions | Behavioral guidance applied when the agent handles a request. |
| Enabled | Determines whether the agent can be selected or receive delegated work. |
| Default | Identifies the agent selected when a user starts a conversation. The default agent must be enabled. |
| Skills | Reusable instructions and capabilities assigned to the agent. Their MCP tools are inherited by the agent. |
| Tools | MCP tools assigned directly to the agent. |
Best practices
Name
- Choose a stable name that identifies the agent's role or subject area.
- Keep names short and distinct from other agents. Avoid generic names such as
Helperthat do not communicate scope. - Use the display name for a clear, user-facing label. For example,
Marketplace Assistantcommunicates a more specific role thanData Assistant.
Description
- State what the agent handles and when it is the appropriate choice. General Assistant uses this information when delegating requests.
- Include the terms users are likely to use and enough scope to distinguish the agent from neighboring specialists.
- Describe outcomes rather than current tools or implementation details, which can change independently of the agent's purpose.
For example, prefer "Helps users discover and understand resources available through the Witboost Marketplace" over "Uses Marketplace tools."
Instructions
- Keep the prompt focused on behavior the agent needs for its role. Do not repeat general knowledge or restate tool documentation.
- Define important boundaries, priorities, and constraints. Use exact steps only when order or safety matters; otherwise leave room to adapt to the request.
- Move behavior shared by several agents into a skill instead of duplicating it in each prompt.
- Test representative requests to verify that the agent is selected for the intended scope and does not overlap unnecessarily with other specialists.
Orchestration and delegation
General Assistant is the primary orchestrator: an agent that interprets a request and delegates work to suitable enabled agents. It evaluates every enabled specialist Witty agent and routes work to the best match. It may also invoke configured external agents, which are AI agents provided by other systems and connected to Witboost by the Platform Team.
Specialist Witty agents do not invoke external agents directly. Their work is limited to their own instructions and effective capabilities.
Disabling a specialist removes it from General Assistant's delegation options. Constraining a specialist's skills or MCP tools also constrains what General Assistant can accomplish through that specialist.
External agents Deprecated
External agents are AI agents provided by another system and registered through the Witty API. They are distinct from the platform-provided and custom Witty agents described above. General Assistant can invoke active external agents, while specialist Witty agents cannot invoke them directly.
The external-agent integration is deprecated. It remains supported for organizations that already use it, but registered external agents are available only to General Assistant; specialist Witty agents cannot invoke them.
For new integrations, prefer an MCP server. MCP exposes each capability as a discoverable tool instead of presenting the integration as a single delegated agent. Platform Teams can grant access to all tools from a server or only selected tools, make them available to specialist agents directly or through skills, and refresh the discovered tools as the server evolves.
For example, instead of registering a risk advisor as an external agent, expose an assess_risk MCP tool. The tool can invoke the same risk advisor agent behind the scenes and return its result, while Witty retains tool-level discovery and assignment controls.
See How to connect Witty to an MCP server for the complete procedure.
Registration properties
| Property | Description |
|---|---|
| Name | Unique name that identifies the external agent. |
| Description | Purpose and scope of the agent. General Assistant uses this description when deciding whether to invoke it. The maximum length is 1,024 characters. |
| Endpoint | URL that receives requests delegated to the agent. |
| Payload | Optional JSON metadata stored with the registration. |
| Requires authentication | Determines whether Witty forwards the user's Witboost authorization token to the endpoint. |
| Active | Determines whether General Assistant can invoke the external agent. |
The external agent endpoint receives a POST request with the user request in a message field and the configured payload fields. It must return JSON containing its response in a message field. Register only trusted endpoints, especially when Requires authentication is enabled. The payload is returned to administrators and must not contain credentials.
For example, the following registration is sent as the body of POST /api/witty/v1/external-agents:
{
"name": "risk_advisor",
"description": "Answers questions about the organization's risk policies.",
"endpoint": "https://agents.example.com/risk-advisor",
"payload": {},
"need_authentication": true,
"active": true
}
Manage external-agent registrations
Platform Teams authorized to manage Witty configuration can manage external-agent registrations through the Witty API. For authentication and authorization, see API Authentication. Use your Witboost instance URL for the following requests.
GET /api/witty/v1/external-agents: list registered external agents.GET /api/witty/v1/external-agents/{id}: retrieve an external agent by UUID.POST /api/witty/v1/external-agents: register an external agent; returns201with the registration.PATCH /api/witty/v1/external-agents/{id}: update supplied registration properties; a supplied payload replaces the complete payload object.DELETE /api/witty/v1/external-agents/{id}: delete a registration; returns200with the deleted registration, without deleting the remote service.
For request and response schemas, see the Witty OpenAPI reference.
Effective capabilities
An agent's effective MCP tools combine:
- tools assigned directly to the agent;
- tools inherited from every skill assigned to the agent.
The agent detail page reports direct and inherited tool counts and lists the MCP servers represented by those tools. A selected tool can remain visible but unavailable when it no longer exists in the discovered MCP catalog. Capability assignment is covered in How to connect Witty to an MCP server.