developer
MetaGPT
developer | MetaGPT | |
---|---|---|
37 | 32 | |
11,650 | 39,468 | |
0.5% | - | |
7.2 | 10.0 | |
about 1 month ago | 5 days ago | |
Python | Python | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
developer
-
DeepSeek Coder: Let the Code Write Itself
> much of the work is repetitive, but it comes with its edge cases that we need to look out for
Then don't use AI for it.
Bluntly.
This is a poor use-case; it doesn't matter what model you use, you'll get a disappointing result.
These are the domains where using AI coding currently shines:
1) You're approaching a new well established domain (eg. building an android app in kotlin), and you already know how to build things / apps, but not specifically that exact domain.
Example: How do I do X but for an android app in kotlin?
2) You're building out a generic scaffold for a project and need some tedious (but generic) work done.
Example: https://github.com/smol-ai/developer
3) You have a standard, but specific question regarding your code, and although related Q/A answers exist, nothing seems to specifically target the issue you're having.
Example: My nginx configuration is giving me [SPECIFIC ERROR] for [CONFIG FILE]. What's wrong and how can I fix it?
The domains where it does not work are:
1) You have some generic code with domain/company/whatever specific edge cases.
The edge cases, broadly speaking, no matter how well documented, will not be handled well by the model.
Edge cases are exactly that; edge cases; the common medium of 'how to x' does not cover edge cases; the edge cases will not be covered and the results will require you to review and complete them manually.
2) You have some specific piece of code you want to refactor 'to solve xxx', but the code is not covered well by tests.
LLMs struggle to refactor existing code, and the difficulty is proportional to the code length. There are technical reasons for this (mainly randomizing token weights), but tldr; it's basically a crap shot.
Might work. Might not. If you have no tests who knows? You have to manually verify both the new functionality and the old functionality, but maybe it helps a bit, at scale, for trivial problems.
3) You're doing some obscure BS or using a new library / new version of the library.
The LLM will have no context for this, and will generate rubbish / old deprecated content.
...
So. Concrete advice:
1) sigh~
> a friend of mine came and suggested that I use Retrieval-Augmented Generation (RAG), I have yet to try it, with a setup Langchain + Ollama.
Ignore this advice. RAG and langchain are not the solutions you are looking for.
2) Use a normal coding assistant like copilot.
This is the most effective way to use AI right now.
There are some frameworks that let you use open source models if you don't want to use openAI.
3) Do not attempt to bulk generate code.
AI coding isn't at that level. Right now, the tooling is primitive, and large scale coherent code generation is... not impossible, but it is difficult (see below).
You will be more effective using an existing proven path that uses 'copilot' style helpers.
However...
...if you do want to pursue code generation, here's a broad blueprint to follow:
- decompose your task into steps
- decompose you steps in functions
- generate or write tests and function definitions
- generate an api specification (eg. .d.ts file) for your function definitions
- for each function definition, generate the code for the function passing the api specification in as the context. eg. "Given functions x, y, z with the specs... ; generate an implementation of q that does ...".
- repeated generate multiple outputs for the above until you get one that passes the tests you wrote.
This approach broadly scales to reasonably complex problems, so long as you partition your problem into module sized chunks.
I personally like to put something like "you're building a library/package to do xxx" or "as a one file header" as a top level in the prompt, as it seems to link into the 'this should be isolated and a package' style of output.
-
Did I accidentally automate myself out of the job?
check out smol-developer (https://github.com/smol-ai/developer)
-
Ask HN: How can ChatGPT be effectively utilized in the work
4. https://github.com/smol-ai/developer
How can ChatGPT be effectively utilized for reading library source code, resolving coding issues, and serving as a dedicated coding assistant tailored for a specific programming language?
-
Bootstrap a React app with smol developer
The smol developer AI tool was built by a developer called Swyx using ChatGPT. This library is designed to act like a personal, junior developer, performing a huge array of simple, routine tasks as well as some sophisticated tasks. By using a spec that you provide in a prompt, you can even use smol developer to pair program with an AI tool!
-
Outsmarting AI 🤖🧠 The hack for generating fully-functional web apps
And this is where most of these tools fall short, with tools like Smol-Developer creating decent client and server code that work great on their own, but unfortunately don’t work together!
-
Ask HN: Which GPT-powered coding assistants exist?
1) Show HN: Bloop – Answer questions about your code with an LLM agent (github.com/bloopai)
https://news.ycombinator.com/item?id=36260961
2) https://github.com/paul-gauthier/aider
3) Show HN: GPT Repo Loader – load entire code repos into GPT prompts (github.com/mpoon)
https://news.ycombinator.com/item?id=35191303
4) https://github.com/smol-ai/developer
5) codium
6) copilot
7) using gpt in the playground / chatgpt
8) jam.dev/jamgpt
9) magic.dev
10) https://github.com/kristoferlund/duet-gpt
Which ones am I missing?
-
How to add an AI Code Copilot to your product using GPT4
I had this same idea and started working on something for this purpose called j-dev [0]. It started as a fork off smol-dev [1] which basically gets GPT to write your entire project from scratch. And then you would have to iterate the prompt to nuke everything and re-write everything, filling in increasingly complicated statements like "oh except in this function make sure you return a promise"
j-dev is basically a CLI where it gives a prompt similar to the one in the parent article. You start with a prompt and the CLI fills in the directory contents (excluding gitignore). Then it requests access to the files it thinks it wants. And then it can edit, delete or add files or ask for followup based on your response.
It also addresses the problem that a lot of these tools eat up way too many tokens so a single prompt to something like smol-dev would eat up a few dollars on every iterations.
It's still very much a work in progress and i'll prob do a show hn next week but I would love some feedback
[0] https://github.com/breeko/j-dev
[1] https://github.com/smol-ai/developer
-
Smol AI 🐣 vs Wasp AI 🐝- Which is the Better AI Junior Developer?
Smol AI’s “Smol-Developer” gained a lot of notoriety very quickly by being one of the first such tools on the scene. It is a simple set of python scripts that allow a user to build prototype apps using natural language in an iterative approach.
- Ai create entire project
- In five years, there will be no programmers left, believes Stability AI CEO
MetaGPT
-
Can AI replace a co-founder?
https://github.com/geekan/MetaGPT :
> MetaGPT takes a one line requirement as input and outputs user stories / competitive analysis / requirements / data structures / APIs / documents, etc.
https://news.ycombinator.com/item?id=29141796 ; "Co-Founder Equity Calculator"
"Ask HN: What are your go to SaaS products for startups/MVPs?" (2020) https://news.ycombinator.com/item?id=23535828 ; FounderKit, StackShare
> USA Small Business Administration: "10 steps to start your business." https://www.sba.gov/starting-business/how-start-business/10-...
>> "Startup Incorporation Checklist: How to bootstrap a Delaware C-corp (or S-corp) with employee(s) in California" https://github.com/leonar15/startup-checklist
-
How, if at all, are you actually using AI tools for your PM workflows?
Yes, so recently one of our clients asked us to use some requirements of a open source software to produce a internal product for him. WE used the https://github.com/geekan/MetaGPT and it was able to 'switch' between google search, prompt interactions and even do competitive analysis without huge effort.
-
MetaGPT VS SolidGPT - a user suggested alternative
2 projects | 23 Oct 2023
-
Ask HN: How can ChatGPT be effectively utilized in the work
2. https://github.com/geekan/MetaGPT
-
MetaGPT: The Next Evolution or Just More Hype?
In my newest experiment, I try out MetaGPT, which is supposed to be better than AutoGPT according to MetaGPT's paper.
-
MetaGPT: Automating Entire Companies
Imagine having an AI that can do what product managers, architects, project managers & engineers can do. That’s MetaGPT.
-
MetaGPT: Meta Programming for Multi-Agent Collaborative Framework
> 1. Do your best to implement THIS ONLY ONE FILE. ONLY USE EXISTING API. IF NO API, IMPLEMENT IT.
1. https://github.com/geekan/MetaGPT/blob/main/metagpt/actions/...
- MetaGPT: The Multi-Agent Framework
- MetaGPT – A LLM powered simulation of software dev company
- Global AI - How Far Are We From The Technological Singularity?
What are some alternatives?
gpt-engineer - Specify what you want it to build, the AI asks for clarification, and then builds it.
gpt-pilot - The first real AI developer
sweep - Sweep: open-source AI-powered Software Developer for small features and bug fixes.
aider - aider is AI pair programming in your terminal
NeuralGPT - Personalized all-purpose AI assistance platform based on hierarchical cooperative multi-agent framework which utilizes websocket connectivity for LLM<->LLM communication
refact - WebUI for Fine-Tuning and Self-hosting of Open-Source Large Language Models for Coding
dev-gpt - Your Virtual Development Team
llm-vscode-inference-server - An endpoint server for efficiently serving quantized open-source LLMs for code.
course22p2 - course.fast.ai 2022 part 2
SolidGPT - Developer AI Persona Search Agent