AI-FIRST DESIGN & DEVELOPMENT WORKFLOW

AI trip agent building a governed design system and intelligent product in one sprint

Key Tools & Techniques

  • Cursor IDE
  • Claude
  • IBM Carbon Design System v11
  • Storybook
  • Figma MCP
  • Tambo AI
  • Firebase
  • Leaflet

01

Challenge

Organizations building AI-powered products face a dual challenge. First — how to maintain design system consistency when the majority of code is generated by an AI agent, not hand-written by a developer reviewing style guides. Second — how to rapidly deliver intelligent, conversational product functionality (an AI agent) without losing weeks on UI boilerplate, backend integrations, and component documentation.

The goal was to build a complete pipeline: from Carbon Design System tokens, through a custom design system documented in Storybook with production components, to Figma screens generated by AI — while simultaneously delivering a working product with a built-in AI agent that plans trips through natural language.

02

Process

03

What Was Built

  • Multi-day trip plan creation with auto-save to Firebase

  • Adding locations via map click, search, or conversation with the AI — each enriched with images and descriptions from Wikidata/Wikipedia

  • Transport planning with real road-following routes (OSRM), showing distance, time, and transport type

  • Drag-and-drop reordering of locations within and across days

  • AI co-pilot with tool-calling that understands plan context and generates full itineraries through natural language

  • Interactive map with numbered markers per day, route polylines, and multiple tile styles

  • Design system — documented and ready for evolution

04

Key Takeaways

  • Design System Governance at Generation Time. cursorrules enforced Carbon compliance before code was written, not after. Result: 29 stories, 6 MDX docs, zero manual design system refactoring.

  • Code → Storybook → Figma: The Inverted Design Pipeline. Production code became the source of truth. AI-generated Figma screens gave designers a structured starting point with correct tokens and hierarchy — eliminating the traditional handoff drift.

  • AI Building an AI-Powered Product. The in-product trip planning agent (tool-calling, plan context, generative UI) was itself built by an AI coding agent. One sprint, both layers delivered.