Transcript
00:00:00This is Oh My Pi. It's a new AI agent harness built on top of the popular Pi framework,
00:00:06but supercharged with all sorts of goodies and useful features that makes this one of the most
00:00:11powerful AI agent harnesses I've ever used. In this video, we'll take a look at Oh My Pi,
00:00:18see how it works, and check out all the cool features it offers. Let's get into it.
00:00:27Now, if you've used other terminal AI tools like Cloud Code CLI or standard LLM wrappers,
00:00:33you know how usually it goes. You ask it to fix a bug, it stares at your source code as a giant wall
00:00:39of text, guesses the fix, throws in a couple of print statements, and hopes for the best.
00:00:44But Oh My Pi doesn't treat your project like a collection of flat text files. It treats it like
00:00:50a living, breathing application runtime. And the way it does that is through four massive
00:00:55architectural upgrades. First up, it has a native LSP or language server protocol integration.
00:01:02When you ask Oh My Pi to do something like rename a core module or refactor a function
00:01:07that's imported across 50 different files, it hooks straight into your language server
00:01:12to perform a proper workspace level structural refactor. It automatically updates your barrel
00:01:18files, handles aliased imports, and cleans up re-exports before it even touches the disk.
00:01:25So it kind of works like an IDE and that's what is missing in the standard Cloud Code CLI harness.
00:01:31Secondly, it has a full debugger adapter protocol support built right into it. If your Go service
00:01:37deadlocks or your Python API throws a weird concurrent runtime error or your C file breaks,
00:01:44Oh My Pi is able to boot up debugger tools like DLV or debug pi and attach them directly to your
00:01:52broken process. And then it can also hit breakpoints and evaluate the actual live memory state and stack
00:01:58frames. Thirdly, it's completely model agnostic. You can hook it up to so many providers. So for example,
00:02:05I can log in with my Cloud Code account and it will automatically port all my plugins and settings from
00:02:11Cloud Code to Oh My Pi. And another cool thing is that you can choose different models for different tasks.
00:02:17So I can have a special vision model for vision tasks and a special designer model for design tasks,
00:02:23etc. And fourth, it has this cool feature called hash line edits. So when Cloud Code edits files,
00:02:30it sends the literal old string and the literal new string. And Opus reproduces every character it wants
00:02:37to change. But when Oh My Pi changes your code, it doesn't retype the whole file or send massive text divs.
00:02:44It targets the exact line using a content hash anchor. This prevents white space syntax errors. And for
00:02:51example, for a model like Grok4Fast, it can save up to 61% on your LLM token usage. And I tested it out
00:02:59by asking it to build a Rust desktop application that lists ticker symbols from stock twits. And one thing
00:03:05that I really liked is that Oh My Pi has its own browser tool. Whenever it needed to retrieve data
00:03:11from the web, it actually launched a Chrome browser instance on its own rather than trying to extract
00:03:16it via curl or fetch calls. And overall, I really liked the aesthetic of it. It has these nice integrated
00:03:22task windows that are so much easier to read through compared to a hardness like Cloud Code CLI. So you can
00:03:29really see that authors of Oh My Pi really put in a lot of effort into the design. And another cool thing
00:03:35is that since Oh My Pi is built on top of Pi, it also supports adding packages from the original Pi
00:03:42editor. And to add a package to Oh My Pi, you simply need to replace the first half of the install command
00:03:48with Oh My Pi plugin install followed by the package name. I managed to install the hilarious Doom package
00:03:54from the original Pi onto Oh My Pi. So whenever I get bored, I can now launch Doom on the terminal by just
00:04:02typing slash Doom and play the classic game inside the terminal. That's just insane. And honestly,
00:04:08there are so many other features this harness has that I didn't even had a chance to cover. It has a
00:04:13really nice PR review tool, it supports running sub agents, it can easily read PDFs, and it uses hindsight
00:04:21for agent memory management. So all in all, I would say it's a powerhouse TUI, and it's open source,
00:04:27and it has tons of cool features. So I definitely recommend trying it out if you haven't already.
00:04:32But what do you think of Oh My Pi? Have you tried it? Will you use it? Let us know in the comments
00:04:37section down below. And folks, if you like these types of technical breakdowns, please let me know by
00:04:42smashing that like button underneath the video. And also don't forget to subscribe to our channel.
00:04:47This has been Andres from Betterstack, and I will see you in the next videos.
Community Posts
No posts yet. Be the first to write about this video!
Write about this video