Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>SMARAN.AI CodexNew to Visual Studio Code? Get it now.
SMARAN.AI Codex

SMARAN.AI Codex

Shashwat Mishra

|
17 installs
| (0) | Free
A coding agent that reads your project, changes files, runs commands and reads the results — one step at a time, in view.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

⬢ SMARAN.AI CODEX

ask → run the tool → read the result → ask again

A coding agent in your sidebar. You give it a task; it reads your project, changes files, runs commands, reads what they printed, and keeps going until the work is done — every step on screen, under a mode you choose.

Nothing else has to be installed and nothing has to be left running. Bring an API key, or a model in Ollama or LM Studio, and that is the whole setup.

Agent Local or cloud License


Built by Shashwat Mishra

LinkedIn YouTube


How much it may do

Two dials, both on the chip beside Send. They are enforced where the tool runs, not asked of the model: in Plan only the tools that change things refuse, whatever the model tries.

Preset What happens
Plan only Reads and explains. Changes nothing.
Ask me first Asks before every change and every command.
Work on its own Edits and runs on its own; stops at what is hard to undo.
Full access Never asks. Reads and writes anywhere.

Underneath, the presets are two separate settings:

  • Reach - Read only, This project (the default: writes only inside the folder) or Anywhere. Paths are resolved and then checked, so ../ and a symlink out of the tree fail as a message, not as a file somewhere else on your disk.
  • Approval - Every time, Before commands, When it looks risky or Never. It can only slow the agent down, never widen its reach.

"Risky" is a short list of things that are hard to undo: deleting recursively, force-pushing over published history, piping a download into a shell, overwriting a disk, publishing a package. Reading is never gated. A shell command is not a sandbox, and this does not pretend it is one - keep This project unless the task really needs more.

What it can do

Tools
Code list_files · read_file · write_file · edit_file (with replace_all) · search
Run run_command · git
See and test the result preview · open_browser · browser_check · browser_click · browser_type · browser_key · browser_reload
Plan todo - a step list on screen, ticked off as it goes
Hand off delegate - a second agent answers one long look-up and returns only the answer
More Any MCP server you add (smaran.mcpServers)

