Skip to content
CodeMorph

Download CodeMorph (Beta)

Free to download. Sign in for CodeMorph AI, or bring your own API key.

Release notes only. Unsubscribe in one click.

Morph agent

An agent that can cite its reasons.

Morph lives in the side panel with your whole dependency graph as context. Ask why a type was chosen, tighten an any, or request a change, and it answers with the files and lines that justify it.

Download CodeMorph (Beta)

Free to download. Sign in for CodeMorph AI, or bring your own API key.

Release notes only. Unsubscribe in one click.

Set up your key
Coming soon

Available in 0.2.0

The Morph agent is on by default in CodeMorph 0.2.0. Ask is included on Free. Edit and Plan are part of Pro.
The Ask panel: a question about @index.ts with the context Morph used (the current file, the mentioned file and their errors and warnings), followed by Morph's answer.

Ask

Grounded in your code

Morph doesn't guess from one open file. It reads the graph.

Graph-aware context

Morph knows which files import a symbol and which files it depends on, so it can pull in exactly the code that matters.

Answers with evidence

Ask why paymentModel.ts kept an any, and Morph shows the callers it checked and the lines that informed the decision.

Instructions, not just questions

Tell Morph what you want, like “migrate the api folder in strict mode”, and it plans and runs it.

Migration-native

Morph sees the plan, every batch result and every tsc diagnostic, so it can explain what happened at each step.

The panel

A tour of Morph

Morph lives in the secondary sidebar on the right. Ctrl+L opens it from anywhere.

Migrate tabScan & Plan, the batch list with progress, and the review queue for the current run.
Verify tabRun & Verify: the type-check across the whole project, with its result.
Ask tabQuestions about your migration. Morph knows every change it made and why.
Instruction boxAt the bottom of the panel: give instructions or ask questions in plain words.
@ contextPoint Morph at specific files, folders or symbols to include.
/ commandsQuick actions, such as starting a migration or running Verify.
Model pickerChoose which Claude model handles the conversation and conversion.

Examples

Things worth asking

Morph is at its best on questions about your own code and the changes it made.

“Why is price a number and not a string?”

Answers with the call sites that do arithmetic on it, such as cartTotal multiplying by qty.

“Which files still have any?”

Lists the files in review and the diagnostics that kept them from typing cleanly.

“What imports models/user?”

Uses the dependency graph to show every importer, so you know the blast radius of a change.

“Why did orders.ts need two repairs?”

Shows the compiler errors from each attempt and how they were fixed.

“Make CartItem.sku a branded type”

An instruction: Morph proposes the change as a diff and re-checks the files that use it.

“Is it safe to convert config/ to ESM?”

Looks at how those files are loaded and flags the ones your tools require as CommonJS.

Context

How Morph decides what to read

Good answers come from the right context, not the most context.

  1. 01

    Start from the question

    The file, symbol or folder you mention, or the one open in the editor.
  2. 02

    Walk the graph

    Pull in the modules it imports and the files that import it, using the dependency graph from Scan & Plan.
  3. 03

    Add the history

    The plan, each batch result, the compiler diagnostics and the change Morph made to the file.
  4. 04

    Answer with evidence

    Point to specific files and lines, so you can check the reasoning yourself.

Bring your own key

Your models. Your bill. Your data path.

With your own key, your code goes straight to your provider and never passes through our servers. With CodeMorph AI, requests pass through our servers to Anthropic and are not stored.

Anthropic

Available now

Paste your key with CodeMorph: Set API Key, pick a Claude model in the Morph panel, and you're ready.

Ollama

Available now

Run open models on your own machine through Ollama. Nothing leaves your machine, ideal for code you can't send to any third party.

Stored in the OS keychain

Keys live in Windows Credential Manager, macOS Keychain or libsecret on Linux. Never in settings.json, never in logs.

Direct to your provider

Requests go from your machine to the provider you configure. There's no CodeMorph server in the middle.
settings.json
{
  // Which provider Morph uses: "anthropic" or "ollama"
  "codemorph.ai.provider": "anthropic",
  // Model name for that provider, e.g. a Claude model or a local Ollama tag
  "codemorph.ai.model": ""
}

Models and cost

Your key, or CodeMorph AI

With your own key, you pay your provider directly and we never mark it up. Pro includes a CodeMorph AI allowance so you can start without a key.

Pick the model per task in the Morph panel. A larger model is worth it for conversions with tricky inference; a faster one is plenty for quick questions. Your choice is saved in codemorph.ai.model.

What's sent

Exactly what leaves your machine

ActionSent to your provider
Scan & PlanNothing. Fully local.
Run & VerifyNothing. Fully local.
Converting a fileThe file, the typed dependencies it imports and any compiler diagnostics for repairs.
Asking a questionYour question and the relevant files, graph context and change history.
With CodeMorph AIThe same requests, through our servers to Anthropic. Not stored; we keep usage records (account, model, tokens, cost, time).
Usage analyticsOnly if you opt in: anonymous counts, never code, file names or keys.

With your own key, requests go directly from the editor to your provider. See Data use for the full picture.

Fits your hands

Opens where you expect it

CtrlL

Open the Morph panel

CtrlShiftM

Start a migration scan

CtrlShiftV

Run & Verify

On macOS, Cmd replaces Ctrl.

Can I use Morph without an API key?
Yes. Scan & Plan needs no key and no network. For conversion and questions, sign in to use CodeMorph AI, or use your own Anthropic key or a local model through Ollama, which needs no key.
Which Claude model does Morph use?
You choose, from the model picker in the Morph panel or with codemorph.ai.model in settings.
Does CodeMorph train on my code?
No. With your own key, requests go to your provider under your account and its data terms, and never pass through our servers. With CodeMorph AI, requests pass through our servers to Anthropic and we don't store them, so we have nothing to train on. Anthropic doesn't train on API requests under its commercial terms.
Can Morph edit files directly?
Morph proposes changes as diffs you review one file at a time. CodeMorph saves a checkpoint before any change, and one-click Undo all restores your project byte for byte.
Does Morph remember previous conversations?
Within a project, Morph knows the migration history: the plan, the results and the changes it made. CodeMorph: New Chat starts a fresh conversation.
Can I use Morph for things other than migration?
Morph is tuned for migration questions and instructions, and it has your dependency graph, so questions about how your code fits together work well too.
Can I run local models with Ollama?
Yes, it's available now. Set codemorph.ai.provider to ollama and codemorph.ai.model to an installed model tag, and conversion runs against your local Ollama server. Nothing leaves your machine.

Ask Morph about your code.

Download the beta, open a project and see your migration plan in under a minute.

Download CodeMorph (Beta)

Free to download. Sign in for CodeMorph AI, or bring your own API key.

Release notes only. Unsubscribe in one click.

Read the docs

Free plan, no card needed. Pro is $20 a month. Founding price $12 a month for the first 100.