Sr. Content Developer at Microsoft, working remotely in PA, TechBash conference organizer, former Microsoft MVP, Husband, Dad and Geek.
165770 stories
·
33 followers

GoLand Intelligence Now Available in Cursor and VS Code

1 Share

What if you could use GoLand’s language intelligence outside the IDE, across multiple development environments? Today, we’re taking the first step toward making this possible by releasing a public preview of the Go by GoLand LSP – an extension for VS Code-based editors, including Cursor. This will bring GoLand intelligence beyond the IntelliJ Platform, making it available to all developers, whatever their workflows look like. In this announcement, we’d like to share what the Go by GoLand LSP is, why we’re releasing it now, and what we have planned for the future.

Go by GoLand is an extension for VS Code-based editors based on language server and debug adapter protocols (LSP and DAP). These open protocols allow code editors and agents to use language-specific features for editing and debugging independently of any particular development environment. This way, developers can benefit from the language intelligence and tools they know from dedicated IDEs, such as GoLand, in general-purpose editors, such as VS Code.

This public preview is a free Beta version that provides some of GoLand’s capabilities (more on that in What you can do in this preview). We’re releasing it to the public to gather your feedback on its performance and hear your feature requests, so that we can continue our work on this project in a way that meets your real needs.

Code happens in more than one place

As new tools and workflows emerge, development keeps happening in more than one place. In 2026, almost all Gophers (98.2%) use coding agents1, and 82% of them work with agents across two or more surfaces: the IDE, a terminal, or remote cloud environments1.

While we recognize this shift toward agentic development, we believe one thing hasn’t changed and will not change: It’s still the developers who own the resulting code and take responsibility for it. Only 8% of Go developers rarely or never review AI-generated code1. For those who do, strong language support is still essential, and that’s where a deep understanding of Go matters the most.

For years, GoLand has been appreciated for its superior project-wide search, indexing, refactoring, and debugging capabilities, especially in large codebases and monorepos. As these features become increasingly more important for navigating and understanding the code you own, we believe all developers should have access to them – wherever they Go.

That’s why we want to bring GoLand intelligence beyond the IntelliJ Platform. Making it available in VS Code-based editors is the first step on that journey.

Understanding the whole project

JetBrains, and the Go Ecosystem team in particular, have extensive experience working with customers who have very large codebases or monorepos spanning millions of lines of code. This is the scenario where we know GoLand offers the most value. When developing the Go by GoLand LSP, we focused on what we know best: providing a reliable and reasonably fast experience in projects of all sizes without overconsuming resources.

Our LSP analyzes the project as a whole, not in isolated pieces, so it can provide complete information about the project and its context.

We benchmarked the LSP on a repository with almost 93 million lines of code across 34 modules, more than double the size of the Linux kernel. In our tests, jumping to a definition was virtually instant at 11 ms, which is faster than a single frame on a 60 Hz display. Finding every implementation across all 34 modules took 13 seconds, and the server used 833 MiB of memory throughout, roughly 5% of a 16 GB laptop’s RAM.

We’re continuing to measure and improve our LSP benchmarks.

What you can do in this preview

As this is the first public preview of the Go by GoLand LSP, its capabilities are currently limited. We’ll be adding more features in later builds. We rely on your feedback to learn which features you would find most helpful, so we can prioritize them.

At the moment, the LSP supports:

  • Code navigation: Jump to definitions and implementations, find all usages, and explore call and type hierarchies across your entire project.
  • Code analysis: Catch problems with inspections, including data flow analysis, and apply quick-fixes.
  • Refactoring: Rename and move symbols safely across the codebase.
  • Running: Build and run Go packages, save launch configurations for repeat runs.
  • Debugging: Set breakpoints, step through code, and inspect variables.
  • Testing: Run and debug tests directly from the editor.
  • Signature help: get suggestions as you type, see call parameters while you fill in its arguments.
  • Documentation on hover: Hover over a symbol to read its documentation without leaving your code.
  • Code completion: Get suggestions for references, import paths, package names, keywords, method receivers, and more.

You can find the full, up-to-date list of features in the documentation.

How to get started

