Skip to content

Exercise the Agent & Analyze Traces

Start the Weather MCP server

# Start the Weather MCP Server:
python weather-mcp-server.py &

# If you need to stop it later, find the process ID with:
ps aux | grep weather-mcp-server.py

# And kill it with:
kill <PID>

Run the agent

Run your agent from the VS Code terminal:

python lg_travel_agent.py

Input test queries

Try the following test queries:

  1. Book a flight from ATL to SFO on 2nd June 2026

  2. Book a flight from SFO to BOM next week. Book a Marriott hotel in central Mumbai. Also what's the weather going to be in Mumbai next week?

  3. Book a flight from ALT to SFO on June 8, 2026 and book a hotel in San Francisco, CA from June 8 to June 10 at the Marriott. Also, what's the weather going to be like in San Francisco June 8 to June 10 2026?

  4. Book a flight from SFO to LAX next week and also book a Hilton hotel

View traces in the Okahu extension

  1. Open the Okahu Extension view in the sidebar
  2. Select Edit Workflows to see a live-updating list of spans Note: Here are the steps: Hover over the okahu-cloud row → click the funnel icon that appears on the right → select Edit workflows.

Edit Workflows showing trace list

  1. Click on a trace to see the nested spans (LLM calls, tool usage, etc.)

Trace detail with nested spans