I 10xโ€™d my Coding Productivity Using this AI Tool: I wish I had known it Earlier ๐Ÿคฏ
Nevo David

Nevo David @nevodavid

About: Founder of Postiz, an open-source social media scheduling tool. Running Gitroom, the best place to learn how to grow open-source tools.

Joined:
Feb 23, 2022

I 10xโ€™d my Coding Productivity Using this AI Tool: I wish I had known it Earlier ๐Ÿคฏ

Publish Date: Jul 22 '24
490 23

I usually work on multiple projects simultaneously, and managing all these projects can become very hectic and overwhelming. So, I wanted a solution to reduce my workload.

Considering the significant progress in AI in the past few years, I was specifically looking for an AI tool that can

  • Access my GitHub repository.
  • Solves any given issue autonomously.
  • Tests the code and pushes the fix to the repository.

wick

So, I started my research and stumbled upon quite a few solutions. Here is my experience working with these solutions.

But before that, letโ€™s understand what AI and SWE (Software Engineering) agents are.


What are AI Agents?

AI agents are systems powered by AI models that can autonomously perform tasks, interact with their environment, and make decisions based on their programming and the data they process.

Components of AI Agents

An AI agent has three crucial components.

  • Inference Engine: Inference Engines are AI models responsible for planning and decision-making.
  • Memory: The memory component allows the agents to manage short-term and long-term information to keep track of the workflows.
  • Tools: Tools enable Agents to interact with the external environment. For instance, a GitHub tool allows the agent to extract information from repositories and make necessary changes.

minion happy


Characteristics of an SWE Agent

So, what makes an AI agent a SWE agent?

A SWE agent is an AI agent that mimics the qualities and characteristics of a human software developer, such as

  • Long-term planning and reasoning
  • Use standard developer tools.
  • Improve code quality through testing and feedback.
  • Debug and resolve issues autonomously.
  • Collaborate with human counterparts as and when needed.

Simillar to any AI agent, an SWE agent has

  • A robust inference engine. Preferably state-of-the-art code models.
  • A memory component to keep track of events.
  • Specific tools for writing, debugging, and running codes (Isolated code environment, Internet, GitHub, File tools, etc.)

Devin - The AI Software Developer

Devin is the first thing you will find when discussing AI agents that can code. It is an SWE agent from Cognition Labs, which started it all. It garnered a lot of attention from developers, founders, and investors and quickly became the talk of the town.

However, a few things made me turn away from it.

  • Closed Source: It is a closed source. So, there is no scope for customization.
  • OpenAI only: It exclusively utilizes OpenAI models, considering Llama 3 400b launch. I wanted something more flexible.
  • Not Publicly Available: It is still on the waitlist, and few people can access it.

While enterprises may prefer it, I needed something more transparent and flexible.

devin


Open-source Alternatives

The next obvious choice was all the open-source alternatives for Devin. While they are more transparent and flexible in terms of LLM providers. They still didnโ€™t click with me.

Most open-source solutions are

  • Bloated: They ship with many things I might never use.
  • Complex: Running these tools felt like a job.
  • Non-extensible: I canโ€™t extend their capabilities using external tools and integrations.

That being said, they certainly hold their own merits.


swekit

SweKit - Simple Extensible Software Engineering Agent Framework

After extensive searching and research, I was leaning towards building it myself until I stumbled upon this framework.

SweKit is an open-source framework from Composio that helps you create simple and extensible SWE agents.

It clicked all the criteria I was looking for.

  • Customizable: It is simple and highly customizable. You can use the LLM providers of your choice and change the prompts to suit your requirements.
  • Framework Agnostic: It works with all the popular agentic frameworks, such as LangChain and LlamaIndex.
  • Extensible: Adding more tools, such as browsing and scrapping, can easily extend the agent's capability. You can add tools from the Composio ecosystem.
  • Open-source: Needless to say, the code is open-source, so you can fork and add custom changes.
  • Multiple Language Support: SweKit has native support for Python and Typescript. You can go with the language of your choice.

SweKit can access any public or private repository, work on provided issues, and push changes to the repository.

SWE agent arch

The SWE agent runs in Docker by default for security and isolation. This sandboxes the agent's operations, protecting against unintended consequences of arbitrary code execution. You can also run it locally, but be cautious, as it won't have Docker's protective layer.

thank you


Final Words

I have already started using this in my projects, and I cannot stress enough how much time and energy it has saved me.

I spoke with the team building Composio, and I can confidently say this will be a game-changer.

I cannot star them enough, so do me a favour, visit the repository, use the product and give them a star.

show them support by starring the repo โญ

