Pencil.dev is an innovative design-in-code platform that utilizes AI to seamlessly integrate visual interface design within development environments such as Cursor, VS Code, and various other IDEs, allowing designers and developers to collaborate without the need for tool handoffs. Centered around an agent-driven Model Context Protocol (MCP) canvas and an accessible design format embedded in your codebase, Pencil enables users to create, refine, and produce pixel-perfect UI screens with the aid of AI, all while maintaining version control in Git alongside their source code, which facilitates branches, merges, and rollbacks akin to traditional coding practices. By incorporating a Figma-like canvas directly into the IDE, it significantly reduces the hassle of switching between different tools, supports the import of frames and assets from Figma while preserving vectors and styles, and allows for manipulation of design elements through intuitive editing panels, layers, and CSS-like properties. Furthermore, AI models assist in the simultaneous generation of screens, flows, and components, enhancing productivity and creativity in the design process. This integration fosters a more cohesive workflow, making it easier for teams to innovate and iterate on their projects efficiently.