Overview
Agents are specialized AI assistants that can be configured with specific instructions, tools, and behaviors. They enable you to create focused, reusable AI workflows tailored to particular tasks or domains.What Are Agents?
Think of agents as expert assistants with:- Custom instructions: Define how the agent should behave and respond
- Specific tools: Select which applications and APIs the agent can access
- Consistent behavior: Agents follow the same instructions every time
- Shareable knowledge: Make agents available across your organization
Key Features
Custom Instructions
Define exactly how your agent should operate:- Personality and tone
- Domain expertise
- Response format
- Decision-making guidelines
Tool Selection
Control which capabilities your agent has:- Select specific applications
- Choose individual API operations
- Configure MCP servers access
- Set tool usage policies
Visibility Control
Manage who can use your agents:- Private: Only visible to you
- Public: Available to your entire organization
- Easy visibility toggle
Version Control
Track changes and improvements:- Edit instructions over time
- Update tool configurations
- Maintain agent consistency
Creating an Agent
Step 1: Navigate to Agents
- Click Agents in the main navigation
- Click the + New Agent card
- You’ll see the agent creation form
Step 2: Configure Basic Information
Agent Name- Choose a descriptive name
- Examples: “GitHub Bot”, “Customer Support Assistant”, “Data Analyzer”
- Keep it short and memorable
- Explain the agent’s purpose
- Describe what it’s good at
- Helps team members understand when to use it
Step 3: Write Instructions
This is where you define your agent’s behavior. Good instructions include: Role DefinitionStep 4: Select Tools
Choose which applications and tools your agent can access: Default Toolkit- Enable to give access to all configured applications
- Good for general-purpose agents
- Simpler to manage
- Select specific applications only
- More precise control
- Better for specialized agents
- Choose which MCP servers to enable
- Control access to specific capabilities
- Configure per-agent permissions
Step 5: Set Visibility
Private Agent- Only you can see and use it
- Perfect for personal workflows
- Test agents before sharing
- Available to your entire organization
- Appears in everyone’s agent list
- Great for team collaboration
Step 6: Save and Test
- Click Save to create your agent
- Test it immediately in a new chat
- Mention the agent using
@agent_name - Refine instructions based on results
Using Agents
In Copilot
Invoke agents in your conversations: Direct MentionAgent Context
When you use an agent:- Its instructions are added to the conversation
- Only specified tools are available
- The agent’s personality shapes responses
- All mentions from instructions are inherited
Managing Agents
Viewing Agents
The Agents page shows two sections: My Agents- Agents you created
- Private agents
- Full control to edit or delete
- Public agents from your organization
- Created by team members
- View-only access
Editing Agents
- Find your agent in “My Agents”
- Click the Edit icon
- Modify instructions, tools, or settings
- Click Save Changes
Deleting Agents
- Find your agent in “My Agents”
- Click the Delete icon
- Confirm the deletion
- The agent is permanently removed
Changing Visibility
Toggle between private and public:- Find your agent in the list
- Click the visibility icon
- Confirm the change
- The agent moves to the appropriate section
Agent Best Practices
Writing Effective Instructions
Be Specific- ❌ “Help users with GitHub”
- ✅ “You are a GitHub automation assistant that creates issues, manages pull requests, and updates project boards based on user requests”
Tool Selection Strategy
Specialized Agents- Select only necessary applications
- Reduces confusion and errors
- Improves response accuracy
- Example: GitHub-only agent for code management
- Use default toolkit
- Enable multiple applications
- Good for exploratory workflows
- Example: Research assistant with web search, docs, and email
Naming Conventions
Use clear, descriptive names:- Good: “Jira Issue Creator”, “Slack Notifier”, “Data Export Assistant”
- Avoid: “Agent1”, “My Agent”, “Test”
Common Agent Types
Support Agent
Development Assistant
Data Analyst
Marketing Assistant
Advanced Features
Agent Mentions
Agents can include mentions in their instructions: Context MentionsMulti-Application Workflows
Create agents that orchestrate multiple services:Conditional Behavior
Include decision logic in instructions:Searching Agents
Use the search bar to quickly find agents:- Search by agent name
- Filter through descriptions
- Works on both “My Agents” and “Shared Agents”
- Updates results in real-time
Troubleshooting
Agent Not Responding as Expected
Check Instructions- Review for clarity and specificity
- Ensure guidelines are unambiguous
- Add examples if behavior is unclear
- Confirm necessary applications are selected
- Check application credentials
- Test tools individually
- Agent instructions may conflict with user requests
- Check for contradictory mentions
- Verify all prerequisites are met
Agent Can’t Access Tools
Application Not Selected- Edit agent configuration
- Add required applications
- Save changes
- Check Settings > Applications
- Verify API keys and tokens
- Reconfigure authentication
- Verify MCP server access
- Check organization permissions
- Confirm application is properly installed
Shared Agent Not Visible
Visibility Setting- Ensure agent is set to “Public”
- Check with agent creator
- Verify organization membership
Next Steps
- Use agents in Copilot for specialized tasks
- Configure applications to enable more agent capabilities
- Add context items for agents to reference
- View agent usage in analytics
