S
Sweep Blog
docs.sweep.dev · Company blog · on HN since 2023
The team behind Sweep, an AI coding assistant for JetBrains, writes about code search, chunking, and LLM code editing.
What HN saysHN links it for the post on chunking code with syntax trees, and commenters mention Sweep as a JetBrains AI plugin and junior-dev tool.
16HN people shared it
8linked it in comments
18stories submitted
181story points
2 years agolast shared
2023people per year2026
Most-shared posts
- 1Chunking 2M files a day for code search using syntax trees3 people · 17 points · first shared 2023 · 2 comments on HN
- 2Show HN: AI in JetBrains that doesn't suck2 people · 9 points · first shared 2024 · 4 comments on HN
- 3Letting an AI Junior Dev Run GitHub Actions2 people · 6 points · first shared 2023 · 1 comments on HN
- 4Code Search Infra for an AI junior developer – that doesn't store code2 people · 2 points · first shared 2023 · discussion on HN
- 5Getting GPT-4 to modify files is harder than getting it to write them2 people · 2 points · first shared 2023 · discussion on HN
- 6Show HN: File-based cache for slow Python functions1 people · 73 points · first shared 2024 · 57 comments on HN
- 7Show HN: Open-source coding assistant with terminal access1 people · 52 points · first shared 2024 · 12 comments on HN
- 8Generating 50k+ code embeddings in 25 seconds using GTE and MapReduce1 people · 3 points · first shared 2023 · discussion on HN
- 9When you should handle tech debt1 people · 3 points · first shared 2023 · discussion on HN
- 10Walking the call graph for repo-level planning of AI code edits1 people · 3 points · first shared 2023 · discussion on HN
- 11Using Retrieval Augmented Generation to Clear Our GitHub Backlog1 people · 2 points · first shared 2023 · discussion on HN
- 12A Simple Multi-Region Azure/OpenAI GPT4 Proxy1 people · 2 points · first shared 2023 · discussion on HN
- 13GPT-4 can catch edge cases in your code using unit tests1 people · 2 points · first shared 2023 · discussion on HN
- 14Self hosting an AI junior developer1 people · 1 points · first shared 2023 · discussion on HN
- 15Getting an AI to iterate with dev tools like a human1 people · 1 points · first shared 2023 · discussion on HN
What HN people wrote when they linked it
williamzeng0 · 2025-04-16
I think they're getting there but missing big features like a high quality "Apply" workflow and next-edit predictions.
I'm working with two of my friends to fill the missing pieces as a JetBrains plugin: https://docs.sweep.dev/
CGamesPlay · 2024-06-27
I know of Sweep <https://docs.sweep.dev>, but honestly the SOTA on SWE-bench, which is basically exactly what you're asking for, is only about a 25% success rate, so expect very mediocre results.
kevinlu1248 · 2023-08-12
Thanks for the suggestion! CLI tools can be simple to deploy and setup but are limited in the long run. Running the logic server side allows us to perform way more validation, such as GitHub Actions, linting, and pre-commit hooks. You can do this in your terminal, but it's not as easily parallelized and the process is not as easily persisted. There are definitely some tradeoffs to be made.
Also, the onboarding flow for GitHub Apps is significantly smoother and is a familiar interface for many people. We built a CLI-installed tool previously and there were a ton of versioning and environment-related problems etc, with 3 OS's to support. Unfortunately, it becomes harder to focus on building the best tool for our users if our focus is too broad.
To your last point, you can pry into our codebase and our blogs to see what we do under the hood; "Watch the magic happen" is just referring to the simplicity of our installation process. Also, we only store the logs for debugging and they only get persisted 30 days (which is also how long OpenAI stores them for). We gave a lot of thought to designing our search engine that doesn't store any code in plaintext. Check it out here: https://docs.sweep.dev/blogs/search-infra
jshobrook · 2024-08-29
You can use the AST to chunk the code: https://docs.sweep.dev/blogs/chunking-2m-files
singularity2001 · 2024-03-12
Very interesting and honest description of the difficulties and solutions sweep.dev encountered: https://docs.sweep.dev/blogs/gpt-4-modification
ricklamers · 2023-09-11
Sweep is mentioned as attribution in multiple places a) https://github.com/definitive-io/code-indexer-loop#attribution b) https://github.com/definitive-io/code-indexer-loop/blob/fd9d4a65e475e9…
The difference is packaging it as a consumable PyPI package that can easily be used in a project (they even call out for separating this out into a stand alone project but that they lack the time to do so: https://docs.sweep.dev/blogs/chunking-2m-files#future- )
In addition, we expand and fix the implementation, for example it now supports limiting on token count instead of character count, and we fix some white space inconsistencies in parsing/chunk reconstruction.
_boffin_ · 2023-09-11
From the initial look, it looks like you're taking the work of SweepAI, a source-available repo, which gave(?) it to LlamaIndex(1) and then you're just providing a wrapper around the LlamaIndex that provides a way to do an Update statement.
1) https://docs.sweep.dev/blogs/chunking-improvements
gcanyon · 2023-08-03
Meta-issue: the purple on black text in the examples page is hard to read. https://docs.sweep.dev/examples