Skip to content

Commit f8436dc

Browse files
authored
Merge pull request #243 from microsoft/int-agentic
Int agentic
2 parents 1505707 + 260f4a2 commit f8436dc

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

SETUP.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,9 @@ MCP_SERVER_URI="http://localhost:8000/sse"
9191
#Check if this is still needed
9292
DB_PATH="data/contoso.db"
9393

94-
#User to replace your-agent with name of agent python file
95-
# E.g AGENT_MODULE="agents.loop_agent"
96-
AGENT_MODULE="agents.your-agent"
97-
94+
# Specify your agent Python module path
95+
# AGENT_MODULE="agents.autogen.single_agent.loop_agent"
96+
AGENT_MODULE="path_to_your_agent_module"
9897

9998
```
10099

@@ -105,13 +104,16 @@ AGENT_MODULE="agents.your-agent"
105104

106105
### 5. Run MCP Server
107106

108-
Go to "run" folder, and in terminal window with virtual environment activated, run MCP server
107+
Navigate to ```agentic_ai/backend_services``` folder, and in terminal window with virtual environment activated, run MCP server
109108

110109
```bash
111-
python mcp_service.py # Don't close terminal window once MCP server is running, use new terminal to run application
110+
python mcp_service.py
111+
# Keep this terminal open; open another terminal for the next step.
112+
112113
```
113114

114115
### 6. Run application
116+
Navigate to ```agentic_ai/applications```
115117

116118
The common backend application runs the agent selected in the .env file and connects to the frontend UI.
117119

@@ -130,7 +132,8 @@ This script will start the FastAPI backend (`backend.py`) and the Streamlit fron
130132
### 1. Start the FastAPI Backend
131133

132134
```bash
133-
python backend.py # Don't close terminal window once backend server is running, use new terminal to run frontend
135+
python backend.py
136+
# Keep this terminal open; open another terminal for the frontend.
134137
```
135138
The backend will be available at `http://localhost:7000/chat`.
136139

agentic_ai/agents/semantic_kernel/multi_agent/handoff_multi_agent.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,9 @@ async def _setup_agents(self) -> None:
9191
service=service,
9292
name="triage_agent",
9393
instructions=(
94-
"Handoff to the appropriate agent based on the language of the request."
94+
"Handoff to the appropriate agent based on the language of the request."
95+
"if you need clarification or info is not complete ask follow-up Qs"
96+
"Like if customer asks questions without providing any identifying info such as customer ID, ask for it"
9597
),
9698
plugins=[crm_billing, product_promotions, security_authentication],
9799
)

0 commit comments

Comments
 (0)