If you’d like to try any of these features, here’s how to start using the Go by GoLand LSP in Visual Studio Code or Cursor:

  1. Install Go and make sure that the go executable is in your system PATH.
  2. Disable the Go extension by the Go team if you have it, because two language servers on one file give you duplicate results.
  3. Open the Extensions view in Visual Studio Code or in Cursor, search for Go by GoLand, and click Install.
  4. Open any Go file in your project, and the extension immediately imports your modules and analyzes the project.

When you open a Go source file for the first time, the End User License Agreement (EULA) opens in a separate editor tab. Accept the agreement to use the extension. If you close the tab without accepting the agreement, it opens again the next time you open a project.

Licensing

During the preview period, you can use the extension for free without a license. Each preview build expires 30 days after its release. To renew the evaluation period, you have to install a newer preview version.

What’s next

Not only people can benefit from the code intelligence you could previously find only in GoLand. It can make coding agents more efficient, too, by cutting costs, speeding up development, and improving code quality. That’s why we’re working to make it easier for agents to use this extension as well.

We’ve already seen this approach bring material improvements at Netflix, where benchmarks showed that an integration with a JetBrains’ code engine helped agents complete real programming tasks using fewer tokens and less time. Stay tuned for more updates!

Help us decide what comes next

The public preview is now available for free in VS Code and Cursor. We encourage you to try it on your project and look forward to hearing your feedback about what works well, what doesn’t, and what we should include next. You can share your thoughts on the GoLand Slack channel or using this form.

Please remember that while we’ve made every effort to ensure the extension is suitable for regular development work, it is still a pre-release that may contain bugs. Reporting issues you experience in your workflows will help us deliver a stable 1.0 release.

Thank you for helping us bring GoLand intelligence wherever you Go.


Happy coding,
Sergey Larionov

Head of Go Ecosystem at JetBrains

1 JetBrains State of Developer Ecosystem Report 2026

Read the whole story
alvinashcraft
17 seconds ago
reply
Pennsylvania, USA
Share this story
Delete

YouTrack Adds More Ways to Use AI on Your Terms

1 Share

YouTrack 2026.3 introduces Ask YouTrack, a new built-in agentic AI chat, where you can ask questions in natural language and take action on tasks, tickets, and articles. You can connect your preferred AI models, and administrators can monitor token usage by user. While this release expands what you can do with AI in YouTrack, using it remains optional. Organizations that prefer to work without AI can disable it entirely. 

For teams that work with Slack, the YouTrack Slack app can now use AI to create tasks from threads. We’ve also simplified MCP setup, so teams can connect YouTrack Cloud to Claude and ChatGPT directly through their respective directories, without manual configuration.

Beyond AI, discover improved planning with Whiteboards and Gantt charts, an enhanced reporter experience in YouTrack Helpdesk, and new YouTrack apps from JetBrains Marketplace.

AI on your terms

As we shared in our AI vision blog post, we believe whether and how to use AI should be your decision, not ours. YouTrack doesn’t push AI into every workflow. You can choose the capabilities that meet your needs or turn AI off entirely.

This release expands your options. Two ways to work with AI in YouTrack are already available: MCP connections that let you work with YouTrack from external AI tools, IDEs, and agents, and the built-in AI Assistant that helps you summarize content and write faster. Now there’s a third: Ask YouTrack, an agentic AI chat built into YouTrack, with a choice of providers and models to fit your organization’s policies and budget.

Ask YouTrack: Your built-in agentic AI chat

Ask YouTrack can assist you right where you work in YouTrack. It supports models from OpenAI, Anthropic, and Google, as well as local models compatible with these providers. 

Because Ask YouTrack is built into the product and works directly with your YouTrack context, it uses tokens more efficiently than a setup that runs entirely through MCP. It currently supports actions involving tasks, tickets, and articles, with more capabilities coming soon.

Manage tasks, tickets, and knowledge in one chat

Find and organize tasks across projects

Search across projects, get answers, and gain insights into ongoing work using natural-language prompts. For example, software teams can use Ask YouTrack to find unresolved bugs related to an upcoming release and group them by feature or subsystem. The results can then be visualized and summarized in an article for everyone involved in the release.

Turn answers into work actions

While reviewing a task, for example, managers can ask what’s holding the task up and get an answer based on the available YouTrack context. They can then switch to the full-screen chat to organize workloads, review deadlines, and reassign tasks in bulk. Chats are saved, so you can return to them later.

Manage tickets and reply to customers

