YouTube Deep SummaryYouTube Deep Summary

Star Extract content that makes a tangible impact on your life

Video thumbnail

Here Is How to Vibe Code Large Scale Projects

AI LABS β€’ 2025-04-27 β€’ 6:58 minutes β€’ YouTube

πŸ“š Chapter Summaries (9)

πŸ€– AI-Generated Summary:

Planex: The Ultimate Command Line Coding Agent for Large-Scale Projects

If you’ve ever struggled with AI coding assistants choking on large projects due to context size limitations, you’re not alone. Popular tools like Cursor often hit a wall when dealing with big codebases, causing frustration and project disruptions. But what if there was a smarter, more resilient way to manage AI-assisted coding for massive projects?

Enter Planex β€” a powerful command line coding agent designed specifically for large-scale projects. In this post, we’ll explore what makes Planex stand out, how to install and run it locally, and see it in action through a Swift app demo.


What is Planex?

Planex is a command line AI coding assistant built to handle huge codebases that typically overwhelm other tools. Here are some of its standout features:

  • Massive Context Handling: Supports up to 2 million tokens of context directly and can index directories with 20 million tokens or more.
  • Advanced Code Navigation: Utilizes tree sitter project maps, a cutting-edge feature in code editors that helps it understand and navigate complex code structures.
  • Multi-Model Support: Automatically selects the best AI model available through the Open Router API, ensuring resilience and flexibility.
  • Multiple Operation Modes: Offers cloud-based usage (with or without your own API keys) and a self-hosted local mode.

This combination makes Planex uniquely suited for developers dealing with large, complex codebases who want an AI partner that truly understands their project.


How to Install Planex Locally

If you want full control and to run Planex on your own machine, the local mode is the way to go. Here’s a quick overview of the setup process:

Prerequisites

  • Windows users: You must have Windows Subsystem for Linux (WSL) installed.
  • Docker: Ensure Docker is installed and running on your system.

Steps

  1. Clone the GitHub Repository: Start by cloning the Planex repo to your local machine.
  2. Start the Local Server: Use the provided command to launch the Planex server locally. Docker must be running, or you’ll encounter errors.
  3. Install the CLI: Open a new terminal and install the Planex command line interface (CLI). You may need to enter your password for permissions.
  4. Sign In and Configure: Sign into Planex in local mode by running the sign-in command. Confirm the default host address and create your local user.
  5. Set Your API Keys: Export your Open Router API key and OpenAI API key β€” these are necessary for Planex to function.
  6. Initialize Planex in Your Project: Navigate to your project directory and initialize Planex using a simple command. You’re now ready to interact with Planex!

Using Planex: Chat Mode and Tell Mode

Planex offers two primary modes to interact with your code:

  • Chat Mode: Start by brainstorming your ideas with Planex. You don’t need a fully fleshed-out plan or deep knowledge of your tech stack. Planex will parse your existing project files and understand the architecture, components, and workflows.

  • Tell Mode: Once you’re ready to build, switch to tell mode. Planex breaks down your main task into smaller, manageable steps and executes them one by one. All changes are made inside a sandbox environment so you can review, approve, or reject modifications before applying them to your actual codebase.

Additional Features

  • Debugging: If errors occur during execution, Planex offers debugging options, including a full auto mode that attempts to fix issues automatically. Be cautious, as this mode can consume a lot of tokens and API credits.
  • Command Execution: You can run shell commands and automate setups within Planex.

Planex in Action: Swift App Demo

To demonstrate Planex’s capabilities, let’s look at a real-world example using a Mac OS menu bar app built with Swift and SwiftUI.

  1. Project Understanding: After pointing Planex to the project, it instantly recognized the app type, architecture, and key components.
  2. UI Improvement Prompt: I asked Planex to improve the app’s UI β€” a challenging task for many AI models due to Swift’s complexity.
  3. Step-by-Step Implementation: Planex reasoned through the project, formulated a plan, and asked to switch to tell mode for implementation.
  4. Sandboxed Changes: It created a new script to build the app rather than modifying main files initially, then applied changes after approval.
  5. Building and Debugging: Planex built the app, identified minor build issues, and used full auto debug mode to fix them without manual intervention.
  6. Result: The updated app now includes the ability to change the accent color dynamically using native Mac OS and SwiftUI components. The UI enhancement was successful, showcasing Planex’s advanced capabilities.

Why Planex is a Game-Changer

  • Handles Large Projects: With token limits far exceeding other tools, Planex is perfect for real-world, sizable codebases.
  • Flexible Deployment: Use it in the cloud or run it locally with your own API keys for privacy and control.
  • Smart Multi-Model Selection: Automatically picks the best AI model for each task.
  • Safe Sandbox Environment: Review changes before applying them, reducing the risk of breaking your code.
  • Effective Debugging: Auto debug mode helps fix issues quickly and efficiently.

Final Thoughts

Planex represents a significant leap forward in AI-assisted coding for developers working on large-scale projects. Its ability to understand massive codebases, break down complex tasks, and safely implement changes makes it a compelling choice for professional developers.

If you’re interested in trying Planex yourself, check out their GitHub repository for detailed installation guides and documentation.


If you enjoyed this walkthrough and want to see more videos and tutorials on cutting-edge coding tools, please subscribe and support the channel. Your support helps keep the content coming!

Thanks for reading, and happy coding with Planex!


πŸ“ Transcript Chapters (9 chapters):

πŸ“ Transcript (196 entries):