Comments 23 total

  • ๐š‚๐šŠ๐šž๐š›๐šŠ๐š‹๐š‘ ๐š๐šŠ๐š’
    ๐š‚๐šŠ๐šž๐š›๐šŠ๐š‹๐š‘ ๐š๐šŠ๐š’Jul 22, 2024

    New AI Agent in the town.
    How does this hold up with tasks like scraping data out of a document, running Python analytics, and then outputting them in a doc file?

    I'm looking for something that can do that.

  • Nathan Tarbert
    Nathan TarbertJul 23, 2024

    Excellent!

  • raddevus
    raddevusJul 23, 2024

    Interesting that this is the article which gets huge upvotes on Dev.to.
    Is it an indication of the future? Probably.

    Just something to think about.

    • Nevo David
      Nevo DavidJul 23, 2024

      You find the article not good?

      • raddevus
        raddevusJul 23, 2024

        No, it's not that I don't think the article is good -- and I don't think the article is bad.
        I just find it interesting that on a site devoted to Articles About Software Development (and learning software dev) that one of the most highly upvoted articles :

        1. has no code
        2. shows you how to use a "code generator"
        3. explains no code at all, but how to use a utility

        Imagine if I told you, you were going to be a programmer then showed you how to record a macro in MS Word. That's the kind of feel this has.

      • Andreas
        AndreasJul 24, 2024

        For me, the article is misleading Nevo, I am sorry. It does not explain what the capabilities offered by an SWE agent are, what are the practical advantages of swekit over competing products, or how the productivity is tenfold enhanced.

    • John Mercier
      John MercierJul 25, 2024

      This is why I stop using this site.

  • ijindal1
    ijindal1Jul 24, 2024

    Composio team is doing great work.

  • Roy (FlippingCoin)
    Roy (FlippingCoin)Jul 24, 2024

    And not a single example of what it achieved? I really doubt this tool boosting anyone's production by 10 times. And I highly doubt it can pick up any issue and resolve it itself.

    • Nathan Hedglin
      Nathan HedglinJul 25, 2024

      This is Dev.to where no one can actually code. Where teenagers think they know more than professionals.

      Unfortunately, 10X of 0 is still 0.

  • Gabriel Wainmann
    Gabriel WainmannJul 24, 2024

    What about Pythagora?

  • Meir Meir
    Meir MeirJul 24, 2024

    Nevo, I think your article is awesome. Thanks for sharing your research results with us. Saving us a lot of time. Please continue with posting your thoughts about tools you find

  • Tensor Programming
    Tensor ProgrammingJul 24, 2024

    How much of a vested interest do you have in this particular project? This article is an advertisement. It's nonsense...

    You show no proof that it increased your productivity 10x... In fact, you show no code at all, which makes me wonder if you can even write code in the first place. I suppose you could get a 10x improvement on your productivity if you are barely productive in the first place because you're an advertiser/vc and not an engineer.

    You know Devin was a farce right? All of the videos they used to show off its "functionality" were proven to be faked. That you even reference it in this article shows your priorities...

    If you want to shill the latest AI nonsense then at least put some effort into it. Make it seem like it's got some legitimate use cases outside of stealing other people's code to make surface level garbage...

  • Ayush Thakur
    Ayush ThakurJul 25, 2024

    Super informative article

  • Denys Bochko
    Denys BochkoJul 25, 2024

    I am using Tabnine Pro version for my dev work (primarily PHP now, but adding Python and javascript to the mix soon)
    It is a hit-and-miss scenario: sometimes it really helps write some parts of the code faster, but sometimes the suggestions are very inaccurate.
    I believe that if you are an experience dev you will use it to do small repetitive things that are tiresome to type, but to create logic... AI has a long way to go, especially in frameworks and complex structures.
    So, I don't know if 10x faster will be possible even in the future, AI is creating logic based on predefined parameters, but humans are more flexible and can merge several scenarios to create something that will work in this particular case.
    I find AI assistant works very well with migrations and shorter assignments.

  • Prince Markie D
    Prince Markie DJul 29, 2024

    These comments restore some of my confidence in humanity.

  • Maria Blair
    Maria BlairAug 1, 2024

    This article has a very abrupt ending. The author introduces a very promising new tool (thanks for that, of course), and I'm ready/excited to see what it can do, but the article just ends! It would be great if you included some examples of how it improved your productivity exactly. Otherwise, it's very unclear and seems like an ai-generated ad.

    As a full-time programmer, I'm of course on a lookout for the new great tools, and I appreciate the heads up like this, but I need more info to decide if I want to spend my very limited time to try it.

  • DevOps Fundamental
    DevOps FundamentalJun 23, 2025

    Good idea, Nice to read that

Add comment