No video

MicroAgent : This Coding Agent can Generate Code & Test, But is it better than Aider? (w/ Ollama)

  Рет қаралды 5,902

AICodeKing

AICodeKing

Күн бұрын

In this video, I'll be talking abour MicroAgent. MicroAgent is an AI coding agent or Text-To-Application tool that can generate code and test the generated code in realtime. Although, there are some issues with it's approach that I'll be talking about in this video. I'll be generating some simple applications but you can also use it to generate Games, Applications, Web Applications, Websites, Frontend, Backend and multiple other things. You can also do Text-To-Frontend, Text-To-Application, Text-To-Game and other things with this. MicroAgent can also be used with any opensource LLM, OpenAI models or the other Claude models such as GPT-4O, Claude-3, CodeQwen, Mixtral 8x22b, Mixtral 8x7b, GPT-4, Grok-1.5 & Gemini Code Assist.
------
Resources:
MicroAgent Github Repo : github.com/Bui...
------
Key Takeaways:
📱 Explore Micro Agent: Discover how Micro Agent revolutionizes coding by generating code and testing it automatically. Perfect for AI-generated code enthusiasts and developers seeking reliability.
🚀 Set Up with OpenAI: Learn the simple steps to configure Micro Agent with OpenAI's powerful GPT-4o model for efficient code generation and testing. Ideal for those using OpenAI in their projects.
⚙️ Seamless Ollama Integration: Follow our guide to integrate Micro Agent with Ollama’s DeepSeek Coder V2 model, enhancing your coding workflow with advanced AI capabilities.
🧪 Automated Testing: See how Micro Agent automates code testing, ensuring your applications run smoothly without manual intervention. Great for developers aiming to improve their coding efficiency.
🖥️ Generate Functional Scripts: Witness Micro Agent in action as it creates functional scripts and even a Next.js app, demonstrating its versatility for various programming tasks.
🔧 Overcome Common Issues: Understand the limitations of AI-generated code and tests, and learn how Micro Agent addresses these challenges to streamline your coding process.
💡 Practical Tips and Tricks: Gain insights into optimizing your use of Micro Agent, whether you're working with functional programming or exploring new AI tools like Aider and Ollama.
--------
Timestamps:
00:00 - Introduction
01:09 - MicroAgent
02:27 - Installation
03:22 - Usage
06:37 - Installation & Usage with Ollama
08:01 - Conclusion

Пікірлер: 42
@EladBarness
@EladBarness Ай бұрын
I don’t understand why so many create more and more useless tools instead of cooperative work on a single open source truly great project… shame Thanks for the amazing vid
@xspydazx
@xspydazx Ай бұрын
i have been extracting the heart of these models ( the are open source) as some are basically clones of each other : but i have notice the methodologys doing this : I have found to colaberate on a project you need a chat history : so after generation the model needs to reload the session : All the models use some form of agent like agen gen or crew aiwhichin turn use langchain ! - ( so we can bybass all of these ) - there is a very good tutorial by the code your own ai chanelwhere he talks about how to create the agent set up from scratch after these things came out they must of copied him ) ... so : you can use a notebook ! ( reallly its that simple i could not explain it better! ) - each project generated would be done using a note book ! so you can comeback to that session again relaoding the notebook ... ( behind the scenes ) . enabling for editing of the project ; So you would just send the model to its work folder to retrive it by its ID: or project name: or: Just create a command which executes system comands and python code functions : Create a single tool !: this tool enables the model to execute a code . save a code file ( create a tool ) , load a tool from file , and maintain its own list of tools : so it can add its tools to the list or remove them andlist the current tools: open interpretor also uses this technique to maintain its toolkit and load and unload tools etc editing them as it goes along ! ( installing what it needs ) So to create a project you can tell it to create a new folder and create the project in that folder ... it will ! your chain would need to be the three agents (Planner, Worker and Refiner ) And Manager ! . the storm etc was also ok but these model were using typescript so i skipped them as they are easy agent groups easy to devlop , even with a mini set of tools the model can research and create an enriched sumary , as well as query wikipedia instead of searching google !! storing the refferences as it travels , capturing the mian points then returning to grab the funll content after and sumarize the response ( research chain) i was able to work work with free chatgpt andcreate some agents androles andtools for the roles and some group tasks: so i used these to create a mini newsroom team to reseach topics and write storys based on a collection of given general topics , so it has a motive for the mnewsroom and it can when activated go out and do research (slow) and comeback with a basic newspaper full of articles : someof these models use a specific stack ... but you can goe through the code and find the prompts they used (often bad english hence bad performance) and adjust the prompt for your code stack... so these videos are really valuable and give great insights in how to clone the knowledge ! ( i noticed claude always considers if this question needs an artifact, if so make it so in the future the artifact can be refferenced hence my ( tooll kit function) ( let the o=maintain its own tool kit , loading the kit or even alowing it to scan the disk for current tools it may need.
@kristianlavigne8270
@kristianlavigne8270 Ай бұрын
Still very early days for these agent frameworks…. No clear “winner” yet, so it is fine that we all experiment with different approaches. Eventually a clear winner and approach will emerge that gains massive support from the community. I think Devinka is the current Open Source leader btw
@nothing7ish
@nothing7ish 28 күн бұрын
It's because we are living in the experimental era. AI technology is incomplete so far and we are guinea pigs. It'll take several years to get real ones.
@hollidaycursive
@hollidaycursive Ай бұрын
If you shoot the King, you better not miss...
@nickostrom7451
@nickostrom7451 Ай бұрын
Thanks for this! I had so many problems running this and I thought it was just user error. You should revisit this once they update it because I think the feature they showcase in the repo to have MicroAgent visually build a website from an image could be useful eventually! Dropped you a super thanks for saving me some time.
@Revishaan
@Revishaan Ай бұрын
Thanks
@ade7456
@ade7456 17 күн бұрын
The DeepSeekV2 version not working for me just hangs :(
@larrysankey6976
@larrysankey6976 Ай бұрын
"....I directly ssh into the server and directly edit code there...." YOLO! Too funny! I literally LOLed! 😃
@DrWi60n
@DrWi60n Ай бұрын
AICodeKing: I don’t use tests because I believe you only live once! 😂👌
@SP-js4gf
@SP-js4gf 8 күн бұрын
Thanks!
@AICodeKing
@AICodeKing 8 күн бұрын
Thanks a lot for the support!
@RaegwynSoloing
@RaegwynSoloing Ай бұрын
so what now? whats currently the best in your opinion??? microagent OR aider + deepseek OR aider + claude OR claude engineer?
@AICodeKing
@AICodeKing Ай бұрын
Aider+Claude best, Aider+Deepseek 2nd, Claude Engineer, Microagent
@RaegwynSoloing
@RaegwynSoloing Ай бұрын
@@AICodeKingthx for reply, i like that you showcase all of them. But its pretty hard for a viewer to judge there differences and usecase. I get that microagent does create a plan + tests it, which sounds like the more advanced approach, but if aider wins thats good to know. Could you maybe answer/make a video were you dont showcase them, but instead explain the pros/cons of each against the other and which one is good for what specific usecase ?
@ROKKor-hs8tg
@ROKKor-hs8tg Ай бұрын
not work for python
@TheAndrielson
@TheAndrielson Ай бұрын
Cool video! Please, create a video using SuperCoder from SuperAGI
@Francotujk
@Francotujk Ай бұрын
Hi! Do you know what's the best open source alternative to ParseLlama?
@AdminOne-hj4dt
@AdminOne-hj4dt Ай бұрын
Thanks AI King.
@PavanKumar-jw3xf
@PavanKumar-jw3xf Ай бұрын
😮😮
@vauths8204
@vauths8204 Ай бұрын
Well, that saved me a lot of time thanks king. Currently, I'm trying to make a multi-modal ai assistant. Any suggestions?
@AICodeKing
@AICodeKing Ай бұрын
Name it ReallyOpenAI (just kidding)
@vauths8204
@vauths8204 Ай бұрын
@AICodeKing I mean with the way it's working right now lol super hit or miss with the commands
@xspydazx
@xspydazx Ай бұрын
Wrappers ! ( use that design pattern )
@NayabGauhar04
@NayabGauhar04 Ай бұрын
How can I view websites which are built in lightning ai vs code on html
@AICodeKing
@AICodeKing Ай бұрын
Via custom port option. Use Live server VS Code Extension
@NayabGauhar04
@NayabGauhar04 Ай бұрын
Also the claude API is not free now I used with aider But I encounter a problem that it will not work I have to purchase a plan Also with the live server I have used the port It does not work please help me guide or can you suggest me any videos
@orthodox_gentleman
@orthodox_gentleman Ай бұрын
There is also ngrok port forwarding to a public URL but I don’t know if you want to do it that way. I would go by what AiCodeKing says
@xXWillyxWonkaXx
@xXWillyxWonkaXx Ай бұрын
I cant run this using Deepseek LLM can i?
@AICodeKing
@AICodeKing Ай бұрын
You can
@orthodox_gentleman
@orthodox_gentleman Ай бұрын
What about OpenDevin?
@AICodeKing
@AICodeKing Ай бұрын
Haven't tested it in a while.
@bakielbenshomriel6466
@bakielbenshomriel6466 Ай бұрын
Nice to be here early
@TawnyE
@TawnyE Ай бұрын
E
@testingpurpose4737
@testingpurpose4737 Ай бұрын
Something for uiux please 🥺❤️
@VectorShiftAI
@VectorShiftAI Ай бұрын
Hey! Love your content - would love to sponsor a video. Can you let me know how I can contact you?
@AICodeKing
@AICodeKing Ай бұрын
You can contact me on Discord : @aicodeking
@Revishaan
@Revishaan Ай бұрын
Thanks
@nickostrom7451
@nickostrom7451 Ай бұрын
Thanks!
@nickostrom7451
@nickostrom7451 Ай бұрын
You should do a video using Aider+Claude+Prompt chaining to make an app. I got the idea from @indydevdan channel. I had Aider+Claude build a Python script to: 1. Take in my app idea's prompt and send it to claude. 2. Ask 3 clarifying questions about the app. 3. Build a multi step prompt chain to break the requests into smaller parts and save them to txt files to feed to the LLM sequentially. 4. Return errors seen in the terminal to the LLM for fixing after each step. It works pretty well. I'm surprised by how much better LLMs write code when you only give them a small step to work on each time.
@AICodeKing
@AICodeKing Ай бұрын
Great idea! BTW, Thanks for supporting
@Revishaan
@Revishaan Ай бұрын
Thanks
Why Agent Frameworks Will Fail (and what to use instead)
19:21
Dave Ebbelaar
Рет қаралды 41 М.
Essential AI prompts for developers
8:31
Visual Studio Code
Рет қаралды 50 М.
Идеально повторил? Хотите вторую часть?
00:13
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 16 МЛН
This 100% automatic AI Agent can do anything, just watch
1:19:48
David Ondrej
Рет қаралды 74 М.
Build a FULL Web App With Claude With 2 SCREENSHOTS!
17:36
Riley Brown
Рет қаралды 99 М.
Google Hacking with AI | Creating an OSINT AI Agent with CrewAI
9:50
Artificial Security
Рет қаралды 1,5 М.
Dear Functional Bros | Prime Reacts
26:03
ThePrimeTime
Рет қаралды 207 М.
The moment we stopped understanding AI [AlexNet]
17:38
Welch Labs
Рет қаралды 899 М.
No Code App Development is a Trap
9:31
Coding with Dee
Рет қаралды 202 М.
The World Depends on 60-Year-Old Code No One Knows Anymore
9:30
Coding with Dee
Рет қаралды 735 М.
I Tried Every AI Coding Assistant
24:50
Conner Ardman
Рет қаралды 762 М.