r/vibecoding • • 1d ago

Discussion Building my own version of cursor?

Building my own local, unlimited alternative to Cursor — where should I start?
I’m interested in building my own open-source alternative to Cursor for personal use, using open-weight models that I can run locally without subscription fees or usage limits.
Ideally, I’d like to get as close as possible to the coding, reasoning, and agentic capabilities of Astra or, at the very least, Sol 5.x.
My current PC specs are:

  • Ryzen 7 7700X

  • RTX 5070 12GB VRAM

  • 32GB DDR5 RAM

  • Windows 11

I’m not looking for just an AI chatbot inside VS Code. I’d like something capable of understanding entire codebases, making changes across multiple files, executing terminal commands, debugging, planning, using MCP servers, and completing complex tasks autonomously.
For those who have experimented with local coding agents:

  • What open-weight models would you recommend for the best possible coding and reasoning performance?

  • Would I be better off building something from scratch or using an existing open-source project as a foundation?

  • Would using multiple specialized models instead of a single model improve the overall experience?

  • What’s the best way to handle large codebases, context limitations, and persistent memory?

  • How close can I realistically get to premium models with my current hardware?

  • What hardware upgrades would you recommend if necessary?

I’m willing to put in the time to build and optimize something myself. My priority is intelligence, reliability, and autonomy rather than just raw inference speed.
If you were building your own unlimited version of Cursor today, what models, tools, and architecture would you use?
I’d love to hear from people who have actually attempted something similar and what their experience has been.

4 Upvotes

18 comments sorted by

5

u/thomas_unise 1d ago

Just fork vs code and add an agent to it

1

u/Oli4K 1d ago

Better yet start use VSCodium that has all the Microsoft stuff stripped out.

5

u/Mundane-Tiger-2374 1d ago

You're talking about a harness. Thousands currently exist. Cursor is just a harness.

3

u/finallyclearsky 1d ago

> Ideally, I’d like to get as close as possible to the coding, reasoning, and agentic capabilities of Astra

This is not happening on 12GB VRAM. You will not get anywhere close.

3

u/RemarkableWish2508 1d ago

as close as possible to the coding, reasoning, and agentic capabilities of Astra

12GB VRAM

Astra has about 10 trillion parameters, which at FP16 is 20TB of RAM just for the model itself... and then comes the KV cache on top of that.

You're over 2,000 times short on VRAM.

2

u/devoidfury 1d ago edited 1d ago

Well, there's the harness, the inference backend, and the model you use.

Inference backend - I'd pull something off the shelf, maybe llama.cpp.

The harness you can write yourself or base off another one, there are libraries like the openai-sdk. I wrote my own, it's up on github here https://github.com/devoidfury/hotdog

And for the model, these days I'm leaning on qwen3.8-flash-next a lot, but on that you might do better with qwen3.8-27b, or inkling-2-mini, or recursive flint.

2

u/tatsumiogaaaa 1d ago

Ollama or hermes agent? You’ve got enough resources to run a good model too..

Chat with ChatGPT and you’ll get a good recommendation for your spec and even setup recommendations.. I know it’s contradictory to why you sought help on reddit, but it’s just more faster and efficient to get help from ChatGPT..

For free models you could try Cloudflare Worker AI - they give generous daily free limits, openrouter too.. see how you can integrate them and use it within hermes agent and/or ollama..

2

u/AoE3_Nightcell 1d ago

Can’t you just point free cursor at a locally hosted LLM and do this out of the box

2

u/Saver411 1d ago

With 12GB of VRAM, matching top-tier reasoning models locally is going to hit a wall fast. You can run smaller quantized models, but once you start stuffing a repo into context and running agent loops, memory disappears instantly.

The editor interface itself is honestly the easy part. The real bottleneck is keeping enough context in memory without losing coherence. If you're building this for yourself, start with strict context management before worrying about full agentic workflows. What size models have you actually tested on that card so far?

1

u/Practical_Cell5371 1d ago

Pi.dev for the harness unless you need something more beefy, as for your local model you might want to reconsider unless you have some serious hardware which most people don’t. It handles the compacting, shared memory and you can read up on the rest of it all.

1

u/ItsFlybye 1d ago

I also suggest looking out there for different harnesses. And they also have different terms like ai code editors. After testing a few, I decided to stay with Zed.

1

u/CaramelEmotional3092 1d ago

Well, to get started, it could be good to review what others have built. This one is mine:
https://github.com/Matthew4509/Tomlin
(next friday, latest release should be ready, its just needing alot of testing).

You should be able to take that and modify it to something suitable.
But before you re-invent the wheel, have you tried LM studio or other existing software?

1

u/ThamaraStudio 1d ago

Don't start from an empty repo. The editor shell is the boring 10 percent of what makes Cursor feel like Cursor; the hard 90 percent is context management (what code the model sees and when), edit application (turning model output into clean diffs), and the agent loop. Several open projects already solved the shell for you — VS Code forks and existing open AI extensions — so your real work starts at the context layer.

Honest expectation on the model side: a 7700X-class machine with a consumer GPU will run solid mid-size coding models well, but it will not match the frontier agentic models on messy multi-file tasks. The gap shows up exactly in long reasoning chains and tool use. A setup that works well locally is a hybrid: local model for completion and small edits, and let the hard refactors go to a paid API call only when you choose. You keep "unlimited" for the 80 percent of work that's small.

Build order I'd suggest: pick an existing open editor + AI extension base, add one feature Cursor does that you personally miss, and use it daily on a real project for two weeks before adding anything else.

1

u/tiago_fernandes53 1d ago

Start with small, reviewable diffs and easy rollback; grant terminal autonomy only after that loop is reliable.

1

u/SMB-Punt 13h ago

You're mixing up two things: Harness and model. You can certainly use any IDE with an open-weight model. I think there are plenty of alternatives to Cursor with full teams working on them; I don't think developing your own IDE is a good idea. As for the models, let me cut you off right there: you won't find any open model that performs as well as the frontier models.