Support agents working with helpdesk projects can use Ask YouTrack to find tickets by customer or request category, assess ticket status based on comment threads, send public replies to customers, or add internal comments – all without leaving the chat.

Find company knowledge

Use Ask YouTrack to search your Knowledge Base and understand how teams and processes work across the company. For example, with a single prompt, colleagues can find the right person to contact, learn how things are organized, or get answers to common onboarding questions.

Use leading AI providers, your own API keys, or a custom model

On the AI Features page, administrators can choose OpenAI, Anthropic, or Google as their AI service provider, then select a specific model or use the recommended option. They can connect a JetBrains AI subscription, use their own provider API key (BYOK), or add a custom or locally hosted model compatible with one of the three providers. To help you get started, paid YouTrack Cloud subscriptions include a weekly allowance of AI credits.

Keep AI usage and credit spending under control

See how your team uses AI 

Administrators can monitor team members’ AI quota usage on the AI Features page. Usage for the current month is broken down by user and feature, including Ask YouTrack, AI Actions, link suggestions, and comment suggestions. Free quota usage is shown as a percentage, with a breakdown of how that quota is used across features. For paid connections, YouTrack also shows estimated costs based on usage. Paid connections show estimated costs, while free quota usage is shown as a percentage. Actual charges may vary depending on your provider’s pricing. 

Built-in writing assistance – including grammar and spelling correction, text completion, and text recognition in uploaded files – remains free, does not consume quota, and runs exclusively on JetBrains infrastructure, powered by JetBrains AI.

New AI credit pricing for YouTrack Cloud and Server

Starting with this release, the built-in AI Assistant, which helps you summarize context and write text faster, uses a new pricing model. A limited number of AI credits are now included and replenished weekly with paid YouTrack Cloud subscriptions. YouTrack Cloud and YouTrack Server customers on free plans or with active paid subscriptions can access paid credits through a connected JetBrains AI subscription or use BYOK.

Expanded integrations for AI-assisted work in Slack, Claude, and ChatGPT

Task creation from Slack threads

The YouTrack Slack app can now use AI to create tasks from threads. For example, product teams can mention @YouTrack in a channel to turn a conversation into a feature request and specify what the task should include. Beyond AI, the Slack app can send you direct-message notifications about task and ticket updates and show task and article previews when you share YouTrack links.

Simpler YouTrack MCP setup for Claude and ChatGPT

In addition to OAuth authorization for compatible MCP clients, you can now connect YouTrack Cloud to Claude and ChatGPT directly through their respective directories. These connections let you work with tasks, tickets, articles, and project context without configuring MCP manually. The ChatGPT connection is available for Business, Enterprise, and Edu workspaces. Users on Pro and Plus plans can connect through MCP by adding a custom plugin.

If you prefer the terminal, the open-source YouTrack CLI is now available through package managers. Use it to manage work from the terminal, automate CI pipelines, and make AI agent workflows more token-efficient.

Whiteboards: Richer visuals and easier collaboration

Add visual context with images, frames, and lines

You can now upload or paste screenshots, mockups, and other images directly into your boards. Frames let you group related cards, tasks, and articles by project stage or arrange them in a Kanban-style layout. You can also draw lines to connect work items, with more shapes coming soon.

Clone boards and manage access

You can now clone whiteboards and reuse existing layouts for recurring planning sessions, roadmaps, or retrospectives. Whiteboards now also support keyboard shortcuts for faster editing.

New permission controls let administrators manage access to whiteboard content and settings separately. Team members can add and organize content, while only users with configuration access can change the board’s settings and sharing permissions.

Find and import content more easily

Improved search and import make it easier to find and add tasks, articles, and linked tasks directly to your boards. When you need to view tasks as a list, you can add native issue lists alongside other available YouTrack widgets.

Gantt chart improvements for flexible planning

Plan around deadlines and milestones

We’ve improved the Gantt chart experience – from initial planning to managing ongoing work. You can now configure a chart using three planning modes. When a project has a fixed release, delivery, or customer deadline, plan backward using task end dates and estimates. For projects with more flexible timelines, schedule tasks using start dates and estimates. If you already know both dates, start with the Start date and end date planning mode. 

As your team makes progress, add milestones to highlight approvals, releases, and other important events. Mark tasks as milestones manually or automatically based on a field value or tag. You can also display selected custom fields, tags, and assignees for each task directly on the Gantt chart.

