Skip to main content

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.
Agents list with Create Agent card and MCP URLs
Open an agent to edit instructions, applications, skills, context, generative UI, workflows, and setup:
Agent detail page showing Instructions tab for CI Bottleneck Analyzer

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

Edit in draft, then publish when chat and MCP should pick up the change:
  • Save writes the draft only — live stays on the last published version
  • Publish (Versions tab) creates a numbered version and points live at it
  • Compare, restore a snapshot into draft, or switch live to an earlier version without changing the MCP URL

Creating an Agent

You can create agents in two ways:
  1. Agent Builder (recommended) — conversational workflow in Copilot that discovers apps, drafts instructions, proposes skills, validates, and creates the agent
  2. Agents page — manual form at Agents+ New Agent
For most users, start in Agent Builder and refine in the editor afterward.

Step 1: Navigate to Agents

  1. Switch the sidebar to Design and open Build → Agents
  2. Click the + New Agent card
  3. You’ll see the agent creation form

Step 2: Configure Basic Information

Agent Name
  • Use lowercase kebab-case: letters, numbers, and hyphens only (for example github-bot, support-agent)
  • Spaces and underscores are converted to hyphens as you type
  • Maximum 64 characters; keep it short so MCP URLs stay readable
Display Name (Optional)
  • Friendly label shown in chat, agent cards, and pickers (up to 64 characters)
  • Leave empty to show the kebab-case name
  • MCP URLs and @ mentions still use the agent name
Agent Description (Optional)
  • 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 Definition
Capabilities
Guidelines
Example Complete Instructions

Step 4: Select Tools

Choose which applications and tools your agent can access: Applications (APIs)
  • Attach OpenAPI integrations installed in your workspace
  • Each application exposes actions the agent can call
MCP Servers
  • Attach native MCP servers (not OpenAPI→MCP bridges — use Applications for those)
  • Configure per-agent in the applications / MCP attachments area
  • Install servers first from the MCP dashboard, official catalog, or registry
Per-tool toggles (Setup tab)
  • Enable or disable individual MCP gateway tools for this agent (e.g. list_skills, run_action, get_context)
  • Disabled tools are hidden from the agent at runtime
  • Useful for least-privilege agents that should only call specific operations
Default Toolkit
  • Enable to give access to all configured applications
  • Good for general-purpose agents
  • Simpler to manage
Custom Tool Selection
  • Select specific applications only
  • More precise control
  • Better for specialized agents

Step 5: Set Visibility

Private Agent
  • Only you can see and use it
  • Perfect for personal workflows
  • Test agents before sharing
Public Agent
  • Available to your entire organization
  • Appears in everyone’s agent list
  • Great for team collaboration

Step 6: Save and Test

  1. Click Save to create your agent
  2. Test it immediately in a new chat
  3. Mention the agent using @support-agent (kebab-case name)
  4. Refine instructions based on results

Agent Editor Tabs

After creating an agent, the editor is organized into tabs:

Skills

Attach Skills on the Skills tab to give the agent reusable workflows and domain procedures. At runtime the agent discovers skills via list_skills and loads full instructions with get_skill_content before applying them. You can also attach skills during Agent Builder creation via the skill proposals card.

Generative UI Templates

The Generative UI tab (visible after the agent is saved) lets you define visual templates for MCP App results — charts, tables, and custom layouts rendered in supported MCP hosts.
  • Start from starter layouts or write a JSON / json-render style spec
  • Preview with sample state before saving
  • Keep dynamic values in template state so runtime data can merge
  • Templates pair with run_action_ui, run_multi_actions_ui, and generative UI tools in MCP Gateway
For org-wide template libraries, GitHub sync, and clone/create flows, see MCP Apps. See MCP Gateway Tools for UI execution tools.

Managed Agent Setup Export

On the Setup tab, expand Managed agent setup (YAML / JSON) to export a configuration document for external managed-agent platforms. The export includes:
  • Agent name and system instructions (with skills workflow hints)
  • MCP server URLs (agent gateway URL plus attached MCP servers)
  • Tool set definitions
Copy as YAML or JSON for use in compatible deployment workflows.

MCP connection URLs

On the Setup tab, copy the URL that matches how the client should use the agent: Example design URL:
Viewers of a shared agent can connect to the live URL. Design and mutation tools are hidden unless you own the agent.

Draft, live, and version history

After the first save, the editor and agent cards show:
  • A vN chip for the current live version
  • A Draft chip when unpublished changes exist
Save updates draft only. Chat, Tasks, and /agent/{name}/mcp keep using live until you publish.

Publish

  1. Open the agent → Versions
  2. Review the draft vs live summary (instructions, apps, MCP servers, skills, context, workflows, UI templates, tools)
  3. Click Publish, optionally add a note, and confirm
Publish creates the next numbered version and points live at it. The public MCP URL does not change.

History

The Versions table lists each published snapshot. Open a row for details, or use the row menu to:
  • Compare with live — side-by-side diff of instructions and attachments
  • Restore into draft — copy that version into draft (overwrites unpublished edits)
  • Switch live here — point live at an earlier version without rewriting draft
New agents start version history on the first save (v1). Existing agents keep working as live; further saves stay in draft until you publish.

Using Agents

In Copilot

Invoke agents in your conversations: Direct Mention
Implicit Usage The agent’s instructions guide the conversation context and behavior. Pickers and agent cards show the optional display name. @ mentions still use the kebab-case name.

Agent 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 lists every agent you can see (no 50-item cap). Cards show the display name when set, live version, and a Draft chip when unpublished changes exist. My Agents
  • Agents you created
  • Private agents
  • Full control to edit, publish, or delete
Shared Agents
  • Public agents from your organization
  • Created by team members
  • View-only access (live version only)

Agent Marketplace

When an admin enables Agent Marketplace, the Agents page shows a catalog from a private GitHub repo (Claude plugin layout). Browse by industry or line of business, preview a listing, and install it as an agent in your organization. Try Now installs (or reuses) the plugin agent, can prepare recommended demo applications so the agent has APIs to call, connects the agent to Copilot, and opens a Live chat with the agent mentioned. The first run for a line of business may take a minute and shows a progress sheet; later runs reuse what is already in place. Click the spinning Try Now button to reopen progress. How it works previews the plugin without installing. Add to my agents installs without opening chat. If demo applications are not available in your deployment, Try Now still installs the agent as before.

Editing Agents

  1. Find your agent in “My Agents”
  2. Click the Edit icon
  3. Modify instructions, tools, or settings
  4. Click Save to update the draft
  5. Open Versions and Publish when new chats and MCP should use the change
Until you publish, existing conversations and the runtime MCP URL keep the last live version.

Deleting Agents

  1. Find your agent in “My Agents”
  2. Click the Delete icon
  3. Confirm the deletion
  4. The agent is permanently removed
Note: Existing conversations using the agent will continue to work.

Changing Visibility

Toggle between private and public:
  1. Find your agent in the list
  2. Click the visibility icon
  3. Confirm the change
  4. 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”
Define Boundaries
Include Examples

Tool Selection Strategy

Specialized Agents
  • Select only necessary applications
  • Reduces confusion and errors
  • Improves response accuracy
  • Example: GitHub-only agent for code management
General Purpose Agents
  • 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”
Include the domain or platform in the name when relevant.

Common Agent Types

Support Agent

Development Assistant

Data Analyst

Marketing Assistant

Advanced Features

Agent Mentions

Agents can include mentions in their instructions: Context Mentions
Agent Chaining
Thread References

Multi-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
Verify Tool Access
  • Confirm necessary applications are selected
  • Check application credentials
  • Test tools individually
Review Conversation Context
  • 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
Missing Credentials
  • Check Settings > Applications
  • Verify API keys and tokens
  • Reconfigure authentication
Permissions Issue
  • 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