Spiral gives your agent every tool with one account. Browse the tools →

Hermes · LLMReleased 2025-07-07

How to Use Morph V3 Large in Hermes

Morph V3 Large merges proposed code edits into existing source and returns the complete updated code. Compared with Morph V3 Fast, it targets complex refactors where merge accuracy matters more than speed.

Prompts to try with Morph V3 Large in Hermes

Copy an example into Hermes, or ask in your own words.

Every morning, use Morph V3 Large to merge approved bug fixes from the incoming code-change queue. Require complete current source and a specific update for each item, then send the merged code through the existing validation workflow.

Morph V3 LargeHermes
Try asking
  • Each night, collect approved edits targeting the same code module in the maintenance feed. Combine them into one update, use Morph V3 Large to merge it with the supplied current code, and retain the result for review.

  • Every weekday, process the approved type-annotation changes in the incoming queue with Morph V3 Large. Preserve unchanged code through explicit markers and submit the complete merged results to the type checker.

  • Once a week, use Morph V3 Large to merge the prepared refactors in the review queue. Process each complete source-and-update pair separately, then run the designated checks before accepting a result.

  • Every evening, inspect queued updates for omitted markers around code that should remain. Correct those updates using their approved instructions, then use Morph V3 Large to merge them with the supplied originals.

How to set up Morph V3 Large in Hermes

Pick the way that suits you. Each takes about two minutes.

Use the Spiral skill

  1. Send Hermes this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use Spiral's MCP server

  1. Add the server and sign in

    Hermes opens your browser: sign in to Spiral and click Authorize. No API key. When Hermes asks Enable all tools? \[Y/n/select], answer Y: n cancels without saving the server, and select hides the tools you leave out.

    hermes mcp add spiral \
      --url https://api.spiral.ai/mcp \
      --auth oauth \
      --connect-timeout 300
  2. Check it

    In a chat that was already open, run /reload-mcp.

    hermes mcp list
    hermes mcp test spiral

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Morph V3 Large

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "openrouter",
        "model": "morph/morph-v3-large",
        "input": {
          "messages": [
            {
              "role": "system"
            }
          ]
        }
      }'

Then paste one of the prompts above: Hermes finds Morph V3 Large on Spiral, shows the price and runs it.

Morph V3 Large providers and prices

Spiral runs Morph V3 Large through OpenRouter. Open a card for today's price, with every fee included.

OpenRouterLLM
Morph: Morph V3 Large
morph/morph-v3-large

Settings you can ask for

Ask Hermes for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Logprobson or off
Max tokens1 to 131072

The most output tokens to generate.

Temperature0 to 2
Top logprobs0 to 20

Every API field of Morph: Morph V3 Large is on its tool page: open its card above.

What can you do with Morph V3 Large in Hermes?

Process queued code changes on a schedule with Morph V3 Large as the merge step. The scheduled agent can pair each approved update with current source and send the result through validation.

Apply a reviewed bug fix

Give Morph V3 Large the current source and a prepared fix, such as a null check before session creation. Return the complete updated code for review.

Merge a complex refactor

Apply a prepared refactor that changes several functions in one module. State the intended change explicitly and mark the sections that should stay.

Add type annotations

Merge proposed TypeScript annotations or Python type hints into existing code. Supply the intended signatures in the update rather than asking the merge step to design them.

Apply several review comments together

Combine prepared changes to the same source into one update. Review the merged result as a single change instead of applying each suggestion separately.

Process a maintenance queue

Have an agent prepare maintenance edits, then use Morph V3 Large to merge each update with its corresponding current source. Validate the results before accepting them.

Merge edits during a language migration

Apply prepared signature and call-site changes in languages such as Java, Go, or Rust. Keep the migration decisions in the planning agent and send specific updates for merging.

Questions about Morph V3 Large in Hermes

Can Hermes use Morph V3 Large?

Yes. Add Spiral to Hermes as an MCP server, and Hermes can find and run Morph V3 Large like any built-in tool.

How much does Morph V3 Large cost in Hermes?

Up to $0.010159 per run at the default inputs. $1.17 per 1M input tokens, $2.47 per 1M output tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Hermes plan is separate.

Do I need an OpenRouter account to use Morph V3 Large in Hermes?

No. Spiral runs Morph V3 Large on its own OpenRouter account. You sign in to Spiral once and never paste a key.

How long does it take to set up Morph V3 Large in Hermes?

About two minutes: add the server and sign in, then check it.

Does Hermes wait while Morph V3 Large runs?

Morph V3 Large runs in the background. Hermes starts the run, checks on it and gives you the text, json when it's ready.

What is Morph V3 used for?

Morph V3 applies proposed code changes to existing source and returns the complete updated code. Have your agent decide what to change and prepare the update before handing off the merge.

How does Morph V3 Large differ from Morph V3 Fast?

Morph recommends Morph V3 Large for complex refactors where merge accuracy matters more than speed. Morph V3 Fast targets quicker edit application.

What should a Morph V3 prompt contain?

Use <instruction> for the specific change, <code> for the complete original source, and <update> for the proposed edit. Mark unchanged sections with // ... existing code ... rather than silently omitting them.

Which programming languages can Morph V3 edit?

Morph documents code merging for Python, TypeScript, JavaScript, Go, Rust, Java, C++, Ruby, PHP, Swift, and Kotlin. Supply the original source and the proposed change in the same language.

How much code can Morph V3 Large handle?

Morph V3 Large has a 262,144-token context window and supports up to 131,072 output tokens. Budget for the complete updated source in the response, even when the requested edit is small.

Get started

Start using Morph V3 Large in Hermes

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Hermes:

Set up Hermes

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options