Watch our co-founder Teddy Ni talk about our newest release: Agent Mode. Agent Mode gives Magic Patterns customers new & improved capabilities: - Browse websites from a URL - Improved custom component usage, using your product's existing styles - 40% decrease in errors - 35% increase in debugging effectiveness What will you build?
My co-founder Teddy Ni introducing Agent Mode on Magic Patterns: Everything we've learned from revamping our AI architecture over the years: 1. In the very early days (2023), we experimented with fine-tuning, but never got good results. We learned our use case was completely wrong for fine-tuning. Generating UI is very broad in scope, especially given our customer base. But turns out prompting gets you ~90% of the way there. It's also hard to keep up with the latest models. Imagine spending $50k to fine-tune a model, but then Gemini 3 comes out. (This is why our new Agent Mode does automatic model routing.) 2. Our next system was chaining a bunch of prompts together, i.e., the user prompts "a dashboard to manage orders, use my product's styles" and we would do a series of LLMs calls to construct a main prompt. The problem: this was very slow. 3. Then, we had a robust "one-shot" system, which we now call legacy. But given how broad in scope our use case is, we found ourselves shoving everything into a system prompt, even when it's not relevant. For example, we have sections in the prompt about image handling, but perhaps the user didn't even attach an image. This means we quickly ran into context window limitations: how much the AI can keep in its memory before it forgets. Our newest system is Agent Mode. Rather than generating everything in a single pass, the agent builds context as it works. It studies your existing design, asks relevant questions, and writes changes incrementally. With it, we've seen a 40% decrease in errors compared and 35% more effective at fixing bugs. In the beta, we heard from Magic Patterns customers that Agent Mode understands your styles and component libraries more deeply. It will automatically search, select, and apply them to produce outputs that feel native to your existing product guidelines. --- Very excited to see how Agent Mode also evolves. P.S. More videos coming soon! Happy prompting!