Navigate daily work and long-term plans

During project reviews, you can now jump to the current date to compare ongoing work with upcoming deadlines. Pan across the schedule and zoom between a detailed weekly view all the way out to  monthly, quarterly, and yearly overviews.

Improved reporter experience in YouTrack Helpdesk

More customers who already use YouTrack to manage projects and maintain documentation are also adopting YouTrack Helpdesk for support requests. Based on highly requested features, we’re continuing to improve YouTrack Helpdesk and making it easier to migrate from Zendesk, Trengo, and other helpdesk platforms. This release focuses on enhancing the experience for your reporters, including external customers and internal service desk users.

Send attachments in email notifications

Email notifications can now include files attached to tickets, tasks, and comments. Reporters can open screenshots, receipts, equipment photos, and other supporting materials directly from their email inboxes without opening the ticket in YouTrack. If you restrict a file’s visibility, only users with access will receive it by email. Files larger than 10 MB are included as links.

Manage email notifications for reporters

Administrators can now choose which built-in notifications reporters receive in each helpdesk project, reducing unnecessary emails. They can disable notifications for ticket creation, new public comments, and automated ticket reminders. For example, reporters can get an email when an agent replies in a public comment, but not when an agent creates a ticket on their behalf.

Set up new email channels faster

Administrators can now reuse an existing mailbox server to add another email channel without configuring the connection again. This is useful when Helpdesk expands to more products, departments, or service teams. We have also improved the email channel setup interface.

New YouTrack apps and developer updates

Develop YouTrack apps with AI agents

We’ve released the YouTrack Apps Agent Skill and an updated CLI for a smoother development experience with AI agents. You can build YouTrack apps and workflow rules directly in your IDE instead of relying only on the built-in editor. An agent can draft an app in minutes and keep its code in Git, while the CLI uploads it directly to the target YouTrack instance and project. This helps app developers deliver customizations and integrations for their own teams or clients several times faster. 

See how it works in this hands-on example from the YouTrack Reddit community, or hear from msp AG, an Honored YouTrack App Creator, about their experience building apps with AI agents. Read the msp AG case study to learn how the team replaced Jira add-ons with custom YouTrack apps after migrating to YouTrack.

“Building apps for YouTrack requires detailed knowledge of the YouTrack API and architectural planning, plus general technical understanding, but not necessarily deep programming knowledge. As a vibe coder, I managed to do most of this myself with some support from developers, and many tasks can be handled with Cursor, Windsurf, Junie, or other coding agents.”

Julian Radünz Team Lead, Professional Services, MSP AG

Discover new apps from YouTrack Certified Partners and independent developers

The number of YouTrack apps on JetBrains Marketplace has almost doubled in just over half a year. Some apps add entirely new capabilities to YouTrack, while others make everyday work easier with smaller enhancements. Most apps are free, with paid options available for teams that need more advanced functionality.

Plan team capacity and project timelines

Panorama by twenty20 adds professional resource and capacity planning to a dedicated page in YouTrack. View your team’s workload on a timeline, compare planned hours with available capacity, and reschedule tasks by dragging and dropping them. The app is free during Early Access.

Calendar by twenty20 gives you a personal calendar in YouTrack to organize your project activity by date. Choose which projects and sprints from Agile boards to include. You can even switch between day, week, month, and year views.

Sprint Capacity Planner by Nikita Koval lets managers plan sprints around each person’s availability, drag and drop tasks from the backlog to assign them to team members, and create a new sprint in one click.

One Roadmap by Alex Basis lets you plan project work on a timeline by week, month, or quarter. Project managers can map existing date fields to the timeline and schedule tasks that don’t have exact dates yet.

Manage checklists and personal productivity

Checklists for YouTrack by Appfero turns recurring steps into reusable checklists for tasks and articles. Start with built-in templates or create your own, mark key steps as required, and keep tasks unresolved until their checklists are complete. This paid app includes a free 30-day trial.

Checklist Pro for YouTrack by Checklist Pro Labs gives each issue type, such as Task or Bug, its own checklist with required steps. The corresponding template is then automatically applied to new issues of the same type.

Real Quick Notes by J&J Ideenschmiede lets you keep quick notes, reminders, and to-dos directly on your YouTrack dashboard. The widget automatically saves everything you type. 

