Creating Agents
This guide walks you through creating a new AI agent from scratch, covering configuration options and best practices.Prerequisites
- Access to Agent Studio
- Understanding of your use case and goals
- Knowledge of what tools the agent will need
Step 1: Start a New Agent
- Navigate to Agent Studio from the main navigation
- Click Agents in the sidebar
- Click Create Agent or the + button
Step 2: Basic Information
Agent Name
Choose a descriptive name that indicates the agent’s purpose:Step 3: Write Instructions
Instructions (the system prompt) define how your agent behaves. This is the most important configuration.Get help from Stella
Stella can draft Instructions for a new agent or review the Instructions of an existing one. Use the button next to the Instructions label:- Help me write appears when the Instructions field is empty.
- Review this prompt appears when the field already has content.
- Help me write
- Review this prompt
Answer three questions:
- The job: what the agent should produce. A sentence is enough. For example, “a renewal-risk brief for one account: the open risks with evidence, and three next steps.”
- Who reads the result? (optional): for example, “the account’s CSM.”
- When does it run?: Only when I ask or On a schedule.
- The Instructions: click Read the draft to see new Instructions, or See what changed to see a diff of your existing Instructions.
- Toolkits: the toolkits Stella picked for the agent.
- Decided for you: choices Stella made on your behalf. Change any of them and ask again.
- Still open: questions Stella couldn’t resolve.
- Schedule (optional): the cadence the Instructions were written for.
- Replaces the Instructions with the proposed version.
- Adds any proposed toolkits that aren’t already enabled.
- For a new agent, fills in a suggested name and description if those fields are empty.
Apply doesn’t save the agent or set a schedule. Review the changes in the builder, then click Save.
Structure Your Instructions
Example: Customer Health Agent
Step 4: Select the Model
Choose the AI model based on your needs:Model Options
Recommendations
- Start with Gemini Auto - Let the system optimize model selection
- Use Pro for complex research, multi-step analysis, or critical decisions
- Use Flash for quick lookups, simple formatting, or high-volume tasks
Step 5: Configure Reasoning Level
Reasoning level controls how much the agent “thinks” before responding:Options
Higher reasoning = better analysis but slower responses and higher cost. Match the level to your actual needs.
Step 6: Enable Toolkits
Toolkits give your agent capabilities. Enable only what’s needed.Available Toolkits
API Tools toolkits
API Tools toolkits let your agent read and write directly in Zendesk, Jira, Salesforce CPQ, and Notion. Each toolkit uses your organization’s existing connection to that integration, so you don’t need to authorize anything new. In the Add Tools picker, API Tools toolkits appear in their own API Tools section, separate from the MCP Servers section. A vendor’s toolkit appears only when that integration is connected for your organization. To connect one, see the Zendesk, Jira, Salesforce, or Notion integration guide.Approval defaults
- Read actions run automatically.
- Write actions ask for confirmation before they run, unless you configure the agent otherwise.
Requirements
- Salesforce CPQ: Quote and quote line actions need the Salesforce CPQ managed package installed in your Salesforce org.
- Salesforce CPQ: Some quote actions (such as cloning a quote or generating its order form) work only when Salesforce is connected through the Salesforce (Direct) card on the Integrations page. If your org connects through the Salesforce card, those actions don’t work. See Salesforce for the two connection options.
- Salesforce CPQ: Sending an order form for signature needs an e-signature app (such as Adobe Acrobat Sign or Docusign) installed in your Salesforce org, with a signature template set up for quote order forms.
- Zendesk: Write actions need a Zendesk connection that granted write scope.
API Tools toolkits are separate from third-party MCP servers. MCP servers are connected under Integrations → MCP Servers. API Tools toolkits use the integrations you’ve already connected.
When you chat with an agent that has the Customer Intelligence toolkit, the agent can also run read-only SQL queries over Statisfy’s reporting views. There’s nothing to enable or configure. The agent uses these queries when the other data tools only return current state or recent data — for example, an account’s full health history and time spent in each state, product-usage rollups across many accounts, medians and percentiles, top-N rankings, or custom cross-entity joins. The views include accounts and account owners, health history, product usage, activities, support tickets, surveys, tasks, projects, contacts, opportunities, custom fields, and custom objects. Each query must be a single SELECT statement, sees only your organization’s data, and returns at most 200 rows within a 15-second timeout.
Guidelines
Less is more
Less is more
Each enabled toolkit adds complexity. An agent with 3 focused toolkits will often outperform one with 10 toolkits.
Match to purpose
Match to purpose
A health analysis agent needs Customer Intelligence. It probably doesn’t need Digital Workbench or Slack.
Consider the user
Consider the user
Will users expect the agent to take actions (update fields, send messages) or just provide information?
Step 7: Set Scope
Define what data the agent can access:Scope Options
Account Scope
When using account scope:- Agent can only access data for the specified account
- Useful for embedding agents in account-specific contexts
- Provides data isolation and relevance
Step 8: Add Datasets (Optional)
Connect specific data sources for the agent to reference:- Knowledge bases - Internal documentation
- Playbooks - Standard procedures
- Templates - Response templates
Step 9: Add a Presentation Template (Optional)
If your agent generates presentations, you can give it its own branded PowerPoint template:- In the Presentation Template section, click Upload Template
- Select a
.pptxfile (PowerPoint format) - Once uploaded, the section shows Template uploaded with Replace and Remove buttons
Template Mode
After uploading, choose how the agent uses your template:An agent’s own template takes priority over your organization’s default presentation template. To set the organization-wide default instead, see Stella AI advanced features.
Step 10: Test Your Agent
Before deploying, test thoroughly.Test Scenarios
-
Typical request
- Ask something your users commonly would
- Verify the response is helpful and accurate
-
Ambiguous request
- Ask something vague
- Does the agent ask clarifying questions or make reasonable assumptions?
-
Edge case
- Ask about an account with missing data
- How does the agent handle incomplete information?
-
Out of scope
- Ask something outside the agent’s purpose
- Does it gracefully redirect or explain limitations?
Example Test Prompts
Step 11: Deploy
Once tested:- Click Save to save your agent
- Toggle Active to enable it
- The agent is now available for use
Configuration Examples
Research-Focused Agent
Action-Oriented Agent
Communication Agent
Best Practices Summary
Start simple
Start simple
Begin with minimal toolkits and instructions. Add complexity only when needed.
Be specific in instructions
Be specific in instructions
Vague instructions lead to inconsistent results. Be explicit about what you want.
Test with real data
Test with real data
Sample data doesn’t catch real-world issues. Test with actual accounts and scenarios.
Iterate based on feedback
Iterate based on feedback
Your first version won’t be perfect. Collect feedback and refine instructions.
Monitor performance
Monitor performance
Track how the agent is being used and whether responses are helpful.
Next Steps
Agent Best Practices
Advanced tips for agent optimization
Use Agents in Automations
Embed agents in workflow automations