Build it, see it, fix it. For a web page or app the agent opens a live preview beside the editor (VS Code's own browser, reloading itself as files change), so you watch it being built and can use it straight away. It also tests the same page in a real browser window - the Chrome or Edge already on your computer, driven over the DevTools protocol, the mechanism Playwright and Puppeteer use, with nothing to download. It reads uncaught errors, console errors and failed requests, clicks buttons and types into fields by their labels, reloads after each fix and checks again.

That test browser uses a fresh, empty profile that is thrown away: your tabs, cookies and logins are never in reach of a model. The preview server listens on 127.0.0.1 only, serves only the open folder, and refuses anything under a dot-name (.env, .git, .ssh).

In the panel

  • Setup — pick a provider, paste a key, and choose from the models that provider actually has. The list is fetched from the provider, never hardcoded: two models this was tested against were retired within a day of each other, and a typed-in list would still be offering them.
  • Ollama models, installed and removed from here. Type a name, watch it download, delete one you are done with. Ollama only — LM Studio's local server has no endpoint for either, so the buttons are not offered there. Both runners are listed with what each one currently has, so if you have both you can see which is running without picking one to find out.
  • History — every conversation, saved per project, on your machine. Reopen one and carry on where it stopped.
  • One history with the SMARAN.AI app. With the app running on the same computer, a task begun in its Code section is in this History, and one begun here is in the app. Close one, open the other, and carry on from where you stopped. The app holds the shared copy; nothing goes anywhere else.
  • Attach — pull in a file. One inside the project is named for the agent to read; one from outside is included, because no tool can reach it.
  • Always shows it is working. While the model is thinking, the strip above the box names the model, the step and the seconds - "Waiting for qwen2.5-coder:7b · step 3 · 41s" - so a slow model never looks like a dead one. A message sent while a run is going says so instead of disappearing.
  • Every step, with its result. Each action is one line — "Read server.js", "Created public/app.js +118", "Ran node --test" — that turns into a tick or a cross and opens to show the diff or what the command printed. If it goes wrong, you can see the step it went wrong on.
  • The tools that actually ran, listed at the end beside the agent's own account of what it did. A small model will write one file and report three.

Where the model comes from

The SMARAN.AI app, free (recommended). If the SMARAN.AI app is open on this computer, choose SMARAN.AI app in Setup. It uses the free keys you saved in the app - Groq, Gemini, NVIDIA, Mistral, OpenRouter - picks the best one that is answering for code, and switches when one fails. Nothing to paste here; the keys stay in the app.

Ollama, on your machine. ollama pull qwen2.5-coder:7b (or install it from Setup), leave the provider empty. Nothing leaves the computer.

Or LM Studio, on your machine. Start its local server (Developer tab → Start server, or lms server start), load a model, and choose LM Studio in Setup. The extension talks to http://127.0.0.1:1234/v1 unless smaran.lmStudioUrl says otherwise. If LM Studio lists a model it cannot run - it has no engine installed - the panel says so and tells you the fix (Settings → Runtime → llama.cpp, or lms runtime get llama.cpp).

The context window matters for an agent: each step carries the task, the tools and what came back. The extension reads the window LM Studio loaded the model with and fits the conversation into it, shortening older output first; Ollama is asked for 16K. For long tasks, load the model in LM Studio with a larger context (for example lms load <model> --context-length 16384).

Or a provider key. Groq, Google Gemini, OpenRouter and NVIDIA all have free tiers; Anthropic, OpenAI and DeepSeek are paid. Paste it into Setup — it goes into your operating system's keychain, not settings.json, and is sent to that provider and nowhere else. There is no server of ours in between.

Keys entered in the SMARAN.AI desktop app are not read from here: the extension uses only the keys you give it, so what Setup shows is exactly what it has and Remove really removes it.

Every common tool-call format is understood. Open models rarely write a tool call the way they are asked to. The agent reads the formats they actually use - tags, JSON inside a tag, the Qwen3-Coder / Nemotron <function=…><parameter=…> template, the Hermes and NeMo JSON templates, attributes, <invoke> - and the names they use for arguments (cmd, command_line, input, a command given as a list of words). A model your account cannot use is reported in those words, not as an opaque id.

About the model

This matters more than any setting here. A small local model will follow the loop and still lose track of what it has done — a three-billion-parameter model, given a two-file task, wrote one file and reported that it had written two. The loop cannot make up that difference, and this extension will not pretend otherwise. A 7B coding model is a reasonable floor; the free tiers above are better.

Commands

SMARAN.AI: Open Console · Give the agent a task · Switch mode

And in the editor's right-click menu: explain, refactor, write tests, fix the problems in this file. Each writes a sentence and hands it to the same agent — "write tests for this file" writes them, runs them, and fixes what fails.

Settings

Setting What it does
smaran.reach What it may touch: read, workspace (default) or full. Also in the panel.
smaran.approval When it stops to ask: always, commands, risky or never. Also in the panel.
smaran.provider Which provider runs the agent. Empty means Ollama; lmstudio means LM Studio; smaran means the SMARAN.AI app.
smaran.model Model name. Chosen from the Setup tab.
smaran.ollamaUrl Where Ollama is (default http://127.0.0.1:11434).
smaran.lmStudioUrl Where LM Studio's server is (default http://127.0.0.1:1234/v1).
smaran.mcpServers MCP servers the agent may use: { "name", "target" }, a command or a URL.
smaran.backendUrl Where the SMARAN.AI app is, for the shared coding history.

Privacy

No account, no telemetry, no usage counts. Keys live in your operating system's keychain and go only to the provider they belong to. With Ollama or LM Studio nothing leaves the computer. Conversations are saved on your machine, per project; with the SMARAN.AI app running they are shared with it, on the same machine, and nowhere else.


Made by Shashwat Mishra

LinkedIn YouTube

MIT licensed. Part of SMARAN.AI.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft