Module 3 Assignment: Extend the Campus Agent

Objective: Extend the DigiPen Campus Agent by adding a new specialized agent that handles a specific domain.

Background:

The Campus Agent currently has four specialized agents: Building Agent, Course Agent, Handbook Agent, and Cafe Agent. Your task is to add a fifth agent that serves a new purpose on campus.

Suggested Agent Ideas (pick one, or create your own):

Requirements:

  1. Create a new agent with appropriate instructions (system prompt)
  2. Implement knowledge retrieval using one (or more!) of these approaches:
    • Add documents to the vector store and use FileSearchTool, OR
    • Use the WebSearchTool to give your agent access to the web, OR
    • Create a custom tool using @function_tool that returns relevant data (should be more complex than the cafe example) OR
    • Create a new (or select an existing) MCP server
  3. Integrate with the main Campus Agent via handoff
  4. Test your agent with at least 3 different queries and document the results
  5. Use the OpenAI Traces Dashboard to debug at least one interaction and include a screenshot or description of what you observed

Deliverable: A Colab/Jupyter notebook with:

Bonus:

Deploy your extended Campus Agent to Hugging Face Spaces and include the URL in your submission. Remember to add your OPENAI_API_KEY as a secret in your Space settings (not in the code!).

Hints: