Trae AI a FREE AI Code Editor. Better than CURSOR ?

Mervin Praison · Beginner ·🌐 Frontend Engineering ·1y ago

Key Takeaways

The video demonstrates how to use Trae AI, a free AI-powered IDE, to build full applications with one prompt, and explores its features and tools, including MCP, CL 3.7, and PostgresSQL.

Full Transcript

Now we are able to create a full-fledged application like this with just one prompt and this is really nice. This is built using tray IDE. You can download and use this tool right now completely for free and it provides a easy using interface. Also you can create your custom agent to build your application having access to advanced tool using MCP. It's a AI co-pilot or AI engineer to develop your application. It has access to more tools and more capabilities using MCP. You can add context to get more accurate answer. You have smart completions built in and you can get started for free. And this has access to some advanced models such as CL 3.7 Sonnet, Gemini 2.5 Pro and GPD 4.1. And we are going to create a custom agent and use that custom agent to build our application using our customized instruction. There are many other features which I want to show you such as MCP and integrating that here adding context to this IDE adding rules and finally configuring models. So stay till the end to learn all this. We are going to test this and try to build the application with this and let's see how it's going to perform. Let's get started. Thanks to Trey AAI for sponsoring this video. First go to trey.ai and download the application by just clicking this icon. So once after you download and install it, first I want to show you how you can create agents within this application. Go to settings and agents. There by default you got the builder agent and builder with MCP agent. But we are going to create a custom agent. Create agent. I'm going to name that as developer agent and giving this as a prompt. You are a senior front-end developer developing in Nex.js, JavaScript, TypeScript and the coding environment next.js, JavaScript, TypeScript, Tailwind, CSS, HTML and CSS. So that is the instruction. After that I'm just giving some inbuilt tools access file system terminal web search and preview then clicking create and then you can use this agent to build any application. Now the custom agent is ready in our IDE. So as a first step, we going to use the developer agent and I'm going to ask create an image resizer app with modern professional design. I'm choosing clo 3.7 set and clicking send. Now it's processing the request. So based on the requirement, it's using Nex.js with TypeScript. Also, it's using Tailwind CSS. It's automatically running its terminal commands. created all these files index html style CSS and also you can view that here and all other information available here the process and finally it started the server and I'm able to preview so by clicking this icon you can see you got the preview window directly within your ID and now I can test by dragging and dropping an image so I'm dragging an image here image loaded successfully now I can change the aspect ratio change the image quality Also if I don't want to maintain the aspect ratio I can remove that and based on that you can resize and you can see it got resized. Now if I want to download I can click download. So this is all working perfectly fine. So you can clearly see with just one instruction and I provided that instruction to this developer agent and all this done with the perfect application and this looks amazing. You can also view all the list of files created on the left hand side index script JS styles. The real power of an AI agent is when we add tools to this agent. So to add MCP tools to developer agent let's go to settings MCP. There I'm going to click add icon and here you got multiple options such as puppeteer postsql then github and other. But now I'm going to add a database to this application. So that is PostgresSQL and I'm going to get a PostgresSQL database from neon. There I can click the option to connect at the top and that will provide me the username and password for the neon database that is a PostgresQL database. So I just copied the snippet. Then here in Postgress SQL settings whatever you copied you can add that here at the top. So as soon as you paste that then click confirm to create. That's it. Now the MCP server got successfully added. So you can see the list of options here. So query is the main tool within Postgress SQL. So now we are ready to talk to the database and eventually integrating that with our application. So in our case we don't need to know any SQL code. You can just ask with our natural language. So I'm going to go back to our developer agent. In the edit agent, there's a option to add PostgresQL. So I can just tick the box and then click save. Now I got access to PostgresQL. Now I can ask the agent to use Postgress SQL MCP to provide me more information about my database. And then clicking send. Now you can see it's automatically interacting with the database. It's getting more information about the database schema. And you can clearly see I don't need to write any SQL code automatically. It's written and queried. Even you can integrate this SQL database with your own application with just your natural language. Now I want to use a feature called images which means I can modify the existing design with my custom design. I asked chat GPT to convert this design into Jubilee style and I got this output. So I'm going to download this image. I'm going to add the image. I've added that image and going to add context. So clicking context and I'm going to add all the files that is index then adding style CSS and then adding script.js. That means it understands the existing design and able to change it accordingly. Now I'm going to ask change the existing design according to the design provided in the image and clicking send. Now it's making those modification. I'm accepting those changes. Now you can see it automatically fixing if any issue occurs automatically starting the server and I'm able to preview. So clicking on preview and here is the interface. This looks amazing compared to how it was before. I really like the design and I could further prompt to make this much better. You can also see the terminal here. It's automatically having its own terminal running all the commands without me doing anything completely automated. So I'm going to drag an image and drop it here. So here I'm dragging an image dropping it here and it's working as expected. Really nice. You can also add your MCP server using the JSON config that is your custom MCP. Also other features which I want to cover is context. So you can add your own context by adding documents here. Add docs. It can be from URL or it can be from local files. Here I'm going to add a document that is local files. Giving a title own documentation. Then adding files. I've added the file and clicking confirm. Now you can see it automatically indexed that file. Next I'm going to add a URL pen a docs and clicking confirm. You can see it's automatically going to the URL and indexing those pages. Two pages indexed. So now this information can be used as context when we ask this agent to perform any task. Also you can add context directly from here in the chat by hash and you can mention if it's a web search or if it's referring to a file like this. Next I want to show you about rules. So after going to rules you got two different types of rule. One is user rule. Another one is project specific rule. User rule is basically a global rule specifically for you. And project is specific for individual project. So I can click add rule and you can see it's automatically getting added here. And here I can add my rule. Always perform what is necessary. Now you can see the rule got added here and also it's in this folder tray rules and this folder. Next I want to show you the available models. So here after going to models you can see these are the built-in models and you can also add your custom model. So add model and choose your provider. I like open router. This give access to multiple models and that is really nice. The final feature I want to show you is when you go to agents, there's a feature called auto run. This means it can automatically run commands on your behalf in the terminal. So I'm going to turn it on and confirm auto run. And also I can add deny list which means I don't want the agent to run all these commands such as rm kill chmod. And you can even add more such as rmd and much more. In this way, if I ask this agent to do any task, if it requires any terminal commands to be run, it'll automatically run the commands completely in auto mode, which speeds up your process of building the application. And I'm really excited about this. Do let me know in the comments below what you think about this. Also, let me know how this compares with other ID tools. I hope you like this video. Do like, share, and subscribe. And thanks for watching.

Original Description

# 🚀 Build Full Applications with ONE PROMPT using Trae AI - The Ultimate AI Development Tool! Discover how to create complete, professional applications with just a single prompt using **Trae AI** - a revolutionary AI-powered IDE that's completely FREE to use! In this comprehensive tutorial, I'll show you everything you need to know about this game-changing development tool. Try Trae AI now: https://tinyurl.com/ykth2cxr YouTube: @trae_ai IG: @trae.ai Twitter: @trae_ai #TraeAI, #Trae #AIforDev, #SmartCoding, #AIProgramming, #CodeBetter ## 🎯 What You'll Learn: - How to build a complete **Image Resizer App** with modern professional design using just one prompt - Creating and configuring **custom AI agents** for specialized development tasks - Integrating **MCP (Model Context Protocol)** tools for advanced capabilities - Adding **PostgreSQL database** integration without writing SQL code - Using **natural language** to interact with databases and modify applications - Implementing **context-aware development** with document and URL indexing - Setting up **custom rules** for automated development workflows - Configuring **multiple AI models** including Claude 3.5 Sonnet, Gemini 2.5 Pro, and GPT-4o - **Auto-run terminal commands** for completely automated development ## ⚡ Key Features Demonstrated: ### 🤖 Custom Agent Creation - Built a specialized **Developer Agent** for Next.js, TypeScript, and Tailwind CSS - Configured with file system, terminal, web search, and preview access - Customized instructions for front-end development workflows ### 🛠️ MCP Tools Integration - **PostgreSQL integration** with Neon database - **Natural language database queries** - no SQL knowledge required - Seamless database schema exploration and integration ### 🎨 Design Modification with Images - Upload design mockups and modify existing applications - **Visual-to-code conversion** using AI image analysis - Professional UI/UX implementation from design references ### 📚 Contex
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from Mervin Praison · Mervin Praison · 0 of 60

← Previous Next →
1 Build GCP Infra using Pulumi in YAML format
Build GCP Infra using Pulumi in YAML format
Mervin Praison
2 How to Convert a Pulumi YAML File to Python Format
How to Convert a Pulumi YAML File to Python Format
Mervin Praison
3 Speed Up AWS EKS: A Complete Guide to Performance Tuning & Debugging!
Speed Up AWS EKS: A Complete Guide to Performance Tuning & Debugging!
Mervin Praison
4 Learn GCP GKE to AWS EKS Migration in Just 5 Minutes: Quick Guide
Learn GCP GKE to AWS EKS Migration in Just 5 Minutes: Quick Guide
Mervin Praison
5 AWS & Kubernetes: The Definitive Guide to Data Persistence with PV and PVC
AWS & Kubernetes: The Definitive Guide to Data Persistence with PV and PVC
Mervin Praison
6 ChatGPT Voice Conversation RELEASED! It's AMAZING!! (Demo)
ChatGPT Voice Conversation RELEASED! It's AMAZING!! (Demo)
Mervin Praison
7 How to Install Mistral 7B in Minutes: Quick & Easy Guide! ✅
How to Install Mistral 7B in Minutes: Quick & Easy Guide! ✅
Mervin Praison
8 Code Llama Install Locally: 🐍💻 Elevate Your Python Skills!
Code Llama Install Locally: 🐍💻 Elevate Your Python Skills!
Mervin Praison
9 Orca Mini: Your Ultimate Guide to Install and Test on Mac & Linux 💻
Orca Mini: Your Ultimate Guide to Install and Test on Mac & Linux 💻
Mervin Praison
10 Quick & Easy Vicuna Setup on Mac and Linux 💻
Quick & Easy Vicuna Setup on Mac and Linux 💻
Mervin Praison
11 Quick Guide: Llama2 Local Installation and ChatGPT with pip! Python🛠️
Quick Guide: Llama2 Local Installation and ChatGPT with pip! Python🛠️
Mervin Praison
12 Query PDFs Like a Pro with Local GPT: Full Setup Guide! 📜
Query PDFs Like a Pro with Local GPT: Full Setup Guide! 📜
Mervin Praison
13 LM Studio: EASIEST way to Run Large Language Models Locally!
LM Studio: EASIEST way to Run Large Language Models Locally!
Mervin Praison
14 AMAZING ChatGPT Vision is OUT! 🤯 14+ Examples (Step-by-Step) FULL Tutorial
AMAZING ChatGPT Vision is OUT! 🤯 14+ Examples (Step-by-Step) FULL Tutorial
Mervin Praison
15 Unbelievable! Build ANY App Instantly with Smol AI! 😲🔥
Unbelievable! Build ANY App Instantly with Smol AI! 😲🔥
Mervin Praison
16 Amazing! AutoGen Made Easy: A Step-by-Step Beginners Guide 📚
Amazing! AutoGen Made Easy: A Step-by-Step Beginners Guide 📚
Mervin Praison
17 How to Set Up LoLLMS and Run LLMs Locally! 🚀 Step-by-Step Tutorial
How to Set Up LoLLMS and Run LLMs Locally! 🚀 Step-by-Step Tutorial
Mervin Praison
18 GPT4All: INSANE Way to Run Large Language Models Locally! 😲 Step-By-Step Tutorial
GPT4All: INSANE Way to Run Large Language Models Locally! 😲 Step-By-Step Tutorial
Mervin Praison
19 Incredible AI-Powered NPCs in Unity Game Engine: Step by Step Tutorial!🤯
Incredible AI-Powered NPCs in Unity Game Engine: Step by Step Tutorial!🤯
Mervin Praison
20 MemGPT 🧠 LLM as Operating System. It's INSANE! Step-by-Step Tutorial 🤯
MemGPT 🧠 LLM as Operating System. It's INSANE! Step-by-Step Tutorial 🤯
Mervin Praison
21 Text Generation Web UI: MIND-BLOWING Way to Run LLM Locally! 🤯
Text Generation Web UI: MIND-BLOWING Way to Run LLM Locally! 🤯
Mervin Praison
22 Unlock the INSANE Power of OpenAI GPT-4 with C#/.NET! 😲
Unlock the INSANE Power of OpenAI GPT-4 with C#/.NET! 😲
Mervin Praison
23 Integrate Langchain and Ollama for Local AI Power 🤯 Indeed POWERFUL!
Integrate Langchain and Ollama for Local AI Power 🤯 Indeed POWERFUL!
Mervin Praison
24 ChatDev: INSANE Virtual AI Agents! Future of Software Development 😲
ChatDev: INSANE Virtual AI Agents! Future of Software Development 😲
Mervin Praison
25 Query PDFs Using Mistral: Unlock INSANE Power! 🤯
Query PDFs Using Mistral: Unlock INSANE Power! 🤯
Mervin Praison
26 AutoGen + Open-Source LLMs: UNBELIEVABLE! Step-by-Step Tutorial You Can't Miss! 🤯
AutoGen + Open-Source LLMs: UNBELIEVABLE! Step-by-Step Tutorial You Can't Miss! 🤯
Mervin Praison
27 AutoGen + Text Generation WebUI: Unbelievable 100% Local Private Setup 🤯
AutoGen + Text Generation WebUI: Unbelievable 100% Local Private Setup 🤯
Mervin Praison
28 MemGPT: Amazing! External Context for LLM #ai #llm #memgpt  #generativeai #mem #gpt #openai #chatgpt
MemGPT: Amazing! External Context for LLM #ai #llm #memgpt #generativeai #mem #gpt #openai #chatgpt
Mervin Praison
29 GeniA: Kubernetes + AI for MIND-BLOWING Operational Efficiency! 🤯 FULL Tutorial
GeniA: Kubernetes + AI for MIND-BLOWING Operational Efficiency! 🤯 FULL Tutorial
Mervin Praison
30 VertexAI Meets LangChain for Mind-Blowing AI Conversations! 😲 Step by Step Tutorial
VertexAI Meets LangChain for Mind-Blowing AI Conversations! 😲 Step by Step Tutorial
Mervin Praison
31 Simplified ChatGPT API Setup on Node.js for Newbies! 😍 Step by Step Tutorial
Simplified ChatGPT API Setup on Node.js for Newbies! 😍 Step by Step Tutorial
Mervin Praison
32 Autogen: Ollama integration 🤯 Step by Step Tutorial. Mind-blowing!
Autogen: Ollama integration 🤯 Step by Step Tutorial. Mind-blowing!
Mervin Praison
33 LiteLLM: One-Function Call to ANY Large Language Model! 🤯 UNBELIEVABLE!
LiteLLM: One-Function Call to ANY Large Language Model! 🤯 UNBELIEVABLE!
Mervin Praison
34 ChatGPT Chatbot in Less Time Than You Think! 🚀😎 Step-by-Step Tutorial
ChatGPT Chatbot in Less Time Than You Think! 🚀😎 Step-by-Step Tutorial
Mervin Praison
35 LiteLLM Chatbot: Build Your Own in MINUTES! INSANE! 🤖🔥
LiteLLM Chatbot: Build Your Own in MINUTES! INSANE! 🤖🔥
Mervin Praison
36 Create Chatbot: Turn ANY Open-Source LLM into a Conversation Pro! 🤖
Create Chatbot: Turn ANY Open-Source LLM into a Conversation Pro! 🤖
Mervin Praison
37 Create Chatbot: Ollama Integration Made UNBELIEVABLY Easy! 🎉
Create Chatbot: Ollama Integration Made UNBELIEVABLY Easy! 🎉
Mervin Praison
38 LlamaIndex + ChatGPT: Ingest Data and Experience UNBELIEVABLE Query Results! 🌟
LlamaIndex + ChatGPT: Ingest Data and Experience UNBELIEVABLE Query Results! 🌟
Mervin Praison
39 INSANE! OpenAgents: Automated Data Analysis with Kaggle 🤯
INSANE! OpenAgents: Automated Data Analysis with Kaggle 🤯
Mervin Praison
40 React.js LLM Agent for Next-Gen Coding using ChatGPT 🚀 Mind-Blowing 🤯
React.js LLM Agent for Next-Gen Coding using ChatGPT 🚀 Mind-Blowing 🤯
Mervin Praison
41 MemGPT + Any LLM 🚀 100% Local & Private Integration Unveiled! Unlimited Memory
MemGPT + Any LLM 🚀 100% Local & Private Integration Unveiled! Unlimited Memory
Mervin Praison
42 MemGPT  + AutoGen 🧠🤖 Unlimited Memory & Autonomous AI Agents! INSANE🤯
MemGPT + AutoGen 🧠🤖 Unlimited Memory & Autonomous AI Agents! INSANE🤯
Mervin Praison
43 AutoGen + Google's Palm LLM & More! Revolutionary AI Integration 🚀
AutoGen + Google's Palm LLM & More! Revolutionary AI Integration 🚀
Mervin Praison
44 MemGPT & LM Studio Integration Revealed! 🔥 Next-Level AI
MemGPT & LM Studio Integration Revealed! 🔥 Next-Level AI
Mervin Praison
45 🚀 AutoLLM: Unlock the Power of 100+ Language Models! Step-by-Step Tutorial
🚀 AutoLLM: Unlock the Power of 100+ Language Models! Step-by-Step Tutorial
Mervin Praison
46 AutoLLM & Gradio Integration You Won't Believe! 🤯 Mind-Blowing
AutoLLM & Gradio Integration You Won't Believe! 🤯 Mind-Blowing
Mervin Praison
47 AutoLLM & FastAPI Tutorial: Query 100+ Language Models! 😱
AutoLLM & FastAPI Tutorial: Query 100+ Language Models! 😱
Mervin Praison
48 Quivr: LLM's Second Brain - Transforming Data Management & Advanced Query with AI! 🤯
Quivr: LLM's Second Brain - Transforming Data Management & Advanced Query with AI! 🤯
Mervin Praison
49 AutoGen & MemGPT with Local LLM: A Complete Setup Tutorial! 🧠 AMAZING 🤯
AutoGen & MemGPT with Local LLM: A Complete Setup Tutorial! 🧠 AMAZING 🤯
Mervin Praison
50 LocalAI: Free, Open Source OpenAI Alternative 🚀 INSANE 🤯 Step-by-Step Tutorial
LocalAI: Free, Open Source OpenAI Alternative 🚀 INSANE 🤯 Step-by-Step Tutorial
Mervin Praison
51 Yarn Mistral 7B 128k LARGE context window, Small size 🤯 INSANE 🚀 Setup Tutorial!
Yarn Mistral 7B 128k LARGE context window, Small size 🤯 INSANE 🚀 Setup Tutorial!
Mervin Praison
52 Zephyr-7B: The Small and Mighty LLM 🤯 Step by Step Tutorial! 📘
Zephyr-7B: The Small and Mighty LLM 🤯 Step by Step Tutorial! 📘
Mervin Praison
53 Promptfoo: How to Test Your LLM ? 🚀  VERY EASY!
Promptfoo: How to Test Your LLM ? 🚀 VERY EASY!
Mervin Praison
54 Pydantic: How to Validate LLM Responses? 🚀 Quality Response. VERY EASY!!!!
Pydantic: How to Validate LLM Responses? 🚀 Quality Response. VERY EASY!!!!
Mervin Praison
55 Pydantic: FORCE Your AI to Respond Back in UPPERCASE! 🤯 Step-by-Step Tutorial 🔥
Pydantic: FORCE Your AI to Respond Back in UPPERCASE! 🤯 Step-by-Step Tutorial 🔥
Mervin Praison
56 Pydantic: How to use LLM to convert unstructured data to structured data?
Pydantic: How to use LLM to convert unstructured data to structured data?
Mervin Praison
57 AutoGen Function Calling: INSANE 🚀 Custom Integrations! Step-by-Step Tutorial 🤯
AutoGen Function Calling: INSANE 🚀 Custom Integrations! Step-by-Step Tutorial 🤯
Mervin Praison
58 OpenAI Assistants API + Python 🤖 How to get started? (FULL Tutorial) 🤯 INSANE
OpenAI Assistants API + Python 🤖 How to get started? (FULL Tutorial) 🤯 INSANE
Mervin Praison
59 GPT-4 Vision API 🤯 INSANE Video Recognition Powers! Step-by-Step Tutorial 🚀
GPT-4 Vision API 🤯 INSANE Video Recognition Powers! Step-by-Step Tutorial 🚀
Mervin Praison
60 GPT-4 Vision API 🚀 The Future of Image Recognition! 🤯 Step-by-Step Tutorial
GPT-4 Vision API 🚀 The Future of Image Recognition! 🤯 Step-by-Step Tutorial
Mervin Praison

This video teaches how to use Trae AI to build full applications with one prompt, and explores its features and tools, including MCP, CL 3.7, and PostgresSQL. By following this tutorial, viewers can learn how to create custom agents, integrate PostgresSQL with developer agents, and use the Trae AI code editor for building applications.

Key Takeaways
  1. Create custom agent with access to advanced tools using MCP
  2. Add PostgresSQL database to application using MCP and Neon
  3. Build image resizer app with modern professional design using CL 3.7 and Tailwind CSS
  4. Resize images and download them with custom agent
  5. Connect PostgresSQL database from neon
  6. Add PostgresSQL to developer agent
  7. Ask agent to use PostgresSQL MCP
  8. Modify existing design with custom design using Jubilee style
  9. Automatically fix issues and start server for preview
  10. Add user rules and project-specific rules to the Trae AI code editor
💡 The Trae AI code editor allows users to build full applications with one prompt, and provides features such as custom agents, PostgresSQL integration, and automatic issue fixing.

Related Reads

Up next
How to Use Semrush Keyword Magic Tool with ChatGPT to Make Money
Grow with Will - SEO, Sales & Entrepreneurship
Watch →