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

Generative AI improvements are increasingly being made through data curation and collection — not architectural — improvements. Big Tech has an advantage.

AI training data has a price tag that only Big Tech can afford

Keeping up with an industry as fast-moving as AI is a tall order. So until an AI can do it for you, here’s a handy roundup of recent stories in the world…

This Week in AI: Can we (and could we ever) trust OpenAI?

Jasper Health, a cancer care platform startup, laid off a substantial part of its workforce, TechCrunch has learned.

General Catalyst-backed Jasper Health lays off staff

Featured Article

Live Nation confirms Ticketmaster was hacked, says personal information stolen in data breach

Live Nation says its Ticketmaster subsidiary was hacked. A hacker claims to be selling 560 million customer records.

18 hours ago
Live Nation confirms Ticketmaster was hacked, says personal information stolen in data breach

Featured Article

Inside EV startup Fisker’s collapse: how the company crumbled under its founders’ whims

An autonomous pod. A solid-state battery-powered sports car. An electric pickup truck. A convertible grand tourer EV with up to 600 miles of range. A “fully connected mobility device” for young urban innovators to be built by Foxconn and priced under $30,000. The next Popemobile. Over the past eight years, famed vehicle designer Henrik Fisker…

18 hours ago
Inside EV startup Fisker’s collapse: how the company crumbled under its founders’ whims

Late Friday afternoon, a time window companies usually reserve for unflattering disclosures, AI startup Hugging Face said that its security team earlier this week detected “unauthorized access” to Spaces, Hugging…

Hugging Face says it detected ‘unauthorized access’ to its AI model hosting platform

Featured Article

Hacked, leaked, exposed: Why you should never use stalkerware apps

Using stalkerware is creepy, unethical, potentially illegal, and puts your data and that of your loved ones in danger.

19 hours ago
Hacked, leaked, exposed: Why you should never use stalkerware apps

The design brief was simple: each grind and dry cycle had to be completed before breakfast. Here’s how Mill made it happen.

Mill’s redesigned food waste bin really is faster and quieter than before

Google is embarrassed about its AI Overviews, too. After a deluge of dunks and memes over the past week, which cracked on the poor quality and outright misinformation that arose…

Google admits its AI Overviews need work, but we’re all helping it beta test

Welcome to Startups Weekly — Haje‘s weekly recap of everything you can’t miss from the world of startups. Sign up here to get it in your inbox every Friday. In…

Startups Weekly: Musk raises $6B for AI and the fintech dominoes are falling

The product, which ZeroMark calls a “fire control system,” has two components: a small computer that has sensors, like lidar and electro-optical, and a motorized buttstock.

a16z-backed ZeroMark wants to give soldiers guns that don’t miss against drones

The RAW Dating App aims to shake up the dating scheme by shedding the fake, TikTok-ified, heavily filtered photos and replacing them with a more genuine, unvarnished experience. The app…

Pitch Deck Teardown: RAW Dating App’s $3M angel deck

Yes, we’re calling it “ThreadsDeck” now. At least that’s the tag many are using to describe the new user interface for Instagram’s X competitor, Threads, which resembles the column-based format…

‘ThreadsDeck’ arrived just in time for the Trump verdict

Japanese crypto exchange DMM Bitcoin confirmed on Friday that it had been the victim of a hack resulting in the theft of 4,502.9 bitcoin, or about $305 million.  According to…

Hackers steal $305M from DMM Bitcoin crypto exchange

This is not a drill! Today marks the final day to secure your early-bird tickets for TechCrunch Disrupt 2024 at a significantly reduced rate. At midnight tonight, May 31, ticket…

Disrupt 2024 early-bird prices end at midnight

Instagram is testing a way for creators to experiment with reels without committing to having them displayed on their profiles, giving the social network a possible edge over TikTok and…

Instagram tests ‘trial reels’ that don’t display to a creator’s followers

U.S. federal regulators have requested more information from Zoox, Amazon’s self-driving unit, as part of an investigation into rear-end crash risks posed by unexpected braking. The National Highway Traffic Safety…

Feds tell Zoox to send more info about autonomous vehicles suddenly braking

You thought the hottest rap battle of the summer was between Kendrick Lamar and Drake. You were wrong. It’s between Canva and an enterprise CIO. At its Canva Create event…

Canva’s rap battle is part of a long legacy of Silicon Valley cringe

Voice cloning startup ElevenLabs introduced a new tool for users to generate sound effects through prompts today after announcing the project back in February.

ElevenLabs debuts AI-powered tool to generate sound effects

We caught up with Antler founder and CEO Magnus Grimeland about the startup scene in Asia, the current tech startup trends in the region and investment approaches during the rise…

VC firm Antler’s CEO says Asia presents ‘biggest opportunity’ in the world for growth

Temu is to face Europe’s strictest rules after being designated as a “very large online platform” under the Digital Services Act (DSA).

Chinese e-commerce marketplace Temu faces stricter EU rules as a ‘very large online platform’

Meta has been banned from launching features on Facebook and Instagram that would have collected data on voters in Spain using the social networks ahead of next month’s European Elections.…

Spain bans Meta from launching election features on Facebook, Instagram over privacy fears

Stripe, the world’s most valuable fintech startup, said on Friday that it will temporarily move to an invite-only model for new account sign-ups in India, calling the move “a tough…

Stripe curbs its India ambitions over regulatory situation

The 2024 election is likely to be the first in which faked audio and video of candidates is a serious factor. As campaigns warm up, voters should be aware: voice…

Voice cloning of political figures is still easy as pie

When Alex Ewing was a kid growing up in Purcell, Oklahoma, he knew how close he was to home based on which billboards he could see out the car window.…

OneScreen.ai brings startup ads to billboards and NYC’s subway

SpaceX’s massive Starship rocket could take to the skies for the fourth time on June 5, with the primary objective of evaluating the second stage’s reusable heat shield as the…

SpaceX sent Starship to orbit — the next launch will try to bring it back

Eric Lefkofsky knows the public listing rodeo well and is about to enter it for a fourth time. The serial entrepreneur, whose net worth is estimated at nearly $4 billion,…

Billionaire Groupon founder Eric Lefkofsky is back with another IPO: AI health tech Tempus

TechCrunch Disrupt showcases cutting-edge technology and innovation, and this year’s edition will not disappoint. Among thousands of insightful breakout session submissions for this year’s Audience Choice program, five breakout sessions…

You’ve spoken! Meet the Disrupt 2024 breakout session audience choice winners

Check Point is the latest security vendor to fix a vulnerability in its technology, which it sells to companies to protect their networks.

Zero-day flaw in Check Point VPNs is ‘extremely easy’ to exploit

Though Spotify never shared official numbers, it’s likely that Car Thing underperformed or was just not worth continued investment in today’s tighter economic market.

Spotify offers Car Thing refunds as it faces lawsuit over bricking the streaming device