How to Use Muse Ember in VS Code
Muse Ember handles focused coding tasks, routing, and document extraction. Choose it for repeated execution; Muse Spark and Muse Wonder are better choices for hard one-shot coding and knowledge-heavy questions.
Prompts to try with Muse Ember in VS Code
Copy an example into VS Code, or ask in your own words.
Use Muse Ember to investigate the failing parser test in this project. Make the smallest relevant fix, run the parser tests, and report the change and actual results.
Use Muse Ember to port the date-normalization function from Python to TypeScript using the existing fixtures as the reference. Preserve its behavior and report any case that cannot be matched.
Use Muse Ember to inspect the request router and its tests. Classify the uncovered request examples using the existing routing rules and add tests for those examples.
Use Muse Ember to summarize the authentication module from its source and tests. List entry points, dependencies, and behavior that the tests establish, with file references.
Use Muse Ember to update the deprecated helper calls in the validation module only. Follow the replacement examples already in the project and run the relevant checks.
How to set up Muse Ember in VS Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
Use Add to VS Code on the console's Agents & MCP page, or run:
code --add-mcp '{"name":"spiral","type":"http","url":"https://api.spiral.ai/mcp"}' - Sign in
VS Code asks you to sign in when it first starts the server: sign in to Spiral and click Authorize. No API key. Run MCP: List Servers from the Command Palette to check that Spiral is running.
Use the Spiral skill
- Send VS Code this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run Muse Ember
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": "meta/muse-ember", "input": { "messages": [ { "role": "system" } ] } }'
Then paste one of the prompts above: VS Code finds Muse Ember on Spiral, shows the price and runs it.
Muse Ember providers and prices
Spiral runs Muse Ember through OpenRouter. Open a card for today's price, with every fee included.
Up to $0.002668 per run at the default inputs. $0.13 per 1M input tokens, $0.65 per 1M output tokens.
Settings you can ask for
Ask VS Code for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Seed | a whole number | ||
| Top k | a whole number from 0 | ||
| Top p | 0 to 1 | ||
| Max tokens | 1 to 943718 | The most output tokens to generate. On a reasoning model the reasoning tokens count toward it: a cap too low for the effort can end with no answer (finish_reason length). | |
| Temperature | 0 to 2 | ||
| Reasoning effort | minimal, low, medium, high, xhigh, or max | max | How much the model reasons. |
| Repetition penalty | 0 to 2 |
Every API field of Meta: Muse Ember is on its tool page: open its card above.
What can you do with Muse Ember in VS Code?
Turn a coding plan into focused repairs, test work, and bounded migrations with Muse Ember. Give each task the relevant files, permitted changes, and acceptance checks.
Focused code repairs
Give Muse Ember a failing check, the relevant code, and a narrow acceptance criterion. Ask for a targeted fix and the verification result.
Bounded code migrations
Use Muse Ember to port one function or module against a supplied reference and test suite. Define the interfaces and required behavior before requesting the change.
Support ticket classification
Have Muse Ember assign each ticket to a defined category and include a short supporting excerpt for review.
Request routing
Give Muse Ember the available handlers and their responsibilities. Ask it to select a destination for each incoming request and explain the selection briefly.
Document extraction
Ask Muse Ember to extract dates, names, obligations, or totals from supplied document text into a consistent JSON structure, with source references and missing values marked explicitly.
Document summaries
Use Muse Ember to summarize each supplied report with the same headings: findings, decisions, open questions, and supporting passages.
Record normalization
Have Muse Ember convert inconsistent text records into a defined structure. Supply normalization rules and require ambiguous entries to be flagged.
More on Muse Ember and VS Code
Overview
Muse Ember in other agents
Questions about Muse Ember in VS Code
Can VS Code use Muse Ember?
Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run Muse Ember like any built-in tool.
How much does Muse Ember cost in VS Code?
Up to $0.002668 per run at the default inputs. $0.13 per 1M input tokens, $0.65 per 1M output tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your VS Code plan is separate.
Do I need an OpenRouter account to use Muse Ember in VS Code?
No. Spiral runs Muse Ember on its own OpenRouter account. You sign in to Spiral once and never paste a key.
How long does it take to set up Muse Ember in VS Code?
About two minutes: add the hosted server, then sign in.
Does VS Code wait while Muse Ember runs?
Muse Ember runs in the background. VS Code starts the run, checks on it and gives you the text, json when it's ready.
What is Muse Ember best suited for?
Use it for focused work you repeat: coding subtasks, request routing, document summaries, and extracting information into a consistent structure.
When should I choose Muse Spark or Muse Wonder instead?
Meta recommends them for hard one-shot coding problems, knowledge-heavy questions, and visual coding. Give Muse Ember a narrower task when the broader problem needs those capabilities.
How much text can Muse Ember handle?
Meta documents a 1,048,576-token context window and up to 524,288 output tokens. Internal reasoning also consumes the output budget, so that maximum is not a promise of an equally long visible answer.
Can Muse Ember return structured JSON?
Yes. Use schema-constrained output for extraction and classification tasks that need a consistent JSON structure.
How much reasoning should I use?
Start with the lowest effort that passes your task checks. Leave enough output budget for both internal reasoning and the answer you need.
Start using Muse Ember in VS Code
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into VS Code:
set up https://spiral.ai/SKILL.md


