Showing posts with label Coding Assistant. Show all posts
Showing posts with label Coding Assistant. Show all posts

March 16, 2026

How I Use Claude Code - Boris Tane

How I Use Claude Code

  Boris Tane

  https://boristane.com/blog/how-i-use-claude-code/ 

  Table of Contents




Boris Tane is a software engineer and entrepreneur best known for founding Baselime, an observability platform acquired by Cloudflare in 2024.

He is currently focused on:

• nominal.dev: His latest project, which uses AI to automate "on-call" tasks and improve software reliability.

• AI Development: He is a leader in using AI agents for coding, popularizing the "Research-Plan-Implement" workflow to build software faster.


October 30, 2025

Coding Assistant - Cursor 2


 

Cursor 1.0

Cursor is an AI code editor that helps you write, review, and refactor software directly in the IDE. Version 1.0 introduced several headline tools: Bugbot for automatic pull-request reviews on GitHub, a Background Agent that could carry out longer tasks, early “Memories” to retain project context, one-click MCP setup, and Jupyter support. link

What Cursor 2 is

Cursor 2.0 adds a first-party coding model called Composer and a new interface designed for running many agents in parallel. Composer focuses on low-latency coding turns and is described as about four times faster than similarly capable models. The 2.0 interface centers your workflow around agents with easier code-review flows and a native in-editor browser tool for testing and iterating on changes. 

What’s upgraded from 1 to 2

  • Built-in model: Cursor now ships its own Composer model optimized for software work and long context. This reduces round-trip time and improves multi-step tasks.

  • Parallel agents: You can spin up multiple agents on separate git worktrees or remote machines and compare results to pick the best one.

  • Review and testing: A consolidated multi-file review view and an embedded browser help you validate and iterate on agent changes inside the editor.
    Compared with Cursor 1.0’s emphasis on Bugbot, Memories, and Background Agent, the 2.0 release shifts the core IDE toward coordinated, parallel agent workflows and faster model feedback. 

Pricing today and whether Cursor 2 changed it

[2025] Cursor’s individual plans are listed as Hobby (free), Pro at $20 per month, Pro+ at $60 per month, and Ultra at $200 per month. These tiers mainly differ by usage limits and access to larger context windows and more model usage. link

Separately, Bugbot is a paid add-on for automated PR reviews. Documentation and press coverage place it at $40 per user per month for teams. This is distinct from the base Cursor editor plans. link

Cursor also clarified in a recent pricing update that Pro includes a monthly credit pool for frontier model usage. After the included credit is used, you can buy more usage at cost. This reframes what used to be described as rate limits. That change was a pricing model clarification rather than a Cursor 2 only change.

October 19, 2025

Coding Assistant - Configure Continue and comparison of Continue Cursor and Codex

Configure Continue and comparison of Continue, Cursor, and Codex

Below is a concise guide to set up OpenAI models in Continue and then a head to head comparison between Continue, Cursor, and Codex when you hold the model constant. I assume cost is not a constraint.

The short answer on “what model should I use”

If you want the strongest coding performance from OpenAI right now, choose GPT-5-Codex inside your tools. It is a GPT-5 family variant tuned for agentic coding and is available in the API and in OpenAI’s Codex products. You can also use standard GPT-5 for broad tasks and GPT-4o when you need image understanding mixed with code.


How to configure OpenAI models in Continue

Where your config lives
Continue now uses a YAML based config. On first run it creates config.yaml which you can open from the Continue Chat sidebar. Paths are:

  • macOS or Linux: ~/.continue/config.yaml

  • Windows: %USERPROFILE%\.continue\config.yaml

Minimal OpenAI setup
Create or edit config.yaml and add a model entry. Put your OpenAI API key from the OpenAI console in the apiKey field.

name: MyContinueSetup version: v1 schema: v1 models: - name: GPT-5-Codex provider: openai model: gpt-5-codex apiKey: $OPENAI_API_KEY roles: - chat - edit - apply

This mirrors the provider block in Continue’s OpenAI guide and the broader config reference.

If you are routing through an OpenAI compatible endpoint
Continue lets you point to an OpenAI compatible server by setting apiBase:

models: - name: MyRouterModel provider: openai model: gpt-5-codex apiBase: https://your-endpoint.example.com/v1 apiKey: $MY_ROUTER_KEY

This is the documented way to use OpenAI compatible providers.

Capabilities and agent mode
Continue auto detects most model features. If you need to add capabilities manually for tools or images, you can add a capabilities array:

models: - name: GPT-4o provider: openai model: gpt-4o capabilities: - tool_use - image_input

Use this only when autodetection does not catch a new deployment.

Tip
Continue supports multiple models with different roles. For example you can keep GPT-5-Codex for agent work and a fast model for autocomplete in the same file. See the reference for roles, default options, and timeouts. Continue


