Skip to main content

Agents

Agents represent AI assistants with specific capabilities. Defining agents helps TurnWise understand what tools were available during a conversation.

Structure

Fields

name (optional)

A human-readable name for the agent.

description (optional)

A description of the agent’s role and capabilities.

tools (optional)

An object containing tool definitions. Each key is the tool name.

Tool Structure

Example: Support Agent

Multiple Agents

Conversations can have multiple agents, representing different specialists:

Why Define Agents?

Defining agents enables:
  • Tool Usage Evaluation: Verify agents used appropriate tools
  • Capability Analysis: Understand what tools were available
  • Multi-Agent Tracking: Distinguish between different agents in complex workflows
  • Documentation: Self-documenting data for future reference
While agents are optional, defining them provides valuable context for evaluation. Without agent definitions, TurnWise can still process conversations but won’t have tool context.
Even if you only have one agent, defining it with its tools makes your data more self-documenting and enables tool-specific evaluations.