TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Modus, serverless framework for intelligent APIs powered by WebAssembly

22 点作者 mj15867 个月前
Modus is an open-source, serverless framework for building APIs powered by WebAssembly. It simplifies integrating AI models, data, and business logic with sandboxed execution.<p>We built Modus to put code back at the heart of development.<p>You write a function.<p><pre><code> export function sayHello(name: string): string { return `Hello, ${name}!`; } </code></pre> Then, Modus:<p>- extracts the metadata of your functions<p>- compiles your code with optimizations based on the host environment<p>- caches the compiled module in memory for fast retrieval<p>- prepares an invocation plan for each function<p>- extracts connections, models, and other configuration details from the app’s manifest<p>- generates an API schema and activates the endpoint<p>You query the endpoint.<p><pre><code> query SayHello { sayHello(name: &quot;world&quot;) } </code></pre> In a few milliseconds, Modus:<p>- loads your compiled code into a sandboxed execution environment with a dedicated memory space<p>- runs your code, aided by host functions that power the Modus APIs<p>- securely queries data and AI models as needed, without exposing credentials to your code<p>- responds via the API result and releases the execution environment<p>Now you have a production ready scalable endpoint for your AI-enabled app. AI-ready when you’re ready. Launch and iterate.<p>Read more in the announcement blog post: <a href="https:&#x2F;&#x2F;hypermode.com&#x2F;blog&#x2F;introducing-modus-code-first-intelligent-apis" rel="nofollow">https:&#x2F;&#x2F;hypermode.com&#x2F;blog&#x2F;introducing-modus-code-first-inte...</a><p>Come join our Discord, we’d love to hear your feedback: <a href="https:&#x2F;&#x2F;discord.hypermode.com" rel="nofollow">https:&#x2F;&#x2F;discord.hypermode.com</a><p>Follow us on GitHub: <a href="https:&#x2F;&#x2F;github.com&#x2F;hypermodeinc&#x2F;modus">https:&#x2F;&#x2F;github.com&#x2F;hypermodeinc&#x2F;modus</a><p>Modus docs: <a href="https:&#x2F;&#x2F;docs.hypermode.com&#x2F;modus" rel="nofollow">https:&#x2F;&#x2F;docs.hypermode.com&#x2F;modus</a><p>Modus quickstart video: <a href="https:&#x2F;&#x2F;youtu.be&#x2F;3CcJTXTmz88" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;3CcJTXTmz88</a>

2 条评论

lharries7 个月前
Congrats on the launch! Curious what the main benefit of using a web assembly runtime is? And any plans for python support or mainly focusing on Go for now?
评论 #42000288 未加载
iamtherhino7 个月前
Hi Folks -- I&#x27;m one of the people who worked on this project along with the rest of Hypermode team. Happy to answer questions or hear your feedback!