Continue vs Cursor vs Codex, model held constant

Assume you call the same OpenAI model through each tool. For example GPT-5-Codex in Continue, Cursor, and Codex.

1) Integration depth and control

  • Continue - Works as an extension inside VS Code and JetBrains. It is open source and configurable through YAML and a Hub. You define models, rules, prompts, and Model Context Protocol servers. You can point to OpenAI compatible back ends and tune agent behavior. This gives strong control when you want a custom workflow.

  • Cursor - A full editor with deep AI features such as chat, inline edits, and tab completion. You can add your own API keys in Settings so you can use your OpenAI quota. Cursor focuses on a smooth editor experience and team admin controls.

  • Codex - Codex is an OpenAI coding agent that runs in the cloud and locally through the Codex CLI and also as an IDE extension. It can read a repository, run commands, propose pull requests, and handle many tasks in parallel in a sandbox. It defaults to GPT-5 and supports GPT-5-Codex. This is the most agent native option from OpenAI.

2) Autonomy and operations

  • Continue - Agent mode exists and can use tools. You decide which tools and rules to load, which makes it easy to keep autonomy within your boundaries.

  • Cursor - Strong inline flow for chat and edits. With the new Bugbot, Cursor extends into automated code review for pull requests with GitHub integration. This is valuable if your main need is review gates and editor driven fixes.

  • Codex - Designed for multi task execution in a managed sandbox. It can branch tasks, run tests, and propose changes as pull requests, then hand the work back to your IDE. This is the most agent forward posture.

3) Customization and vendor choice

  • Continue - Maximum flexibility. Any OpenAI model and many OpenAI compatible deployments by changing apiBase. You can attach MCP tools and custom prompts and rules. Great for teams that want to own the stack.

  • Cursor - Lets you add custom API keys for OpenAI and other providers, though the exact model menu and base URL override options can change over time. It is opinionated in product design to keep the experience simple.

  • Codex - Most features are available through your ChatGPT plan and the Codex CLI. It is OpenAI first by design and exposes the latest agent features fast.

4) Team features and review

  • Continue - Works with your existing Git flow and CI because you choose the model and tools. You can use the CLI and agents in CI as needed. 
    Cursor - Team billing, privacy controls, SSO, and an add on for Bugbot that enforces pre merge reviews. If your priority is a gated review process that runs inside GitHub, Cursor plus Bugbot is a strong fit.
    Codex - Builds and reviews code in a sandbox and can open pull requests. It now has an IDE extension so you can move between cloud and local work.

5) The “what should I pick” rule of thumb

  • Pick Continue if you want full control, model freedom, and deep configuration with YAML and Hub. It is ideal when you expect to tune prompts, rules, and tools per repo.
    Pick Cursor if you want a dedicated editor that makes chat, edits, autocomplete, and review feel native, and you want an opinionated path for team rollout.
    Pick Codex if you want a first party OpenAI agent that can do multi task work in a sandbox and you plan to adopt GPT-5-Codex quickly. It is the fastest path to new agent features from OpenAI.


A note on “Codex the model” vs “Codex the agent”

The original Codex models from 2021 were deprecated in March 2023. The new Codex is an agent built on modern models like codex-1 and GPT-5-Codex. Keep that distinction in mind when you compare tools. 


Suggested Continue configs you can copy

Single model for everything

name: Solo version: v1 schema: v1 models: - name: GPT-5-Codex provider: openai model: gpt-5-codex apiKey: $OPENAI_API_KEY roles: [chat, edit, apply]

Two model setup for speed plus strength

name: SpeedAndStrength version: v1 schema: v1 models: - name: GPT-5-Codex provider: openai model: gpt-5-codex apiKey: $OPENAI_API_KEY roles: [chat, edit, apply] - name: GPT-5-mini provider: openai model: gpt-5-mini apiKey: $OPENAI_API_KEY roles: [autocomplete]

Use the first for agent work and edits and the second for inline suggestions. See the model and roles reference to tune defaults like temperature and max tokens.


Final recommendation

If we ignore cost, start with GPT-5-Codex across the board. In Continue, set it as your primary agent model with tool use enabled. In Cursor, add your OpenAI key and select the same model for chat and edits. Try Codex as a companion when you want parallel task execution in a sandbox and pull request creation at scale. This way you hold the model constant and pick the surface that matches your workflow. 

October 18, 2025

Coding Assistant - Build a Local AI Coding Assistant

Build a Local AI Coding Assistant: Tools, Models, Hardware, and How It Stacks Up to GPT and Claude

Running a coding focused AI locally is absolutely practical now. With a single workstation GPU you can get a fast, private assistant that writes functions, fixes bugs, and drafts tests, without shipping your code to the cloud. Below is a clear, opinionated guide that distills the earlier discussion into one cohesive plan.

