Wasmer が Codex を活用してエッジ向け Node.js ランタイムを構築した方法
Wasmer は OpenAI の Codex を活用し、WebAssembly サンドボックス内で Node.js ランタイムを構築するプロジェクトを従来の 1 年がかりから 2 週間で完了させ、エッジコンピューティングにおける JavaScript 実行の新たな標準を確立した。
キーポイント
開発期間の劇的短縮
Codex の導入により、Node.js ワークロードを WebAssembly サンドボックスで動作させるという難易度の高いプロジェクトが、従来想定された 1 年間の開発期間からわずか 2 週間で完了した。
Docker 不要のエッジ環境
Wasmer が提供する「Edge.js」は、Docker コンテナを必要とせず、JavaScript アプリや MCP(Model Context Protocol)、エージェントを直接エッジ層で実行可能にする。
AI 活用による開発プロセスの変化
エンジニアはコードの記述そのものから離れ、Codex の推論能力を活用して「どこへ向かうべきか」を指示するガイド役へと役割を変化させ、開発速度が 10〜20 倍に向上した。
小規模チームによる大規模目標の達成
少人数かつ若手中心の Wasmer チームは、AI の力を借りることでリソース不足を補い、以前は不可能だった製品やプロジェクトを迅速にローンチできるようになった。
影響分析・編集コメントを表示
影響分析
このニュースは、AI コーディングアシスタントが単なる生産性向上ツールを超え、技術的ハードルが高いインフラストラクチャの開発そのものを可能にする段階に入ったことを示しています。特に Docker に依存しない軽量なエッジランタイムの実現は、IoT や分散型アプリケーションのアーキテクチャに大きな影響を与え、開発サイクルを劇的に短縮させる可能性があります。
編集コメント
Codex の推論能力が、単なるコード生成を超えてシステム全体の設計と実装を主導するレベルに到達した事例として注目すべきです。小規模チームが巨大なインフラプロジェクトを短期間で完遂できる点は、開発民主化の象徴的な出来事と言えます。
Wasmer のエンジニアたちは今年、画期的な突破を遂げました。WebAssembly サンドボックス内で Node.js ワークロードを実行する方法を見出し、Docker を使用せずに JavaScript アプリ、MCP(Model Context Protocol)、およびエージェントを実行できるようにしたのです。この取り組みは Codex がなければ 1 年かかったところですが、Codex を活用することでわずか 2 週間で完了しました。現在、Wasmer はエッジ層で完全な Node.js を提供する最初のクラウドホスティング企業となっています。
「私たちは実際には IDE そのものから離れています。コードを直接触るのではなく、望む方向へ導くだけです。」
—Syrus Akbary Nieto 氏、創設者兼 CEO
新たな意欲を持って構築する
Wasmer は若く小規模なチームを持つ企業ですが、大きな目標を持っています。それは、プラットフォームの制限なくローカルおよびグローバル環境にわたってスケーラブルなエッジコンピューティングプラットフォームです。
「私たちが取り組んでいるプロジェクトは非常に野心的であり、AI がなければ完成させるのに何年もかかったでしょう」と、Wasmer の創設者兼 CEO である Syrus Akbary Nieto 氏は語ります。「現在は、はるかにシンプルで迅速になりました。」
このシンプルさと速度が、画期的なプロジェクトへと直接結びつきました。それが Edge.js(新しいウィンドウで開く) です。これは AI およびエッジコンピューティング向けに Node.js ワークロードを実行できる JavaScript ランタイムです。
これはチームが長年取り組んできたプロジェクトでしたが、常にそれを行うためのリソースがあったわけではありません。「ここにいる全員は非常に技術的ですが、これらのプロジェクトに専念する時間がなかったのです。そして今なら、以前には不可能だった新製品を立ち上げることができます」と Nieto は説明します。
Codex を用いることで、Wasmer のエンジニアたちはその努力を何倍にも増やすことができます。「開発速度が少なくとも 10 倍から 20 倍に向上しました」と Nieto は言います。
「JavaScript ランタイムをわずか 2 週間で作成できました。AI も Codex もなければ、容易に 1 年かかっていたでしょう」
—Syrus Akbary Nieto, 創設者兼 CEO
言語とコードレベルを超えた推論
多くのチームと同様に、Wasmer のエンジニアたちは当初 AI に懐疑的でした。「最初は AI の出力をあまり信頼していませんでした」と Nieto は説明します。しかし、チームが実験を開始すると、その結果は期待を上回るものでした。「過去 1 年、特にここ数ヶ月間は Codex と共に作業を行ってきましたが、結果は本当に非常に良いものです」
Codex の推論能力が進化するにつれ、Wasmer のエンジニアたちが手取り足取り教えるのに費やす時間は次第に少なくなっています。「実際には IDE そのものから離れており、コードに触れる頻度も減っています。私たちが望む方向へ導くだけなのです」と Nieto は言います。
チームは、プロジェクトの初めから終わりまで、初期のアーキテクチャ構築ブロックの作成から最終製品の磨き上げに至るまで、Codex を一貫して活用しました。全体を通じて、Codex はチームがバグを発見し、その根本原因を特定するのを支援しました。
「私たちは、発生するとは想定していなかった特定のバグがありましたが、それらを発見し始めた瞬間、Codex が即座にデバッグに入り込みました」と Nieto 氏は語ります。「私たちにとって印象的だったのは、デバッグから根本原因の特定、そして解決策の導出に至るまでのスピードでした。」
通常、Nieto 氏によると、開発者たちはこれらのバグの多くを見つけるために特別な専門知識を必要とします。しかし、Codex については、「コンソールログをマスターして呼び出しを追跡し、アセンブリレベルでアクセスする低レベルデバッガーである LLD(Low-Level Debugger)を活用できる」と Nieto 氏は述べています。「Codex は非常に低レベルまで入り込み、コードの下で何が起きているかを把握できます。」
「C++ の専門家ではないため、私たちが知らない微妙な点もいくつかあります。しかし Codex はそれらをかなり早期に発見できました」
—Syrus Akbary Nieto 氏、創設者兼 CEO
不可能を現実的なものへ
Edge.js 以前について、Nieto 氏は説明します。当時、エッジで JavaScript ランタイムを実行することは不可能でした。そして Codex 以前であれば、Wasmer チームがこのように大規模かつ短期間のプロジェクトに取り組むことは不可能だったでしょう。
「Codex は、小規模な企業が大手企業でしか達成できないことを可能にしました。このプロジェクトは、これなしでは文字通り不可能だったはずです」と Nieto 氏は述べています。
野心をさらに高めたWasmerチームは、より大きなプロジェクトへと目を向けています。「今では以前には不可能だったことが実現可能になりました。さらなる挑戦的な課題に取り組む必要があります」とNieto氏は述べています。
原文を表示
Engineers at Wasmer experienced a breakthrough this year: They figured out how to run Node.js workloads inside a WebAssembly sandbox, enabling developers to run JavaScript apps, MCPs, and agents without Docker. This effort would have taken one year without Codex, but with Codex, it took two weeks. Now, they’re the first cloud host to provide full Node.js at the edge layer.
“We are actually moving out of the IDE itself. We’re not touching as much the code, we are just guiding it where we want it to go.”
—Syrus Akbary Nieto, Founder and CEO
Building with renewed ambition
Wasmer is a young company with a small team and a big goal: an edge computing platform that scales across local and global environments without platform restrictions.
“The kinds of projects that we are taking on are incredibly ambitious, and it would have taken us ages to do them without AI,” says Syrus Akbary Nieto, Founder and CEO. “Now, things are way simpler and faster.”
That simplicity and speed translated directly into a groundbreaking project: Edge.js(opens in a new window), a JavaScript runtime that can run Node.js workloads for AI and edge computing.
It’s a project the team had long wanted to take on, but they didn’t always have the resources to do it. “Everyone here is very, very technical, but we just didn't have the time to dedicate to these projects. And now, we can launch new products that would have been impossible before,” explains Nieto.
With Codex, Wasmer engineers can multiply their efforts. “We have increased development speed by 10x to 20x, at least,” says Nieto.
“We were able to create a JavaScript runtime in just two weeks. Without AI and without Codex, it would have taken us easily one year.”
—Syrus Akbary Nieto, Founder and CEO
Reasoning across languages and levels of code
Like many teams, Wasmer engineers were initially skeptical of AI. “We were not very trusting of AI outputs at the beginning,” explains Nieto. But when the team started experimenting, the results exceeded their expectations. “Over the last year, and especially over the last few months, we have been working with Codex, and the results have been really, really good.”
As Codex’s reasoning abilities evolve, Wasmer engineers spend less and less time with handholding. “We are actually moving out of the IDE itself, and we are not touching the code as much. We are just guiding it where we want it to go,” says Nieto.
The team used Codex from the very beginning of the project to the very end, from building the initial architectural building blocks to polishing the final product. Throughout, Codex helped the team find bugs and identify their root causes.
“There were certain bugs that we didn’t imagine we were going to have, and as soon as we started discovering them, Codex went directly into debugging,” Nieto says. “The impressive thing for us was seeing how fast it went from debugging to finding the root cause and identifying the solution.”
Typically, Nieto explains, developers would need special expertise to find many of these bugs. But Codex, Nieto says, “was able to master console logs to trace calls and a low-level debugger like LLD, which accesses things on the assembly level. Codex can get very low level, and see what is happening under the code.”
“There are certain subtleties that we don't know of because we are not experts in C++. Codex was able to spot them pretty early.”
—Syrus Akbary Nieto, Founder and CEO
Making the impossible practical
Before Edge.js, Nieto explains, it wasn’t possible to run a JavaScript runtime at the edge. And before Codex, it would have been impossible for the Wasmer team to take on a project this ambitious and with this timeline.
“Codex enabled a small company to achieve things that were only possible at big companies. This project literally would have been impossible without it,” says Nieto.
With their ambitions emboldened, the Wasmer team is looking ahead to even bigger projects. “Now, we have at hand things that were not possible before. We need to look at even more challenging problems,” says Nieto.
関連記事
NVIDIA XR AI を用いた AR グラスおよび XR デバイス向け AI エージェントの構築
NVIDIA は、クラウドやエッジで動作する GPU 加速 AI サービスと拡張現実デバイスを接続するための再利用可能な基盤「XR AI」を公開ベータ版として提供開始した。このオープンソースライブラリにより、開発者はユーザーの視界を理解し、意図を認識してエンタープライズツールを呼び出す知能型エージェントを構築できるようになる。
OpenAI Codex を活用した 5 つの楽しいプロジェクト
KDnuggets が紹介する記事では、OpenAI のコード生成モデル「Codex」を実際に使用して作成された 5 つの興味深いプロジェクト事例が紹介されています。
OpenAI、Codex のブラウザ操作機能に CDP サポートを追加(2 分読)
OpenAI は開発者向け AI コード生成ツール「Codex」に Chrome DevTools Protocol(CDP)サポートを導入し、JavaScript パフォーマンスのリアルタイム分析やウェブサイト改変を可能にした。ただしこの新機能は現在、早期アクセス限定で欧州経済地域・英国・スイスでは利用不可であり、パフォーマンス課題も残っている。
今日のまとめ
AI日報で今日の重要ニュースをまとめ読み