Case Study: AI Engineer

Title: "Chef in My Pocket" Agentic MVP

1. Background & Vision

At X, our goal is to make AI the default way we serve and grow our customer base. We are moving beyond simple models to build intelligent, autonomous systems that redefine our business.

This case study is based on the

"Chef in My Pocket" product concept from our AI-First Product Leader challenge. The vision is to create a meal-planning agent that turns a generic grocery run into a personalized, outcome-driven experience for the user.

As a candidate for the AI Engineer role, you are a "player-coach" who is expected to lead technical strategy while maintaining a significant hands-on contribution (70%). This challenge is designed to assess your ability to quickly architect and build a sophisticated, agentic MVP that forms the technical foundation for this product vision.

2. The Task: Build a "Chef in My Pocket" Agent

Your task is to design and build a functional proof-of-concept AI agent that helps a user plan their meals for a few days based on a dietary goal. The agent must demonstrate planning, tool use, and memory.

Core Agent Behavior:

  1. The agent should start by asking the user for a dietary goal (e.g., "low-carb," "vegetarian," "high-protein") and the number of days for the meal plan.
  2. Based on the input, the agent must plan its steps, then use tools to execute that plan.
  3. The agent must interact with a set of tools you create (exposed via an MCP server) to find suitable recipes and add their ingredients to a shopping list.
  4. The agent must present the final meal plan and the complete shopping list to the user.
  5. The agent must maintain conversational memory to handle at least one follow-up request, such as "Actually, can you replace the Day 2 recipe with something else?"

3. Key Technical Requirements

This is not just about writing a script. We want to see how you build a robust, extensible system. You might need to simplify some parts and we want to see where you have chosen to do so.