Why go local?

  • Privacy and compliance: your source never leaves your machine.

  • Latency and availability: no rate limits, no waiting for a busy service.

  • Cost: once you have paid for hardware, heavy daily usage is cheaper than subscriptions.

The trade off: the very hardest “agentic” coding tasks (whole repo refactors, tool driven multi step plans) are still where frontier hosted models tend to be more reliable.

The runtime: how to host models locally

You need a “model runtime” that downloads weights and exposes an API your tools can call.

  • Ollama - The simplest path. One command pulls a model and starts a local endpoint. Good CLI and REST ergonomics and wide community adoption.

  • LM Studio - Desktop app with a friendly UI and a built in OpenAI compatible server; very easy to point IDE tools at.

  • vLLM - A high performance server (great throughput and latency), ideal if you want to serve multiple IDEs or multiple users over your LAN.

  • Open WebUI (optional) - A polished chat UI that can sit atop Ollama or LM Studio for “ask the repo” style workflows or teammate access.

Recommendation: start with Ollama or LM Studio. Move to vLLM if you need more performance or multi user reliability.

IDE integration and whole repo search

For a coding assistant to be useful, it must understand your repository, not just the file in focus.

  • Continue (VS Code / JetBrains): builds an embedding index over your project and does similarity search to bring the right files and sections into context automatically. It can browse and search the codebase via built in tools.

  • Aider (CLI, editor agnostic): creates a “repo map” (via parsers like tree sitter) summarizing classes, functions, and call sites, then uses that map to propose precise edits across files. It is excellent for “change A → find or modify B or C”.

  • Sourcegraph Cody: first class code search plus AI. It searches the workspace and feeds matched snippets to the model; can also integrate with a self hosted Sourcegraph instance if you want enterprise grade search.

Bottom line, yes, modern plugins can search the entire codebase and relate one file to another. For best results, allow an initial indexing step and refresh the index after large refactors.

Which free models are strongest for coding?

For local code generation and repair, these open models stand out:

  1. Qwen2.5-Coder-32B-Instruct

    • Excellent code quality across common benchmarks and practical editing tasks.

    • Long context (useful for multi file prompts).

    • Permissive licensing (Apache 2.0 for most sizes).

  2. DeepSeek-Coder-V2 family

    • V2 (Mixture of Experts, “236B total / about 21B active”) is a top performer but heavy to host;

    • V2-Lite-16B is the sweet spot for local use while retaining strong coding ability.

    • Take note of MoE: “total parameters” are large, but active parameters per token are much smaller.

  3. Codestral 22B (Mistral)

    • Very capable, long context, strong repository level behavior.

    • License caveat: research or test friendly, but not for production for commercial use without further permissions.

Solid baselines if you are compute constrained: StarCoder2 7B or 15B; generalist but capable: Llama 3.x Instruct (8B or 70B).

Does bigger always mean better? Mostly yes within a family (7B to 14B to 32B tends to improve), but data quality, instruction tuning, context length, and decoding settings also matter. MoE models complicate the “parameter equals power” mental model; look at active parameters and real results.

Hardware: do you need a 4080? What if you have a 4090?

VRAM dictates your ceiling because you must hold weights and the KV cache (which grows with context length and batch size).

  • 24GB VRAM (RTX 4090 / 3090): ideal for Qwen2.5-Coder-32B at 4 bit quantization. You will have enough headroom for longer contexts and stable editing sessions.

  • 16GB VRAM (RTX 4080 or 4080S or 4070Ti 16GB): best with Qwen2.5-Coder-14B or DeepSeek-Coder-V2-Lite-16B (4 bit). You can attempt 32B with aggressive offloading and shorter context, but it is a compromise.

  • Multi GPU or 32GB plus VRAM: enables bigger unquantized loads or faster 22B class models, and gives breathing room for very long contexts.

Practical tip: for live coding speed, use an efficient 7 to 16B model for autocomplete and quick Q and A, and switch to a 32B model when you need higher stakes edits or complex refactors.

3090 vs 4090/4080: the essentials

click to open
  • Architecture and process: 3090 = Ampere on Samsung 8N; 4090 = Ada Lovelace on TSMC 4N, bringing a clear efficiency gain.

  • Cache and memory: 3090 has ~6 MB L2 and ~936 GB/s; 4090 has ~72 MB L2 and ~1008 GB/s, which helps memory-bound work.

  • Media engines: 4090 adds AV1 hardware encode; 3090 supports AV1 decode only.

  • Platform: 3090 retains NVLink; 4090 removes it.

Why 3090 can hit inference bottlenecks

