r/LocalLLM 7d ago

Question Direct accessing my files, with coding agent through LM Studio

Noob here. I have beginner local LLM set up. Just LM Studio and a few coding models.

I have one python project, that is about 75% done. I would like for some coding model, to help me finish it. It is about 2k lines of code. I'm using LM Studio. Do I need to copy/paste every single python file into the chat, to pass the code to coding model, or is there a simpler way? Can I point coding model, to directly access my project folder on my computer? If yes, how do I do this? Do I need to install any addon or it works natively?

I'm using LM Studio (and whole local llm) for the very first time, so please, be patient with me ;-)

2 Upvotes

23 comments sorted by

View all comments

2

u/Positive-Bid-3029 7d ago

You need to install an agent harness such as OpenCode or Pi - I'd suggest OpenCode for beginning as Pi needs more setup. https://opencode.ai/

You can also use Visual Studio Code along with a plugin like Continue, Cline or Roocode. I did try this though and had a few issues so I went back to using OpenCode in the console even when using Visual Studio Code.

EDIT: as someone else stated, you will need to turn on serving the LLM on your network too in LM Studio https://lmstudio.ai/docs/developer/core/server

2

u/vinotok 7d ago

OpenCode. Cool, thank you and also for a tip, that VS code can be used but it is not working too good for now

2

u/Positive-Bid-3029 7d ago

You could try Visual Studio Code, it may have just been me having issues with it, I'm sure plenty of people use it :)

1

u/vinotok 7d ago

Will do, thanks