Configurable Issue List by Testcase lets you organize and access issues directly from your dashboard with the Dynamic Issue Table widget. Use a saved search or type in your own query. You can also choose which columns to display and filter the results.

Enhance task content with custom field layouts, warnings, and more

Fieldwise by twenty20 helps you organize long lists of custom fields more conveniently by arranging them into groups, tabs, and columns. Project admins can drag and drop fields to customize the layout, while team members edit values in place.

Fields+ by Medeu IT keeps key task details in view by showing the fields that matter most, such as priority, state, and assignee, right below the task summary. The free version uses one shared field list across all selected projects.

Lock by Marcus Christensson protects resolved tasks and Knowledge Base content from further edits by making them read-only until someone reopens the task or unfreezes the article.

Callouts by Maksim Fedorov makes warnings, tips, and key notes stand out in tasks and articles by writing GitHub-style alerts or using an editor toolbar.

Diffyt by Marcus Christensson lets you compare any two versions of a task or article line by line to see exactly what changed.

Track time and report on workloads

Effort Level Monitor by msp AG lets you know when a task takes longer than expected. Set time thresholds for each project, track logged time by effort level, and notify stakeholders with templated comments.

Adeptask Time Tracker by Adeptask lets you track time across several tasks with one-click timers that pause automatically when you start tracking another work activity. The app is free for up to 10 users, with a free 30-day trial available.

Adv.Weekly Report by mag1.cc lets you review your work week by week. Split a YouTrack search into calendar weeks on your dashboard and export weekly data to Excel for your status reports.

Enhance YouTrack administration capabilities

Instance Insights by Ninjaneers GmbH gives administrators a score out of 100 showing how well their instance has held up over time. The report can be exported or displayed on a dashboard.

Who Can Do What by Ninjaneers GmbH lets administrators see who holds which permissions across every project, group, and role. A dedicated YouTrack page lets them review access, mark permissions that should be removed, and export the results for an audit.

Adv.KVStore by mag1.cc lets you store settings, cached results, and sync state globally or per project through an HTTP API. Save data between app and workflow runs. 

Other enhancements

This release also brings improvements to the Notification Center, user profile and administration pages, time-tracking controls, and app configuration and management.

 

Check out the release notes for the full technical details and a comprehensive list of this release’s bug fixes and improvements. For more details on configuring the latest features, see the documentation.

If you use YouTrack Cloud, you’ll automatically be upgraded to YouTrack 2026.3 in accordance with our Maintenance Calendar.

If you have an active YouTrack Server subscription, you can upgrade to YouTrack 2026.3 today.

If you don’t have an active YouTrack subscription, you can use the free YouTrack for up to 10 users to test out the new version before you commit to buying!

For more information about the licensing options available for YouTrack, please visit our Buy page.

Your YouTrack team

Read the whole story
alvinashcraft
55 seconds ago
reply
Pennsylvania, USA
Share this story
Delete

Mellum2.1 Instruct Is Out, Bringing Faster Answers for Coding Agents

1 Share

The faster sibling of Mellum2.1 Thinking, built for sub-agents, tool loops, and chat.

In October, we released Mellum2.1 Thinking, an open 12B mixture-of-experts model with 2.5B active parameters, trained to work as a coding agent. Today, we are releasing its sibling, Mellum2.1 Instruct. It is built on the same architecture and trained identically, but it gives straight answers without including its chain of thought.

What sets Mellum2.1 apart from Mellum2 is its post-training phase: large-scale reinforcement learning on repository-level tasks in real environments, built on NVIDIA NeMo open-source training libraries – NeMo RL and NeMo Megatron-Bridge for efficient large-scale distributed training.

As promised, this October we released the multi-token prediction (MTP) head for Mellum2.1 Thinking, making token generation up to 1.8x faster. Mellum2.1 Instruct is released together with its MTP head.

Try Mellum

Why an Instruct model, and when to use it

Reasoning models, such as Mellum2.1 Thinking, are a good fit for tasks that require a step-by-step approach, like finding the root cause of a failing test. But much of a coding agent’s work is simpler, like a small fix, a command to run, or a question about the code. In these cases, reasoning adds time and computing resources without adding quality.

This is especially true when the model runs locally – every extra thinking token adds to the time you’re waiting. After the Thinking release, we received many requests from the local-inference community for a more concise model for moderately hard tasks.