Smaller L2 (~6 MB vs ~72 MB) and lower effective bandwidth (~936 GB/s vs ~1008 GB/s) make the 3090 more memory-bound, so long contexts and small batches stall more often.

Why 3090 and 4090 host bigger models than 4080

Both 3090 and 4090 have 24GB VRAM, leaving room for large weights plus KV cache at low-bit quantization. The 4080’s typical 16GB fills sooner, forcing heavier quantization, shorter context, or CPU offload. Also, 3090/4090 use a 384-bit bus; 4080 uses 256-bit, reducing memory throughput. In short, capacity first and bandwidth second make 3090 and 4090 better for big models, while 4080 is more constrained.


Price (2025)

  • RTX 4090: launch MSRP $1,599; current new listings often ~$2,300–$3,000; used ~$2,100 depending on seller and model.
    RTX 3090: launch MSRP $1,499; typical used ~$650–$800; occasional new old stock around ~$900.
    RTX 4080 / 4080 SUPER: launch MSRPs $1,199 and $999; street prices vary—used often ~$760–$800, while new cards can sit ~$1,300+ depending on brand and availability.

Note: prices swing with availability, region, and retailer promos; the figures above reflect recent US market snapshots.

How does a local 32B model on a 4090 compare to GPT and Claude?

Where local shines

  • Everyday coding: writing functions, fixing bugs, adding tests, small scope refactors, top open models are highly competitive here.

  • Privacy and cost: your code stays on premises; heavy daily use is cost effective after hardware.

  • Latency control: no shared limits; you can tune decoding for snappy responses.

Where hosted leaders still win

  • Agentic reliability: planning multi step changes, tool orchestration (run or parse tests, apply diffs with fewer mistakes), and obeying exact constraints are still more consistent on frontier closed models (for example, GPT 4.1 and Claude 3.5 tier).

  • Ultra long context: cloud models offer extremely large windows (hundreds of thousands to million token scale in current offerings), which helps for whole repo reads or very large design docs.

  • Edge cases and robustness: the newest proprietary models often sit atop leaderboards like LiveCodeBench and BigCodeBench, especially on complex, real world tasks.

Pragmatic strategy: Use your local 32B as the default assistant. When you hit whole repo surgery or strict tool driven workflows, temporarily call a hosted model as a safety net.

Quick start recipes

A. Easiest path (Ollama and Continue)

# 1) Install Ollama (per your OS), then pull a model: ollama pull qwen2.5-coder:32b-instruct # use :14b on 16GB cards # 2) Test it: ollama run qwen2.5-coder:32b-instruct # 3) VS Code → install the “Continue” extension # In Continue settings, set provider = "ollama", model = "qwen2.5-coder:32b-instruct" # Enable indexing for your workspace so it can do repository wide retrieval.

B. GUI API server (LM Studio) and Aider

  1. Install LM Studio, start its OpenAI compatible server, and download Qwen2.5-Coder-32B (or 14B).

  2. Set OPENAI_API_BASE to the LM Studio URL in your shell.

  3. Run Aider in your repo root; add only the files you want it to edit, Aider uses its repo map to find related files automatically.

C. High performance and multi user (vLLM)

  • Launch with vllm serve <model> ... to expose an OpenAI compatible endpoint for your whole team. Point Continue or Aider or Cody at that endpoint.

Workflow tips for better results

  • Index early, refresh often: Embedding indexes (Continue) or repo maps (Aider) make the assistant codebase aware. Refresh after major refactors.

  • Tune context and temperature: For edits, lower temperature and shorter max tokens equals fewer hallucinations and tighter diffs. For brainstorming, loosen them.

  • Quantization matters: 4 bit gets big models onto single GPUs; 8 bit can improve quality slightly if you have VRAM headroom.

  • License check: Qwen2.5-Coder sizes are generally Apache 2.0; Codestral’s default license is not for production use, fine for evaluation, not for commercial deployment without permissions.

A short decision checklist

  • Need maximum quality privately, have at least 24GB VRAM? → Qwen2.5-Coder-32B-Instruct (4 bit) via Ollama or LM Studio plus Continue.

  • Have 16GB VRAM? → Qwen2.5-Coder-14B or DeepSeek-Coder-V2-Lite-16B (4 bit) as daily driver.

  • Heavy multi user or service use? → Host with vLLM.

  • Big, risky refactor with strict tool control or gigantic context? → briefly use GPT 4.1 or Claude 3.5.

Final takeaway

With a 4090, a well tuned Qwen2.5-Coder-32B or DeepSeek-Coder-V2-Lite for speed plus Continue or Aider gives you a strong, private coding copilot that covers most day to day work. Keep a hosted model in your back pocket for the occasional whole repo overhaul or agentic marathon, and you will have the best blend of capability, privacy, performance, and cost.