Skip to main content

Prerequisites

Before creating agent attributes, ensure you have:

Account & Setup

  • StateSet account with API access
  • At least one agent created in your StateSet workspace
  • API credentials from the StateSet Dashboard

Technical Requirements

  • Node.js 16+ installed (for SDK examples)
  • Basic understanding of JavaScript and REST APIs
  • Text editor or IDE for development

Domain Knowledge

  • Familiarity with personality modeling and behavioral psychology concepts
  • Understanding of your brand voice and customer interaction requirements
  • Knowledge of customer service best practices and communication styles
Code examples focus on core API calls. For production-ready patterns (structured logging, retries, and error handling), see Error Handling Best Practices.

Introduction

Agent Attributes are the building blocks of personality in StateSet. They define not just how your agents communicate, but who they are—their tone, expertise level, decision-making style, and behavioral patterns. This guide shows you how to create agents with distinct, adaptable personalities that align with your brand and customer needs.

What are Agent Attributes?

Agent Attributes are dynamic parameters that shape your agent’s behavior, communication style, and decision-making. Unlike static prompts, attributes can change in real-time based on context, allowing your agents to adapt their personality to different situations.

Core Concepts

Personality Traits

Define communication style, empathy level, and formality

Behavioral Patterns

Control decision-making, proactivity, and problem-solving approach

Dynamic Adaptation

Adjust attributes in real-time based on context and customer needs

Attribute Categories

1. Communication Style Attributes

2. Behavioral Attributes

3. Expertise Attributes

Creating Dynamic Attributes

Basic Attribute Creation

Advanced Attribute with Conditions

Composite Personality Profiles

Dynamic Attribute Adjustment

Real-time Adaptation

Learning and Evolution

Attribute Templates

Industry-Specific Templates

Testing and Validation

Personality Consistency Testing

A/B Testing Personalities

Best Practices

1. Attribute Hierarchies

2. Context-Aware Defaults

3. Attribute Validation

Monitoring and Analytics

Attribute Performance Tracking

Next Steps

Personality Templates

Pre-built personalities for common use cases

Emotional Intelligence

Build agents that understand and respond to emotions

Pro Tip: Start with a base personality and use conditional attributes to adapt to specific situations. This provides consistency while allowing flexibility.
For personality examples and templates, visit our GitHub repository or contact support@StateSet.com.