Hello engineers! Andy Dev Dan here, bringing you the latest insights from the tech ecosystem. Today, I want to share some thoughts on a trending tool, Cursor, and why I believe you should consider exploring another powerful alternative: Aider.
Cursor has been making waves recently, particularly due to its new multifile editing feature. As a big fan of Cursor, I can appreciate the capabilities it brings to the table. However, it's important to remember that Cursor is a closed-source commercial application. Relying solely on a single tool this early in the generative AI age might not be the best approach.
For the past year, our channel has been leveraging AI coding through Aider—one of the original LLM-based coding tools. From what we’ve observed, Aider not only often outperforms Cursor, but it also provides greater control over the coding process. Best of all, Aider is completely free and supports multiple LLM providers. The brains behind Aider, Paul the Engineer, regularly posts insightful blogs that cover the latest developments in AI coding.
In today’s article, I’ll demonstrate how to build a new Mermaid AI agent using Aider, allowing you to generate diagrams faster and more effectively.
Before diving in, let me explain what Mermaid is. It's a fantastic text-based diagramming and charting tool that allows developers to create node-and-edge-based diagrams from simple text blocks.
The setup for our Mermaid AI agent is straightforward. You can run a command to specify the desired diagram and output image. Additionally, you can provide an input file for the agent to read and generate diagrams. This allows for easy iteration to improve the output.
Here’s how the command works:
Let’s dive into the AI coding aspect with Aider. Using its terminal functionality, I will walk through implementing the necessary adjustments within our codebase. By leveraging Aider's command, I can quickly pinpoint where we save our generated diagrams and how to ensure all previous iterations are preserved.
Now, to enhance our Mermaid AI agent further, I'll create a new command that allows users to generate multiple diagram versions at once. This is particularly useful when exploring various design options and visual perspectives.
Using the new bulk command, Aider is capable of generating several unique diagrams that provide varied perspectives on the project or task at hand. This not only aids in clarity but also improves communication—an invaluable skill for engineers looking to convey ideas rapidly.
I want to emphasize the power of diversifying your AI coding tools. While Cursor is an excellent resource, it’s essential not to be locked into a single application. Aider provides an open-source, customizable alternative that can help you achieve significantly more control over your coding experience. As we explore the future of generative AI, it’s vital to stay agile, learning and adapting as new tools emerge.
If you're keen on generating diagrams and enhancing your workflow, I highly recommend exploring Aider alongside Cursor. It’s an exciting time to be part of the generative AI landscape, and embracing these innovations will benefit your career and projects.
1. What is Cursor? Cursor is a closed-source commercial application designed for coding assistance, recently gaining traction due to its multifile editing feature.
2. What is Aider? Aider is an open-source AI coding tool that allows customizable coding assistance and supports multiple LLM providers.
3. How does the Mermaid AI agent work? The Mermaid AI agent creates diagrams based on text input, allowing for rapid iteration and improvements to visuals.
4. Why should I diversify my coding tools? Diversifying coding tools mitigates risk and provides access to a wider range of functionalities, especially as the generative AI landscape evolves.
5. How can Aider enhance engineering communication? Aider simplifies the process of generating diagrams, a crucial aspect of clear engineering communication, helping to convey complex ideas succinctly.
In addition to the incredible tools mentioned above, for those looking to elevate their video creation process even further, Topview.ai stands out as a revolutionary online AI video editor.
TopView.ai provides two powerful tools to help you make ads video in one click.
Materials to Video: you can upload your raw footage or pictures, TopView.ai will edit video based on media you uploaded for you.
Link to Video: you can paste an E-Commerce product link, TopView.ai will generate a video for you.