That is where Mellum2.1 Instruct fits in – either on its own or as the fast worker next to a stronger model. On agentic coding tasks, it generates about half as many tokens as the Thinking variant and performs almost as well on SWE-bench Verified. On hard algorithmic and math problems, such as those in LiveCodeBench and AIME, thinking is crucial, and so Mellum2.1 Thinking remains the better choice.

Performance on benchmarks

We compared Mellum2.1 Instruct with its predecessor, Mellum2 Instruct, and two open models in the same class, Qwen3.5 9B and Gemma 4 E4B, both with thinking turned off.

The biggest gain is on the agentic benchmark SWE-bench Verified, where the score doubled compared with the previous Instruct release. The new training also improved code generation, where Mellum2.1 Instruct now leads the group, and multi-step tool use, where it is level with Qwen3.5 9B.

Qwen3.5 9B scores higher on SWE-bench Verified, but Mellum2.1 activates only 2.5B parameters per token. As a result, it generates tokens about 1.4x faster than Qwen3.5 9B for a single request and about 1.8x faster under load, as shown in our October post.

Bar charts of six benchmarks (SWE-bench Verified, MultiPL-E, ToolHop, WorkBench, IFEval, AIME 25/26) comparing Mellum2.1 Instruct with Mellum2 Instruct, Gemma 4 E4B and Qwen3.5-9B. Mellum2.1 Instruct scores higher than Mellum2 Instruct on all six, by 4.2 to 28.8 points.

How we trained it

Mellum2.1 Instruct went through the same two reinforcement learning stages as Thinking. First, it learned to solve standalone tasks in code, math, tool use, and instruction following. Then it learned to work as an agent in real repositories, using shell and file tools inside a sandbox and being rewarded only when the hidden tests passed.

We made two adjustments for Instruct. We tuned the length penalty for a model that answers without thinking, which keeps its answers concise and reduces the number of tokens without sacrificing quality. We also brought generation and training into closer agreement, which makes training more stable.

Both stages are built on NVIDIA NeMo open-source training libraries. NeMo RL, a post-training library, runs generation and training asynchronously, and NeMo Megatron-Bridge handles the weight updates across the large-scale distributed clusters of NVIDIA H200 and B300 GPUs. Together they let a single run collect about half a million agent trajectories from 10,000 concurrent sandboxes.

This release builds on open research, frameworks, and datasets. That is why Mellum2.1 is also open for others to build on.

Get started with Mellum2.1

Both variants of Mellum2.1 are available on Hugging Face under Apache 2.0. Each one also comes in two additional versions:

  • GGUF files for running the model on your own machine (Instruct, Thinking).
  • A multi-token prediction (MTP) head that makes generation up to 1.8x faster (Instruct, Thinking).

If you’re building coding agents, sub-agents, or AI tools that run on your own infrastructure, we’d love for you to try Mellum2.1. Tell us what works and what doesn’t in the comments below or in discussions on Hugging Face. Your feedback will shape the next version.

Try Mellum

Read the whole story
alvinashcraft
1 minute ago
reply
Pennsylvania, USA
Share this story
Delete

Style Queries as Conditional Modifiers

1 Share

Where style queries shine is when the condition and the styles need to live in different places, or when one condition needs to affect several things at once: components that keep working, and adapt sensibly, no matter where they end up.


Style Queries as Conditional Modifiers originally handwritten and published with love on CSS-Tricks. You should really get the newsletter as well.





Download video: https://css-tricks.com/wp-content/uploads/2026/11/20261116-1529-04.2595129.mp4



Download video: https://css-tricks.com/wp-content/uploads/2026/11/20261116-1805-50.4019984.mp4



Download video: https://css-tricks.com/wp-content/uploads/2026/11/20261116-1806-51.3692784.mp4
Read the whole story
alvinashcraft
1 minute ago
reply
Pennsylvania, USA
Share this story
Delete

Benchmark LiteRT.js Without Confusing WebGPU with a Faster App

1 Share

A browser benchmark can produce an impressive number while measuring only the easiest part of the experience. Timing one inference call can hide runtime loading, model transfer, compilation, initialization, output readback, and the work the surrounding interface must still perform.