## Intro [00:00] Cursor has a limit on how big your project can be because of the model's context size. Everyday people struggle with things not working or cursor messing up their projects. I found something better. It's called Planex, a command line coding agent built for large-scale projects. In this video, I'll show you how to install it, how it works, and what you can do with it. Let's get started. The special thing ## Overview [00:21] about Planex is that it can handle up to 2 million tokens of context directly, which is a lot. It can also index directories with up to 20 million tokens or more. This is possible because it uses tree sitter project maps, a relatively new feature in code editors that helps you navigate code better. Not only that, it uses multiple models through the open router API key and automatically picks the best one at any given time. This is why they say it's designed to be resilient for large code bases. Let's go ahead and see how to install it. Now, let's talk about the installation options. If you're on Windows, you need WSL or it won't work. There are three ways to run it. First, you can use Planex Cloud where you don't need separate API keys. Everything runs in the cloud and you can get started quickly. The quick start guides are in the GitHub repo and I'll link it below. Second, you can use Planex Cloud with your own API keys. You bring your own keys but still use the cloud service. Third is the self-hosted local mode where you run Planex yourself with Docker and use your own API keys. In this demo, we'll be working with the local mode. Let's set it up locally. ## Local Server [01:26] This is the local mode quick start guide. It's linked in the GitHub repo and I'll also put it in the description below. First, you need to clone the GitHub repo and start the server. As you can see, I have pasted in the command and now my server is running locally for Planex. Before you paste this command, make sure Docker is installed, set up, and running. Otherwise, it will throw an ## Install CLI [01:49] error. The next command goes into a new terminal to install the Planex CLI. You can see I entered the command and now Planex CLI is installed. It will attempt to use pseudo during installation. So you'll need to enter your password as well. After that, in the same terminal, you'll sign into Planex. It will create a user for you because you're running it locally. Just copy and paste the command. After pasting, it will ask how you're using Planex. Remember the three options I mentioned? We're selecting local mode. You'll see a host address. If you look back, the server command is running Planex on a specific port which shows up in the default option. Just press enter. It will create a user sign you in. And now to start Planex, you just use the Planex command. It will spin up a ripple for you in the project directory you want to work in. Now you ## Start Planex [02:34] can see I'm in my desired directory. And I want to initialize Pandex. Before you do that, you need to expose your open router API key and your Open AI API key. That's what Pandex will use. After you have your API keys exposed, you can initialize Planex in any repo you want using this command or a shortened version as well. Both work the same way and will initialize Planex. For more commands, you can check the instructions here. There are also other commands you can use like setting the configuration and changing Planex to auto mode. I'll explain what auto mode is in a moment. Right now, we're in chat mode. To enable mode, which starts writing code, we use this command. There is also a multi-line reading mode, but it is disabled for ## Planex Demo [03:17] now. Planex has actually provided a pretty detailed demo. I will demo it here myself, but let me show you how Plex works through it. This is how Plex works. You start in chat mode and whatever you want to build, you tell it your ideas and brainstorm with it. Even if you don't know anything about the tech stack you're going to use, just flesh out your ideas. You don't need to have everything planned from the start. If you provide a ready-made project, Planex can go through the files and figure out where everything should go thanks to the way it handles large context sizes. When you're ready to code, you can switch to Tel mode. It will automatically ask you and once enabled, it will start the implementation. Just like many newer tools, Planex breaks down the main task into smaller steps, each focused on a single goal, and it works through them one by one. Another thing is that whatever changes or files Planex creates happen inside a sandbox. After every tell mode session, you get a prompt where you can review the changes, apply them or reject them. Both versions of the file stay separate until you approve the changes. This means you can test what you built first. Like cursor, you can also run commands and set things up. Another feature is debugging. If any commands fail after you accept them, you can turn on full auto mode, which will try different fixes by itself. But be aware, full auto mode will use a lot of tokens and burn through your open router and API key credits, which can get expensive. I've opened a Swift app I ## Swift Demo [04:41] made using Gemini 2.5 in a previous video and told Plandex that this is the project. It read everything, recognized that it's a Mac OS menu bar application built with Swift and Swift UI, and laid out the application overview, architecture, key components, and user flow. It now understands how the app works. Let's see if we can make some changes to the app. Here's the prompt I'm going with. I'm asking it to improve the UI for the Swift app, which is usually hard for AI models. If the implementation isn't done step by step, they struggle because they're not deeply trained on Swift and can't retain context well for the code. Let's see how it performs. You can see it reasoned through the project and is now asking to switch to tell mode. Let's do that. Now, it's asking if we want to send another prompt or begin the implementation. Let's begin the implementation. You can ## Implementation [05:37] see it built the plan and presented me with this menu. It didn't change the main files, but created a new script to automatically build the app. I pressed A to apply the changes and now it's asking if I want to execute. I said yes, and now it's executing. It will build the app, get the logs, and make changes based on that. This isn't a big error, but I want to show you something. If a command fails, it gives you a menu where you can choose to debug once or debug in full auto mode. That's what I'm going to use right now. You can see that another plan has been built and now it's applying the changes. Once all the changes are done, I'll show you what it ## Result [06:12] has made. The app was built and I compiled it using Xcode. This is what it was able to build. I can now go into settings, click on the accent color, and adjust it to any color I want. It's using the built-in Mac OS and Swift UI components, which is great. You can now change the accent color to anything like making it blue. I made the original app in a previous video using Gemini 2.5, and that was the only model that could do it. This is probably why the tool succeeded because it uses multiple models from Open Router. Everything works and it looks pretty nice. That's it for this video. If you liked it, please consider subscribing if you want us to keep making these videos. And since my wallet is running a bit empty, please consider donating using the link below. Thanks as always for watching and I'll see you in the next