Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>Resonance StudioNew to Visual Studio Code? Get it now.
Resonance Studio

Resonance Studio

Narsill

|
11 installs
| (1) | Free
Resonance Studio: a developer suite for the Resonance inference network. Write protocols (code that runs on the network) from a template or from scratch, test them on the testnet, ship them through pipelines with your own gates, version and roll back, see who uses them, manage your nodes, and code w
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Resonance Studio

Resonance Studio brings the Resonance decentralized inference network into VS Code. It lives in the sidebar (open it from the Resonance icon in the Activity Bar) and gives you one place to build protocols (code that runs on the network), from a template or from scratch, and ship them through a test + deploy pipeline with gates you choose, with versions, rollback and usage you can see; watch the network, manage the nodes and clusters you own, build against the SDK, and code with an AI agent that runs on the network itself. The whole thing follows your editor theme, so it feels like part of VS Code rather than a web page bolted on.

Access

Resonance is invite-only, and Studio is tied to your account, not to this machine. The first time you open Studio without being signed in, you see a QR code instead of the app. Scan it with your phone (or open the link) to sign in to your Resonance account. Once your account is connected, Studio unlocks and stays unlocked. Access follows your account, so it works the same on every machine where you use the same API key.

What's inside

Overview: a live snapshot of the network (nodes online, models, workloads completed), a feed of recent activity, and your own connection, including the endpoint and whether an API key is present.

My Nodes: the nodes and clusters you own. Create and name logical nodes and clusters, rename or delete them, copy their ids, and group nodes into a cluster so it can mint a scoped inference token for each logical node.

Network: the nodes the network is running right now and every model it serves, each with a one-line description of what it is for.

Protocols: code that runs on the network — the fastest way to build on Resonance. A protocol is one JavaScript file defining async function run(ctx, input), plus a resonance.json beside it; ctx gives it the network's models (generate, generateMany, json), fetch to the hosts it declares, and log. Any folder with a resonance.json is a protocol, wherever it is in your workspace. Each step is one click — in the Protocols page or right above run in the editor:

  1. New protocol: start from a template that runs as is (hello, summarize, triage, council, wiki digest, extract) — it lands in protocols/<name>/. Writing one from scratch? Put a .js file that defines async function run(ctx, input) anywhere (its own folder is best). Studio spots it and offers ⚙ Make this a protocol above run (also in the Protocols page and on right-click). That writes resonance.json — with main set to your file and the permissions read from your code — and a first tests.json, and the file joins the pipeline.
  2. Test on testnet: every case in tests.json runs on this machine — in the node's own sandbox when the resonance CLI is installed, so it behaves exactly as on the network. Turn on mock models to test for free and offline. The network's save checks show up live as editor diagnostics.
  3. Deploy to my cluster: saves the code as a new version and deploys it to a cluster you own (Studio creates one with your node if you have none). Calls run on your nodes; it stays private until you publish. Run on network runs the tests there; Logs shows the last runs.
  4. Publish: anyone can read it, call it with their own key, and deploy it onto their own clusters. The Registry lists everything published: try it, run it on your nodes too, or fork its code into your workspace.

Pipelines. ⏵ Run pipeline runs the stages listed under "pipeline" in resonance.json in order and stops at the first one that fails. Without a "pipeline", it runs validate → testnet → deploy → network test, with a rollback if the network test fails. The stages:

stage what it does
validate the network's code and permission checks
testnet tests.json on this machine ("mock": true for free offline runs)
script any shell command in the protocol's folder, e.g. "command": "npm test"
approval waits for you to approve ("message")
deploy a new version on your cluster: "bump": "patch", "minor", "major" or "none", and a "note"
network-test tests.json on your deployed nodes; "rollbackOnFail": true puts the previous version back
publish lists it in the registry

Any test stage takes "gates": passRate (share of tests that must pass, 0–1), p95Ms (the slowest 5% of runs must stay under this) and maxCalls (most model + fetch calls in one run). Add "allowFailure": true to keep going past a stage. For example:

"pipeline": { "stages": [
  { "run": "validate" },
  { "run": "testnet", "gates": { "passRate": 1, "p95Ms": 4000 } },
  { "run": "script", "command": "npm test" },
  { "run": "deploy", "bump": "minor", "note": "faster prompt" },
  { "run": "network-test", "gates": { "passRate": 0.9 }, "rollbackOnFail": true },
  { "run": "approval", "message": "Publish it?" },
  { "run": "publish" }
] }

The panel shows each stage live and the last runs, with every gate's result. Runs are also saved in your node's folder, so resonance web → Network → Build shows the same pipelines, your deployed protocols, their versions, who calls them and which nodes run them.

Versions and usage. Every deploy that changes the code is a new version, with its release note. Versions lists them: compare any one with your code in VS Code's diff view, or roll the network back to it. Who uses it shows who calls your protocol and which nodes ran it. From any test result, Save as test adds its input (and output) to tests.json.

SDK: every method of the Resonance SDK, grouped by namespace, each with when to use it, its signature, and a runnable example you can insert into the editor or copy. If the SDK is not in your workspace yet, Studio offers to install it.

Elendil: an AI coding agent powered by a coder model running on Resonance. It reads, searches, writes, edits, moves and deletes files, runs commands, and can create, test and (when you ask) deploy protocols, decomposing your request into steps and verifying each change by building or running it. Anything that changes files, runs a command, or touches the network asks for your approval first (with a preview), unless you turn on auto-approve. It keeps a searchable history, picks up the file you have open as context, and shows which node served each request.

Getting started

  1. Open Studio and sign in with your Resonance account (see Access above).
  2. Install the SDK in your project with npm install resonance-sdk, or let Studio do it from the SDK page.
  3. Build: open Protocols → New protocol (or write your own .js and press ⚙ Make this a protocol), then ⏵ Run pipeline. Or insert an example from the SDK page, or just ask Elendil.

Settings

  • resonance.baseUrl: control-plane URL (default https://net.narsill.io).
  • resonance.accountUrl: the account site the access QR links to for sign in (default https://application.narsill.com).
  • resonance.apiKey: your Resonance API key or cluster-scoped token, kept in your settings and sent only to the control plane.
  • resonance.nodeId: a node you own that you want to manage from here.
  • resonance.nodeHome: override the node home directory.
  • resonance.vibecodeAutoApprove: let Vibecode act without asking each time (off by default).

License

Apache-2.0

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