Skip to content

Commit 6361daa

Browse files
authored
Merge pull request #405 from microsoft/macae-v3-dev-marktayl
Macae v3 dev marktayl
2 parents 6e8fce5 + 610cae8 commit 6361daa

31 files changed

+3221
-2726
lines changed

conftest.py

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
"""
2+
Test configuration for agent tests.
3+
"""
4+
5+
import sys
6+
from pathlib import Path
7+
8+
import pytest
9+
10+
# Add the agents path
11+
agents_path = Path(__file__).parent.parent.parent / "backend" / "v3" / "magentic_agents"
12+
sys.path.insert(0, str(agents_path))
13+
14+
@pytest.fixture
15+
def agent_env_vars():
16+
"""Common environment variables for agent testing."""
17+
return {
18+
"BING_CONNECTION_NAME": "test_bing_connection",
19+
"MCP_SERVER_ENDPOINT": "http://test-mcp-server",
20+
"MCP_SERVER_NAME": "test_mcp_server",
21+
"MCP_SERVER_DESCRIPTION": "Test MCP server",
22+
"TENANT_ID": "test_tenant_id",
23+
"CLIENT_ID": "test_client_id",
24+
"AZURE_OPENAI_ENDPOINT": "https://test.openai.azure.com/",
25+
"AZURE_OPENAI_API_KEY": "test_key",
26+
"AZURE_OPENAI_DEPLOYMENT_NAME": "test_deployment"
27+
}

data/agent_teams/hr.json

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
{
2+
"id": "3",
3+
"team_id": "team-3",
4+
"name": "Retail Customer Success Team",
5+
"status": "visible",
6+
"created": "",
7+
"created_by": "",
8+
"agents": [
9+
{
10+
"input_key": "",
11+
"type": "",
12+
"name": "HRHelperAgent",
13+
"deployment_name": "gpt-4.1",
14+
"icon": "",
15+
"system_message": "You have access to a number of HR related MCP tools for tasks like employee onboarding, benefits management, policy guidance, and general HR inquiries. Use these tools to assist employees with their HR needs efficiently and accurately.If you need more information to accurately call these tools, do not make up answers, call the ProxyAgent for clarification.",
16+
"description": "An agent that has access to various HR tools to assist employees with onboarding, benefits, policies, and general HR inquiries.",
17+
"use_rag": false,
18+
"use_mcp": true,
19+
"use_bing": false,
20+
"use_reasoning": false,
21+
"index_name": "macae-index",
22+
"index_foundry_name": "",
23+
"index_endpoint": "",
24+
"coding_tools": false
25+
},
26+
{
27+
"input_key": "",
28+
"type": "",
29+
"name": "TechnicalSupportAgent",
30+
"deployment_name": "gpt-4.1",
31+
"icon": "",
32+
"system_message": "You have access to a number of technical support MCP tools for tasks such as provisioning laptops, setting up email accounts, troubleshooting, software/hardware issues, and IT support. Use these tools to assist employees with their technical needs efficiently and accurately. If you need more information to accurately call these tools, do not make up answers, call the ProxyAgent for clarification.",
33+
"description": "An agent that has access to various technical support tools to assist employees with IT needs like laptop provisioning, email setup, troubleshooting, and software/hardware issues.",
34+
"use_rag": false,
35+
"use_mcp": true,
36+
"use_bing": false,
37+
"use_reasoning": false,
38+
"index_name": "macae-index",
39+
"index_foundry_name": "",
40+
"coding_tools": true
41+
},
42+
{
43+
"input_key": "",
44+
"type": "",
45+
"name": "ProxyAgent",
46+
"deployment_name": "",
47+
"icon": "",
48+
"system_message": "",
49+
"description": "",
50+
"use_rag": false,
51+
"use_mcp": false,
52+
"use_bing": false,
53+
"use_reasoning": true,
54+
"index_name": "",
55+
"index_foundry_name": "",
56+
"coding_tools": false
57+
}
58+
],
59+
"protected": false,
60+
"description": "Team focused on HR and technical support for employees.",
61+
"logo": "",
62+
"plan": "",
63+
"starting_tasks": [
64+
{
65+
"id": "task-1",
66+
"name": "Onboard New Employee",
67+
"prompt": "Please onboard our new employee Jessica Smith​",
68+
"created": "",
69+
"creator": "",
70+
"logo": ""
71+
}
72+
]
73+
}

data/agent_teams/marketing.json

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
{
2+
"id": "1",
3+
"team_id": "team-1",
4+
"name": "Product Marketing Team",
5+
"status": "",
6+
"created": "",
7+
"created_by": "",
8+
"agents": [
9+
{
10+
"input_key": "",
11+
"type": "",
12+
"name": "CustomerDataAgent",
13+
"deployment_name": "gpt-4.1",
14+
"icon": "",
15+
"system_message": "You have access to internal customer data through a secure index. Use this data to answer questions about customers, their interactions with customer service, satisfaction, etc. Be mindful of privacy and compliance regulations when handling customer data.",
16+
"description": "An agent that has access to internal customer data, ask this agent if you have questions about customers or their interactions with customer service, satisfaction, etc.",
17+
"use_rag": true,
18+
"use_mcp": false,
19+
"use_bing": false,
20+
"use_reasoning": false,
21+
"index_name": "macae-index",
22+
"index_foundry_name": "",
23+
"index_endpoint": "",
24+
"coding_tools": false
25+
},
26+
{
27+
"input_key": "",
28+
"type": "",
29+
"name": "OrderDataAgent",
30+
"deployment_name": "gpt-4.1",
31+
"icon": "",
32+
"system_message": "You have access to internal order, inventory, product, and fulfilment data through a secure index. Use this data to answer questions about products, shipping delays, customer orders, warehouse management, etc. Be mindful of privacy and compliance regulations when handling customer data.",
33+
"description": "An agent that has access to internal order, inventory, product, and fulfilment data. Ask this agent if you have questions about products, shipping delays, customerr orders, warehouse management, etc.",
34+
"use_rag": true,
35+
"use_mcp": false,
36+
"use_bing": false,
37+
"use_reasoning": false,
38+
"index_name": "macae-index",
39+
"index_foundry_name": "",
40+
"coding_tools": true
41+
},
42+
{
43+
"input_key": "",
44+
"type": "",
45+
"name": "AnalysisRecomendationAgent",
46+
"deployment_name": "o4-mini",
47+
"icon": "",
48+
"system_message": "You are a reasoning agent that can analyze customer data and provide recommendations for improving customer satisfaction and retention. You do not have access to any data sources, but you can reason based on the information provided to you by other agents. Use your reasoning skills to identify patterns, trends, and insights that can help improve customer satisfaction and retention. Provide actionable recommendations based on your analysis. You have access to other agents that can answer questions and provide data about customers, products, orders, inventory, and fulfilment. Use these agents to gather information as needed.",
49+
"description": "A reasoning agent that can analyze customer data and provide recommendations for improving customer satisfaction and retention.",
50+
"use_rag": false,
51+
"use_mcp": false,
52+
"use_bing": false,
53+
"use_reasoning": true,
54+
"index_name": "",
55+
"index_foundry_name": "",
56+
"coding_tools": false
57+
}
58+
],
59+
"protected": false,
60+
"description": "Team focused on individualized customer relationship management and overall customer satisfaction.",
61+
"logo": "",
62+
"plan": "",
63+
"starting_tasks": [
64+
{
65+
"id": "task-1",
66+
"name": "Satisfaction Plan",
67+
"prompt": "Create a plan to improve Emily Thompson's satisfaction.​",
68+
"created": "",
69+
"creator": "",
70+
"logo": ""
71+
}
72+
]
73+
}

0 commit comments

Comments
 (0)