Startups

Sweep aims to automate basic dev tasks using large language models

Comment

Software engineers programmer development coding a solution data.
Image Credits: Chalirmpoj Pimpisarn / EyeEm / Getty Images

Developers spend a lot of time on mundane, repetitive tasks — and surprisingly little on actual coding.

In Stack Overflow’s 2022 developer survey, 63% of respondents said that they devote more than 30 minutes a day searching for answers or solutions to problems — which adds up to between 333 to 651 hours of time lost per week across a team of 50 developers. A separate poll from Propeller Insights and Rollbar found that over a third of developers spend around a quarter of their time fixing bugs, with slightly more than a quarter (26%) setting aside up to half their time fixing bugs.

The trend frustrated William Zeng and Kevin Lu. So earlier this year, they — both veterans of Roblox, the video-game-turned-social-network — created a platform called Sweep to autonomously handle dev tasks like high-level debugging.

“We started Sweep after working at Roblox together and constantly dealing with software chores we knew could be automated with AI,” Zeng, Sweep’s CEO, told TechCrunch in an email interview. “Sweep is like an AI-powered junior dev for software teams.”

TechCrunch previously covered Sweep during Y Combinator’s Summer 2023 Demo Day. But since then, the startup has closed a new financing round, raising $2 million from Goat Capital, Replit CEO Amjad Masad, Replit VP of AI Michele Catasta and Exceptional Capital at a $25 million post-money valuation.

Sweep allows devs to describe a request in natural language — for example, “add debug logs to my data pipeline” — outside of an IDE and generate the corresponding code. The platform can then push that code to the appropriate codebase via a pull request, and address comments made on the pull request either from code maintainers or owners — a bit like GitHub Copilot, but more autonomous.

“Sweep allows engineers to ship faster,” Zeng said. “We’ll handle tech debt accumulated with every code change, such as improving error logs and adding unit tests in addition to refactoring inefficient code.”

Sweep, which specializes in writing Python code, leverages a combination of AI models for code generation. They include OpenAI’s GPT-4, but also a custom “code search engine” — importantly not trained on Sweep customer data, Zeng says — that helps plan and execute “repository-wide” code changes.

“We built our own code search engine for Python, which leverages lexical and vector search techniques,” Zeng added. Lexical search looks for literal matches — or slight variations on — portions of code, while vector search can find more loosely related code that shares certain characteristics. “We have one of the best unit test generation abilities available and will run and execute tests in real time,” he continued.

In the future, Sweep plans to beef up its platform’s code generation capabilities with StarCoder, the open source code-generating model from Hugging Face and ServiceNow.

Given AI’s tendency to make mistakes, though, I’m a little skeptical of Sweep’s reliability over the long run. A Stanford-affiliated research team found that engineers who use AI tools are more likely to cause security vulnerabilities in their apps because the tools often generate code that appears to be superficially correct but poses security issues.

There’s also the copyright question. Some code-generating models — not necessarily StarCoder or Sweep’s own, but others — are trained on copyrighted or code under a restrictive license, and these models can regurgitate this code when prompted in a certain way. Legal experts have argued that these tools could put companies at risk if they were to unwittingly incorporate copyrighted suggestions from the tools into their production software.

Sweep’s solution is prompting users to review and edit any generated code themselves before pushing changes to the target master codebase.

“The main challenges affecting AI developer tools are around reliability and managing large codebases,” Zeng said. “We’re using our knowledge around both older and newer methods to make Sweep robust.”

Sweep charges a pretty penny for its services — $480 per seat per month. (By contrast, the business-focused tiers for GitHub Copilot and Amazon CodeWhisperer cost around $20 per user per month.) But that hasn’t dissuaded customers apparently. Zeng claims that Sweep, with a rather humble war chest totaling $2.8 million, has enough capital coming in from clientele to “last the company years.”

“The new money will be for expanding our team in the coming year from two employees to five,” he continued. “We’re going to continue focusing on Python, and improving across all areas of tech debt from unit testing, refactoring and handling leftover to-dos in the code.”

More TechCrunch

The prospects for troubled banking-as-a-service startup Synapse have gone from bad to worse this week after a United States Trustee filed an emergency motion on Wednesday.  The trustee is asking…

A US Trustee wants troubled fintech Synapse to be liquidated via Chapter 7 bankruptcy, cites ‘gross mismanagement’

U.K.-based Seraphim Space is spinning up its 13th accelerator program, with nine participating companies working on a range of tech from propulsion to in-space manufacturing and space situational awareness. The…

Seraphim’s latest space accelerator welcomes nine companies

OpenAI has reached a deal with Reddit to use the social news site’s data for training AI models. In a blog post on OpenAI’s press relations site, the company said…

OpenAI inks deal to train AI on Reddit data

X users will now be able to discover posts from new Communities that are trending directly from an Explore tab within the section.

X pushes more users to Communities

For Mark Zuckerberg’s 40th birthday, his wife got him a photoshoot. Zuckerberg gives the camera a sly smile as he sits amid a carefully crafted re-creation of his childhood bedroom.…

Mark Zuckerberg’s makeover: Midlife crisis or carefully crafted rebrand?

Strava announced a slew of features, including AI to weed out leaderboard cheats, a new ‘family’ subscription plan, dark mode and more.

Strava taps AI to weed out leaderboard cheats, unveils ‘family’ plan, dark mode and more

We all fall down sometimes. Astronauts are no exception. You need to be in peak physical condition for space travel, but bulky space suits and lower gravity levels can be…

Astronauts fall over. Robotic limbs can help them back up.

Microsoft will launch its custom Cobalt 100 chips to customers as a public preview at its Build conference next week, TechCrunch has learned. In an analyst briefing ahead of Build,…

Microsoft’s custom Cobalt chips will come to Azure next week

What a wild week for transportation news! It was a smorgasbord of news that seemed to touch every sector and theme in transportation.

Tesla keeps cutting jobs and the feds probe Waymo

Sony Music Group has sent letters to more than 700 tech companies and music streaming services to warn them not to use its music to train AI without explicit permission.…

Sony Music warns tech companies over ‘unauthorized’ use of its content to train AI

Winston Chi, Butter’s founder and CEO, told TechCrunch that “most parties, including our investors and us, are making money” from the exit.

GrubMarket buys Butter to give its food distribution tech an AI boost

The investor lawsuit is related to Bolt securing a $30 million personal loan to Ryan Breslow, which was later defaulted on.

Bolt founder Ryan Breslow wants to settle an investor lawsuit by returning $37 million worth of shares

Meta, the parent company of Facebook, launched an enterprise version of the prominent social network in 2015. It always seemed like a stretch for a company built on a consumer…

With the end of Workplace, it’s fair to wonder if Meta was ever serious about the enterprise

X, formerly Twitter, turned TweetDeck into X Pro and pushed it behind a paywall. But there is a new column-based social media tool in town, and it’s from Instagram Threads.…

Meta Threads is testing pinned columns on the web, similar to the old TweetDeck

As part of 2024’s Accessibility Awareness Day, Google is showing off some updates to Android that should be useful to folks with mobility or vision impairments. Project Gameface allows gamers…

Google expands hands-free and eyes-free interfaces on Android

A hacker listed the data allegedly breached from Samco on a known cybercrime forum.

Hacker claims theft of India’s Samco account data

A top European privacy watchdog is investigating following the recent breaches of Dell customers’ personal information, TechCrunch has learned.  Ireland’s Data Protection Commission (DPC) deputy commissioner Graham Doyle confirmed to…

Ireland privacy watchdog confirms Dell data breach investigation

Ampere and Qualcomm aren’t the most obvious of partners. Both, after all, offer Arm-based chips for running data center servers (though Qualcomm’s largest market remains mobile). But as the two…

Ampere teams up with Qualcomm to launch an Arm-based AI server

At Google’s I/O developer conference, the company made its case to developers — and to some extent, consumers — why its bets on AI are ahead of rivals. At the…

Google I/O was an AI evolution, not a revolution

TechCrunch Disrupt has always been the ultimate convergence point for all things startup and tech. In the bustling world of innovation, it serves as the “big top” tent, where entrepreneurs,…

Meet the Magnificent Six: A tour of the stages at Disrupt 2024

There’s apparently a lot of demand for an on-demand handyperson. Khosla Ventures and Pear VC have just tripled down on their investment in Honey Homes, which offers up a dedicated…

Khosla Ventures, Pear VC triple down on Honey Homes, a smart way to hire a handyman

TikTok is testing the ability for users to upload 60-minute videos, the company confirmed to TechCrunch on Thursday. The feature is available to a limited group of users in select…

TikTok tests 60-minute video uploads as it continues to take on YouTube

Flock Safety is a multibillion-dollar startup that’s got eyes everywhere. As of Wednesday, with the company’s new Solar Condor cameras, those eyes are solar-powered and use wireless 5G networks to…

Flock Safety’s solar-powered cameras could make surveillance more widespread

Since he was very young, Bar Mor knew that he would inevitably do something with real estate. His family was involved in all types of real estate projects, from ground-up…

Agora raises $34M Series B to keep building the Carta for real estate

Poshmark, the social commerce site that lets people buy and sell new and used items to each other, launched a paid marketing tool on Thursday, giving sellers the ability to…

Poshmark’s ‘Promoted Closet’ tool lets sellers boost all their listings at once

Google is launching a Gemini add-on for educational institutes through Google Workspace.

Google adds Gemini to its Education suite

More money for the generative AI boom: Y Combinator-backed developer infrastructure startup Recall.ai announced Thursday it has raised a $10 million Series A funding round, bringing its total raised to over…

YC-backed Recall.ai gets $10M Series A to help companies use virtual meeting data

Engineers Adam Keating and Jeremy Andrews were tired of using spreadsheets and screenshots to collab with teammates — so they launched a startup, CoLab, to build a better way. The…

CoLab’s collaborative tools for engineers line up $21M in new funding

Reddit announced on Wednesday that it is reintroducing its awards system after shutting down the program last year. The company said that most of the mechanisms related to awards will…

Reddit reintroduces its awards system

Sigma Computing, a startup building a range of data analytics and business intelligence tools, has raised $200 million in a fresh VC round.

Sigma is building a suite of collaborative data analytics tools