For a feature used once during a form submission, those costs may matter more than its tenth inference. For a continuously running camera feature, repeated inference may dominate. The benchmark needs to match the interaction.

This walkthrough builds a small LiteRT.js harness that can request Wasm or WebGPU execution for the same model. It records the phases separately, preserves raw samples, and keeps backend configuration distinct from user-perceived speed. It does not assume that requesting the GPU means every operation ran there, or that a result from one machine predicts every device.

Fix the workload before changing the accelerator

The companion pins @litertjs/core to 2.6.0 and downloads Google’s MobileNetV2 demo model. The downloaded file is 14,020,256 bytes. Its SHA-256 is recorded in the supplied model manifest, so someone repeating the experiment can verify that the weights have not changed.

The harness uses one deterministic floating-point tensor. That makes the input identical across accelerator runs and avoids including image decoding in an inference-only measurement. It is deliberately not an image-recognition accuracy benchmark.

For a product evaluation, add a separate dataset of licensed images and a verified preprocessing pipeline. A model can return finite numbers for incorrectly normalized input. Output shape and absence of exceptions are useful smoke checks, not evidence that the classifier understands the images.

Keep initialization visible

LiteRT.js separates loading its runtime from loading and compiling a model. Fetch the model explicitly when you want its transfer time to remain visible.

await loadLiteRt("/wasm/");
const response = await fetch("/model.tflite");
if (!response.ok) throw new Error("Model download failed.");
const bytes = new Uint8Array(await response.arrayBuffer());
const model = await loadAndCompile(bytes, { accelerator });

The complete harness timestamps each phase and hashes the downloaded bytes outside the compilation interval. It reads the model’s input details rather than silently assuming a tensor layout. The example rejects models that do not have a single float32 input.

The supplied preparation command copies the runtime assets from the installed package. This keeps the JavaScript and Wasm versions aligned. Loading JavaScript from one release and Wasm from an unversioned CDN URL would introduce an avoidable variable.

Model identity and input are fixed before separate Wasm and WebGPU runs record initialization, inference, samples, and output checks.

Figure 1. Change the execution request while keeping the model and input fixed.

Include output readback in the timed operation

The example measures a result that JavaScript can actually inspect:

const start = performance.now();
const outputs = await model.run(input);
try {
  const data = await outputs[0].data();
  for (let i = 0; i < data.length; i++) {
    if (!Number.isFinite(Number(data[i]))) {
      throw new Error("Non-finite output.");
    }
  }
  return performance.now() - start;
} finally {
  outputs.forEach(output => output.delete());
}

Output transfer can matter when comparing an accelerator with CPU execution. If you exclude it, label the metric accordingly and explain why the application can avoid that transfer.

Release input tensors and the compiled model after the benchmark as well. Otherwise, repeated experiments can accumulate resources and change the environment you think you are holding constant.

Separate the first run from the warm runs

The harness records the first inference, performs three additional warmups, then retains ten measured samples. It reports the median without discarding the underlying observations.

Recorded value Question it helps answer
Runtime load time How long did runtime initialization take?
Model fetch time and bytes What did obtaining the weights cost?
Compilation time What did preparing this backend cost?
First inference What happens before the runtime is warm?
Ten warm samples How variable is repeated execution here?
Output sample and length Did both runs produce comparable numerical output?

Ten samples are enough to inspect the harness, not to make a strong population-level tail-latency claim. Repeat whole sessions, alternate backend order, and report device conditions before drawing a performance conclusion.

Reload the page between accelerators. A reload resets the page’s runtime but does not necessarily clear the HTTP cache, operating-system caches, or driver caches. Describe the cache condition rather than calling every reload a cold start.

Check what WebGPU actually means in the run

The WebGPU branch first requests an adapter. If none is returned, it records an unsupported result instead of inventing a zero-duration measurement or quietly labeling a Wasm run as GPU execution.

LiteRT’s documentation notes that unsupported accelerated operations can fall back to CPU. Therefore, the requested accelerator is configuration evidence, not a complete execution profile. Capture available adapter information and use runtime diagnostics when making claims about where computation occurred.

A software adapter in a headless environment is also a different subject from a physical laptop GPU. Keep that distinction in the results table.

Run and interpret the experiment

From the companion’s lab directory, run npm ci, npm run prepare:model, and npm run build. Start npm run preview, open /benchmark.html, and run one accelerator per reload. Preserve the JSON output from each run with the browser and machine details.

