AI Navigate

Best Private and Local Only Coding Agent?

Reddit r/LocalLLaMA / 3/18/2026

💬 OpinionDeveloper Stack & InfrastructureTools & Practical UsageModels & Research

Key Points

  • The post seeks a private, local-only coding agent that can run via CLI and connect to local models (e.g., llama-swap) or OpenAI endpoints while prioritizing privacy.
  • It lists desired features: auto-determine which files to include in the context, create/edit/delete files within the project directory, no telemetry, and optional code execution.
  • It discusses current options like Aider (good but struggles without pre-defining files), OpenCode (rumored to be not fully local), and OpenCodex (geared toward Claude with uncertain local-model compatibility).
  • The author is asking for recommendations and guidance on how well these tools work with local models and private setups like llama-swap.

I've played with ChatGTP Codex and enjoyed it, but obviously, there are privacy issues and it isn't locally run. I've been trying to find a similar code editor that is CLI based that can connect to llama-swap or another OpenAI endpoint and can do the same functions:

  1. Auto-determine which files to add to the context.

  2. Create, edit, delete files within the project directory.

  3. No telemetry.

  4. Executing code is nice, but not required.

Aider has been the closest match I've found so far, but it struggles at working without manually adding files to the context or having them pre-defined.

I tried OpenCode and it worked well, but I read some rumors that they are not so great at keeping everything local. :(

OpenCodex looks like it is geared toward Claude and I'm not sure how well it configures with local models. Am I wrong?

Thank you for any recommendations you can provide.

submitted by /u/scarlettwidow2024
[link] [comments]