The Wasm harness completed in Headless Chrome 153 on a virtualized Linux host: it accepted a [1, 3, 224, 224] input and returned 1,000 finite values through the first run, warmups, and ten measured runs. The raw JSON is included as an execution check. GPU execution was disabled in that environment, so these observations establish no WebGPU-versus-Wasm speed ranking. Hardware runs and an application-level responsiveness measurement remain necessary before recommending a backend for a real feature.

For the latter, measure an actual interaction while inference runs: typing into a field, opening a panel, or scrolling through results. A fast model invocation can coexist with a poor page experience if preprocessing or rendering blocks the main thread.

Which cost dominates your feature: obtaining the first useful answer, repeatedly processing frames, or keeping the surrounding interface responsive?

References

Read the whole story
alvinashcraft
1 minute ago
reply
Pennsylvania, USA
Share this story
Delete

MCP Is Just Another API Design Pattern

1 Share

I keep having to remind people that the Model Context Protocol isn’t a new kind of thing that replaces your APIs. It is an API. An MCP server is an abstraction layer on top of your APIs, using a handful of familiar patterns. Tools are the actual APIs. Resources are the documentation and other information that help. Prompts are the questions you feed in. Underneath, it is just APIs, and your MCP server is only as good as the API infrastructure below it.

Once you see it that way, the question stops being “do we have an MCP server?” and becomes “how did we design it?”

There are a lot of them now

The APIs.io MCP catalog currently lists 6,089 MCP entries. When I gave my keynote in New York last month, the snapshot I was working from had 6,968 MCP entries, of which 4,041 were real servers and 3,321 were hosted endpoints. The numbers move as I clean the catalog, but the direction doesn’t. Everyone is shipping one.

Which means the interesting part isn’t whether a provider has a server. It is what is inside it.

One tool per operation is not a design

The easiest way to get an MCP server is to generate it from your OpenAPI, one tool per operation. That isn’t a problem on its own. You should be able to generate your MCP interface. But if you have 300 operations and you just generated 300 tools, you just now increased your sprawl. You took everything that was hard to navigate in your API and handed it to a client that has even less patience for it.

AI clients don’t think in operations. They think in tasks. “Resize this image and put it on a page.” “Refund this order and tell the customer.” Those tasks usually span several operations, and a well-designed tool spans them too. That is an API design decision, the same kind we have always made when deciding what a resource is, what goes in a response, and what a workflow should look like.

Generated, handcrafted, or evolved

When I rate MCP servers I look at whether they were generated, handcrafted, or an evolved version of one or the other. Especially when I can find the OpenAPI for the APIs behind a server, I can diff the design. If nothing was done beyond generating it, the server usually doesn’t have the resources, the prompts, a lot of the security and the metadata an agent needs to be successful.

Handcrafted servers are designed for the client. Evolved servers started generated and then got the attention they needed: tools consolidated around tasks, descriptions written for a model rather than a reference page, resources added, scopes mapped. Evolved is where most providers should be aiming, because it keeps the contract as the source of truth while admitting that a one-to-one mapping is a starting point and not a finished product.

Treat it like any other API

If MCP is just another API design pattern, then everything we have learned about APIs applies:

  • Design it. Decide which tasks your consumers need, then group operations into tools that do those tasks.
  • Govern it. Naming, descriptions, error responses, auth and scopes should follow the same rules as the rest of your APIs.
  • Contract it. Keep the relationship between tools and operations explicit, so you can see what each tool touches.
  • Version it. Tools change. Agents depend on them. Deprecation matters here as much as anywhere.
  • Measure it. Know which tools get called, which fail, and which never get used.

None of that is new work. It is the API lifecycle applied to one more interface.

API-first is the muscle that makes this easy

The providers that do this well are the ones who already have the muscle to design, iterate and ship new APIs quickly. For them, MCP is another surface to design, and they design it. For everyone else, it becomes another generated artifact sitting next to the SDKs that nobody maintains.

You can browse the servers in the APIs.io MCP section and see the difference for yourself. Look at the tool lists. You can usually tell within a minute whether someone designed the server or just ran a generator.



Read the whole story
alvinashcraft
2 minutes ago
reply
Pennsylvania, USA
Share this story
Delete
Next Page of Stories